GATE
C/C++ Framework
|
Generic raster image drawing functions. More...
Functions | |
GATE_GRAPHICS_API gate_result_t | gate_draw_line (gate_rasterimage_t *image, int x1, int y1, int x2, int y2, gate_color_t color) |
Draw a 1-pixel width line in the given color on a raster image. | |
GATE_GRAPHICS_API gate_result_t | gate_draw_rectangle (gate_rasterimage_t *image, int x1, int y1, int x2, int y2, gate_color_t color) |
Draw a 1-pixel with line rectangle in the given color on a raster image. | |
GATE_GRAPHICS_API gate_result_t | gate_draw_box (gate_rasterimage_t *image, int x1, int y1, int x2, int y2, gate_color_t color) |
Fill a rectangle with given color on a raster image. |
Generic raster image drawing functions.