maug
Quick and dirty C mini-augmentation library.
|
Tools for drawing shape primatives. More...
Go to the source code of this file.
Macros | |
#define | RETROFLAT_LINE_X 0 |
#define | RETROFLAT_LINE_Y 1 |
#define | RETROSOFT_TRACE_LVL 0 |
Functions | |
void | retrosoft_line (retroflat_blit_t *target, RETROFLAT_COLOR color, int x1, int y1, int x2, int y2, uint8_t flags) |
Draw a line from x1, y1 to x2, y2. | |
void | retrosoft_rect (retroflat_blit_t *target, const RETROFLAT_COLOR color_idx, int x, int y, int w, int h, uint8_t flags) |
Draw a rectangle at the given coordinates, with the given dimensions. | |
void | retrosoft_ellipse (retroflat_blit_t *target, RETROFLAT_COLOR color, int x, int y, int w, int h, uint8_t flags) |
Draw an ellipsoid at the given coordinates, with the given dimensions. | |
Tools for drawing shape primatives.