33 #ifndef __MLV__MLV_FIGURES_H__
34 #define __MLV__MLV_FIGURES_H__
36 #include "MLV_color.h"
37 #include "MLV_image.h"
51 void MLV_draw_circle(
int x,
int y,
int radius, MLV_Color color);
62 void MLV_draw_filled_circle(
int x,
int y,
int radius, MLV_Color color);
73 void MLV_draw_ellipse(
74 int x,
int y,
int radius_x,
int radius_y, MLV_Color color
86 void MLV_draw_filled_ellipse(
87 int x,
int y,
int radius_x,
int radius_y, MLV_Color color
98 void MLV_draw_polygon(
99 const int* vx,
const int* vy,
int nb_points, MLV_Color color
110 void MLV_draw_filled_polygon(
111 const int* vx,
const int* vy,
int nb_points, MLV_Color color
123 void MLV_draw_bezier_curve(
124 const int* vx,
const int* vy,
int nb_points, MLV_Color color
135 void MLV_draw_filled_polygon(
136 const int* vx,
const int* vy,
int nb_points, MLV_Color color
149 void MLV_draw_rectangle(
int x,
int y,
int width,
int height, MLV_Color color);
161 void MLV_draw_rectangle(
int x,
int y,
int width,
int height, MLV_Color color);
173 void MLV_draw_filled_rectangle(
174 int x,
int y,
int width,
int height, MLV_Color color
186 void MLV_draw_line(
int x1,
int y1,
int x2,
int y2, MLV_Color color);
195 void MLV_draw_pixel(
int x,
int y, MLV_Color color);
205 void MLV_draw_point(
int x,
int y, MLV_Color color);
226 void MLV_draw_circle_on_image(
227 int x,
int y,
int radius, MLV_Color color, MLV_Image* image
240 void MLV_draw_filled_circle_on_image(
241 int x,
int y,
int radius, MLV_Color color, MLV_Image* image
254 void MLV_draw_ellipse_on_image(
255 int x,
int y,
int radius_x,
int radius_y, MLV_Color color, MLV_Image* image
268 void MLV_draw_filled_ellipse_on_image(
269 int x,
int y,
int radius_x,
int radius_y, MLV_Color color, MLV_Image* image
281 void MLV_draw_polygon_on_image(
282 const int* vx,
const int* vy,
int nb_points, MLV_Color color, MLV_Image* image
295 void MLV_draw_filled_polygon_on_image(
296 const int* vx,
const int* vy,
int nb_points, MLV_Color color, MLV_Image* image
310 void MLV_draw_bezier_curve_on_image(
311 const int* vx,
const int* vy,
int nb_points, MLV_Color color, MLV_Image* image
324 void MLV_draw_filled_polygon_on_image(
325 const int* vx,
const int* vy,
int nb_points, MLV_Color color, MLV_Image* image
339 void MLV_draw_rectangle_on_image(
340 int x,
int y,
int width,
int height, MLV_Color color, MLV_Image* image
354 void MLV_draw_rectangle_on_image(
355 int x,
int y,
int width,
int height, MLV_Color color, MLV_Image* image
369 void MLV_draw_filled_rectangle_on_image(
370 int x,
int y,
int width,
int height, MLV_Color color, MLV_Image* image
383 void MLV_draw_line_on_image(
384 int x1,
int y1,
int x2,
int y2, MLV_Color color, MLV_Image* image
396 void MLV_draw_pixel_on_image(
int x,
int y, MLV_Color color, MLV_Image* image);
407 void MLV_draw_point_on_image(
int x,
int y, MLV_Color color, MLV_Image* image);