- clear
void clear()
Clear the entire surface.
- draw
void draw(int x, int y, TextureSource source, int u0, int v0, int u1, int v1)
- draw
void draw(float x0, float y0, float x1, float y1, TextureSource source, int u0, int v0, int u1, int v1)
Draw a texture with scaling.
- fastLock
Bitmap fastLock()
Lock a 32-bit, BGRX/BGRA surface
- fillRect
void fillRect(int x0, int y0, int x1, int y1, COLOR color)
- fillRect
void fillRect(float x0, float y0, float x1, float y1, COLOR color)
Undocumented in source.
- hline
void hline(int x0, int x1, int y, COLOR color)
- line
void line(float x0, float y0, float x1, float y1, COLOR color)
- lock
Bitmap lock()
Lock a 32-bit, BGRX/BGRA surface
- present
void present()
Finalize rendering and present it to the user (flip buffers etc.)
- putPixel
void putPixel(int x, int y, COLOR color)
- putPixels
void putPixels(Pixel[] pixels)
Undocumented in source. Be warned that the author may not have intended to support it.
- shutdown
void shutdown()
Destroy any bound resources
- unlock
void unlock()
Unlock what was previously locked
- vline
void vline(int x, int y0, int y1, COLOR color)
Abstract class for a video renderer.