#include <FlexiGfxRendererSDL.h>
Public Member Functions | |
FlexiGfxRendererSDL () | |
bool | initialize () |
bool | isFullscreen () |
FlexiImage * | createImage () |
void | begin () |
void | drawPoints (FlexiPosition *coords, int num, FlexiColor *color) |
void | drawLine (float x1, float y1, float x2, float y2, FlexiColor *color, int width=1) |
void | drawBox (float x1, float y1, float x2, float y2, FlexiColor *color) |
void | drawBoxFilled (float x1, float y1, float x2, float y2, FlexiColor *color) |
void | drawBitmap (float x, float y, float w, float h, unsigned char *bits, FlexiColor *color=0) |
FlexiGfxRendererSDL::FlexiGfxRendererSDL | ( | ) |
FlexiSense FlexiGfxRendererSDL.cpp Author: Alessandro Rasulo (mailto: alex9978@gmail.com) Notes: SDL graphics renderer
bool FlexiGfxRendererSDL::initialize | ( | ) | [virtual] |
Initialization
Implements FlexiGfxRenderer.
bool FlexiGfxRendererSDL::isFullscreen | ( | ) | [virtual] |
Get info
Implements FlexiGfxRenderer.
FlexiImage * FlexiGfxRendererSDL::createImage | ( | ) | [virtual] |
Image factory
Implements FlexiGfxRenderer.
void FlexiGfxRendererSDL::begin | ( | ) | [virtual] |
Begin & End drawing ops
Implements FlexiGfxRenderer.
void FlexiGfxRendererSDL::drawPoints | ( | FlexiPosition * | coords, | |
int | num, | |||
FlexiColor * | color | |||
) | [virtual] |
Drawing ops
Implements FlexiGfxRenderer.
void FlexiGfxRendererSDL::drawLine | ( | float | x1, | |
float | y1, | |||
float | x2, | |||
float | y2, | |||
FlexiColor * | color, | |||
int | width = 1 | |||
) | [virtual] |
Draw line
Implements FlexiGfxRenderer.
void FlexiGfxRendererSDL::drawBox | ( | float | x1, | |
float | y1, | |||
float | x2, | |||
float | y2, | |||
FlexiColor * | color | |||
) | [virtual] |
Draw box
Implements FlexiGfxRenderer.
void FlexiGfxRendererSDL::drawBoxFilled | ( | float | x1, | |
float | y1, | |||
float | x2, | |||
float | y2, | |||
FlexiColor * | color | |||
) | [virtual] |
Draw box-filled
Implements FlexiGfxRenderer.
void FlexiGfxRendererSDL::drawBitmap | ( | float | x, | |
float | y, | |||
float | w, | |||
float | h, | |||
unsigned char * | bits, | |||
FlexiColor * | color = 0 | |||
) | [virtual] |
Draw bit-map
Implements FlexiGfxRenderer.