| maug
    Quick and dirty C mini-augmentation library. | 
Tools for drawing shape primatives. More...
| Files | |
| file | retrosft.h | 
| Tools for drawing shape primatives. | |
| 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.  More... | |
| 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.  More... | |
| 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.  More... | |
Tools for drawing shape primatives.
This library is also used in conjunction with retro3D, in order to manipulate texture bitmaps.
| 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.
| 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.