Functions
Draw_Line
void Draw_Line(
UX x1,
UY y1,
UX x2,
UY y2,
u8 color,
u8 op
)

Draws a line (one pixel wide)

Parameters
x1
UX

Source position X

y1
UY

Source position Y

x2
UX

Destination position X

y2
UY

Destination position Y

color
u8

Draw color (format depends on screen mode)

op
u8

Draw operator (VDP_OP_AND, VDP_OP_OR, ...)

Draw_LineH
void Draw_LineH(
UX x1,
UX x2,
UY y,
u8 color,
u8 op
)

Draws an horizontal line (one pixel wide)

Parameters
x1
UX

Source position X

x2
UX

Destination position X

y
UY

Position Y

color
u8

Draw color (format depends on screen mode)

op
u8

Draw operator (VDP_OP_AND, VDP_OP_OR, ...)

Draw_LineV
void Draw_LineV(
UX x,
UY y1,
UY y2,
u8 color,
u8 op
)

Draws a vertical line (one pixel wide)

Parameters
x
UX

Position X

y1
UY

Source position Y

y2
UY

Destination position Y

color
u8

Draw color (format depends on screen mode)

op
u8

Draw operator (VDP_OP_AND, VDP_OP_OR, ...)

Draw_Box
void Draw_Box(
UX x1,
UY y1,
UX x2,
UY y2,
u8 color,
u8 op
)

Draws a box (one pixel wide)

Parameters
x1
UX

Source position X

y1
UY

Source position Y

x2
UX

Destination position X

y2
UY

Destination position Y

color
u8

Draw color (format depends on screen mode)

op
u8

Draw operator (VDP_OP_AND, VDP_OP_OR, ...)

Draw_FillBox
void Draw_FillBox(
UX x1,
UY y1,
UX x2,
UY y2,
u8 color,
u8 op
)

Draws a fully filled box

Parameters
x1
UX

Source position X

y1
UY

Source position Y

x2
UX

Destination position X

y2
UY

Destination position Y

color
u8

Draw color (format depends on screen mode)

op
u8

Draw operator (VDP_OP_AND, VDP_OP_OR, ...)

Draw_Circle
void Draw_Circle(
UX x,
UY y,
u8 radius,
u8 color,
u8 op
)

Draws a circle (one pixel wide)

Parameters
x
UX

Destination position

y
UY

Destination position

radius
u8

Circle radius

color
u8

Draw color (format depends on screen mode)

op
u8

Draw operator (VDP_OP_AND, VDP_OP_OR, ...)

Draw_Point
inline void Draw_Point(
UX x,
UY y,
u8 color,
u8 op
)

Draws a point

Parameters
x
UX

Destination position

y
UY

Destination position

color
u8

Draw color (format depends on screen mode)

op
u8

Draw operator (VDP_OP_AND, VDP_OP_OR, ...)