Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tusooa Zhu
Krita
Commits
a9721710
Commit
a9721710
authored
Aug 17, 2015
by
Dmitry Kazakov
Browse files
Add more docs to makeCloneFrom{,Rough} methods
parent
c4a515a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
krita/image/kis_paint_device.h
View file @
a9721710
...
...
@@ -288,6 +288,12 @@ public:
* x,y shifts, colorspace and will share pixels inside \a rect.
* After calling this function:
* (this->extent() >= this->exactBounds() == rect).
*
* Rule of thumb:
*
* "Use makeCloneFrom() or makeCloneFromRough() if and only if you
* are the only owner of the destination paint device and you are
* 100% sure no other thread has access to it"
*/
void
makeCloneFrom
(
KisPaintDeviceSP
src
,
const
QRect
&
rect
);
...
...
@@ -298,6 +304,12 @@ public:
* of pixels. Actual copy area will be a bigger - it will
* be aligned by tiles borders. So after calling this function:
* (this->extent() == this->exactBounds() >= rect).
*
* Rule of thumb:
*
* "Use makeCloneFrom() or makeCloneFromRough() if and only if you
* are the only owner of the destination paint device and you are
* 100% sure no other thread has access to it"
*/
void
makeCloneFromRough
(
KisPaintDeviceSP
src
,
const
QRect
&
minimalRect
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment