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:
authorPeter Larabell <xgl.asyliax@gmail.com>2012-06-13 23:57:23 +0400
committerPeter Larabell <xgl.asyliax@gmail.com>2012-06-13 23:57:23 +0400
commitceffc2cd50ea1e35757c8834b83b1d55f93d88c6 (patch)
treec4cbbc1d4ad1369d5412c60e8575ee2308cfe296 /source/blender/compositor/operations/COM_MaskOperation.h
parent96099688c667dd601d6dc7c795dd508f5d28646c (diff)
add Anti-Aliasing (very rough draft algorithm, NOT FINAL version) to raskter lib. Code is still quite messy but will be replaced when final algo comes in anyway.
Diffstat (limited to 'source/blender/compositor/operations/COM_MaskOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_MaskOperation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/compositor/operations/COM_MaskOperation.h b/source/blender/compositor/operations/COM_MaskOperation.h
index 9f2c7f53f56..8534cb20416 100644
--- a/source/blender/compositor/operations/COM_MaskOperation.h
+++ b/source/blender/compositor/operations/COM_MaskOperation.h
@@ -40,6 +40,7 @@ protected:
int maskWidth;
int maskHeight;
int framenumber;
+ bool smooth;
float *rasterizedMask;
/**
@@ -59,6 +60,7 @@ public:
void setMaskWidth(int width) {this->maskWidth = width;}
void setMaskHeight(int height) {this->maskHeight = height;}
void setFramenumber(int framenumber) {this->framenumber = framenumber;}
+ void setSmooth(bool smooth) {this->smooth = smooth;}
void executePixel(float *color, int x, int y, MemoryBuffer *inputBuffers[], void *data);
};