#include <cstdlib>
#include "draw.hpp"
Go to the source code of this file.
Functions |
void | draw_box_rgb (int x0, int y0, int x1, int y1, DrawColor color, DrawImage *img) |
void | draw_gray_img_rgb (const uint8_t *gray_img, int gray_width, int gray_height, int gray_stride, int dest_x0, int dest_y0, DrawImage *rgb_img) |
void | draw_hline_rgb (int x0, int y0, int x1, DrawColor color, DrawImage *img) |
void | draw_line_rgb (int x0, int y0, int x1, int y1, DrawColor color, DrawImage *img) |
static void | draw_point_rgb (int x, int y, DrawColor color, DrawImage *img) |
Function Documentation
void draw_gray_img_rgb |
( |
const uint8_t * |
gray_img, |
|
|
int |
gray_width, |
|
|
int |
gray_height, |
|
|
int |
gray_stride, |
|
|
int |
dest_x0, |
|
|
int |
dest_y0, |
|
|
DrawImage * |
rgb_img |
|
) |
| |