SoftwareRenderer

Mixin implementing Renderer methods using Canvas. Mixin context: "bitmap" must return a Canvas-like object.

Members

Functions

clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(int x, int y, TextureSource source, int u0, int v0, int u1, int v1)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(float x0, float y0, float x1, float y1, TextureSource source, int u0, int v0, int u1, int v1)
Undocumented in source. Be warned that the author may not have intended to support it.
fillRect
void fillRect(int x0, int y0, int x1, int y1, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
fillRect
void fillRect(float x0, float y0, float x1, float y1, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
hline
void hline(int x0, int x1, int y, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
line
void line(float x0, float y0, float x1, float y1, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
putPixel
void putPixel(int x, int y, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.
putPixels
void putPixels(Pixel[] pixels)
Undocumented in source. Be warned that the author may not have intended to support it.
vline
void vline(int x, int y0, int y1, COLOR color)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta