Functions | |
void | XY_draw_line (XY_fixed x1, XY_fixed y1, XY_fixed x2, XY_fixed y2, XY_color color, XY_fixed thickness) |
Draw a single line between (x1,y1) and (x2,y2) (in canvas virtual world units) and in the specified color/alpha and thickness. | |
XY_bool | XY_draw_lines (XY_lines *lines) |
Draw a collection of lines. | |
void | XY_draw_one_line (XY_line line) |
Draw a single line using an XY_line struct. | |
void | XY_draw_point (XY_fixed x, XY_fixed y, XY_color color, XY_fixed thickness) |
Draw a point at (x,y) (in canvas virtual world units) in the specified color/alpha and thickness. |
void XY_draw_line | ( | XY_fixed | x1, | |
XY_fixed | y1, | |||
XY_fixed | x2, | |||
XY_fixed | y2, | |||
XY_color | color, | |||
XY_fixed | thickness | |||
) |
Draw a single line between (x1,y1) and (x2,y2) (in canvas virtual world units) and in the specified color/alpha and thickness.
x1 | is the X coordinate of the line's starting point. | |
y1 | is the Y coordinate of the line's starting point. | |
x2 | is the X coordinate of the line's ending point. | |
y2 | is the Y coordinate of the line's ending point. | |
color | is an XY_color representing the color and transparency of the line. | |
thickness | is an XY_fixed representing the thickness of the line. |
void XY_draw_one_line | ( | XY_line | line | ) |
Draw a point at (x,y) (in canvas virtual world units) in the specified color/alpha and thickness.