Skip to content
Tatsuya Yokoda edited this page Feb 8, 2015 · 1 revision

display/BitmapData

void setup()
void update()

bool transparent()

float width()
void width(float value)
float height()
void height(float value)

//void applyFilter(BitmapData* sourceBitmapData, Rectangle* sourceRect, ofPoint* destPoint, BitmapFilter filter)

BitmapData clone()

//Object compare(BitmapData* otherBItmapData)

//copyChannel()

//copyPixels()

void dispose()

//void draw(IBitmapDrawable source, Matrix matrix = NULL, ColorTransform colorTransform = NULL, string blendMode = NULL, Rectangle* clipRect = NULL, bool smoothing = false)

void draw(ofImage& source)

void fillRect(Rectangle rect, int color)

void floodFill(int x, int y, int color)

//Rectangle* generateFilterRect(Rectangle* sourceRect, BitmapFilter filter)

int getPixel(int x, int y)
int getPixel32(int x, int y)

//ByteArray getPixels(Rectangle* rect)

//void setPixel(int x, int y, int color)

//hitTest()
Clone this wiki locally