CPUblit.draw

Members

Functions

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

Draws a filled rectangle. TODO: Upgrade algorhithm to use SSE2/MMX for faster filling.

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

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

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

Draws a rectangle.

Meta