CPUblit.draw

Undocumented in source.

Members

Functions

drawFilledRectangle
void drawFilledRectangle(int x0, int y0, int x1, int y1, T color, T* dest, size_t destWidth)

Draws a filled rectangle.

drawLine
void drawLine(int x0, int y0, int x1, int y1, T color, T* dest, size_t destWidth)

Draws a line using a fixed point method. Is capable of drawing lines diagonally.

drawLinePattern
void drawLinePattern(int x0, int y0, int x1, int y1, T[] pattern, T* dest, size_t destWidth)

Draws a line with the given pattern.

drawRectangle
void drawRectangle(int x0, int y0, int x1, int y1, T color, T* dest, size_t destWidth)

Draws a rectangle.

floodFill
void floodFill(int x0, int y0, T color, T* dest, size_t destWidth, size_t destLength, T transparencyIndex)

Flood fills a bitmap at the given point.

Meta