Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Ole Wund <bjornmose@gmx.net>2005-09-10 02:31:23 +0400
committerJens Ole Wund <bjornmose@gmx.net>2005-09-10 02:31:23 +0400
commit42ee04702c61f84b2180c89956aeb017fc315c4e (patch)
treefcd655900db28d62151f5f9042d200ba432c8738 /source/blender/img/intern/IMG_CanvasRGBA32.h
parent9d2f0fe302f977bf4671d7113aaeb8b5f4b02028 (diff)
having a "mini gimp" in image editor
{ hope it does not break builds .. mscv6 .. scons works fine here }
Diffstat (limited to 'source/blender/img/intern/IMG_CanvasRGBA32.h')
-rw-r--r--source/blender/img/intern/IMG_CanvasRGBA32.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/blender/img/intern/IMG_CanvasRGBA32.h b/source/blender/img/intern/IMG_CanvasRGBA32.h
index fb201202fc1..e7eaaa86280 100644
--- a/source/blender/img/intern/IMG_CanvasRGBA32.h
+++ b/source/blender/img/intern/IMG_CanvasRGBA32.h
@@ -46,6 +46,12 @@
class IMG_CanvasRGBA32 : public IMG_PixmapRGBA32 {
public:
+ int add_if_in(int x, int y,float &R,float &G,float &B, int &count, short flags);
+ void Smear(float uStart, float vStart, float uEnd, float vEnd ,TUns32 size, float alpha, float aspect,char mode);
+ IMG_BrushRGBA32* LiftBrush(float u, float v, TUns32 size, float alpha, float aspect, short flags );
+ IMG_BrushRGBA32* LiftBrush(TUns32 x, TUns32 y, TUns32 size, float alpha, float aspect, short flags);
+ void SoftenAt(float u,float v,TUns32 size,float alpha,float aspect,char mode);
+ void CloneAt(IMG_CanvasRGBA32* other,float u,float v,float cu,float cv,TUns32 size,float alpha,float aspect);
/**
* Constructor.
* @throw <IMG_MemPtr::Size> when an invalid width and/or height is passed.
@@ -76,7 +82,7 @@ public:
* @param y y-coordinate of the center location of the image.
* @param pixmap the pixmap to blend
*/
- virtual void blendPixmap(TUns32 xStart, TUns32 yStart, TUns32 xEnd, TUns32 yEnd, const IMG_PixmapRGBA32& pixmap);
+ virtual void blendPixmap(TUns32 xStart, TUns32 yStart, TUns32 xEnd, TUns32 yEnd, const IMG_PixmapRGBA32& pixmap,char mode = 'c');
/**
* Blends a pixmap into this pixmap over a line in (u,v) coordinates.
@@ -88,7 +94,7 @@ public:
* @param v v-coordinate of the center location of the image.
* @param pixmap the pixmap to blend
*/
- virtual void blendPixmap(float uStart, float vStart, float uEnd, float vEnd, const IMG_PixmapRGBA32& pixmap);
+ virtual void blendPixmap(float uStart, float vStart, float uEnd, float vEnd, const IMG_PixmapRGBA32& pixmap,char mode = 'c');
};