47 void pixel(
int x,
int y,
int thickness = 1,
int r = 255,
int g = 255,
int b = 255,
int a = 255);
57 void line(
int x1,
int y1,
int x2,
int y2,
int thickness = 1,
int r = 255,
int g = 255,
int b = 255,
int a = 255);
66 void rect(
int x1,
int y1,
int x2,
int y2,
int thickness = 1,
bool fill =
false,
int r = 255,
int g = 255,
int b = 255,
int a = 255);
88 void poly(
int cx,
int cy,
int thickness = 1,
int radiusx = 10,
int radiusy = 10,
int vertexCount = 10,
bool fill =
false,
int start_percent = 0,
int end_percent = 100,
const char* texture_name = 0,
int r = 255,
int g = 255,
int b = 255,
int a = 255);
97 void circle(
int cx,
int cy,
int radiusx = 10,
int radiusy = 10,
int r = 255,
int g = 255,
int b = 255,
int a = 255);
106 void cross(
int cx,
int cy,
int length = 5,
int thickness = 1,
int r = 255,
int g = 255,
int b = 255,
int a = 255);
115 void plus(
int cx,
int cy,
int length = 5,
int thickness = 1,
int r = 255,
int g = 255,
int b = 255,
int a = 255);
void line(int x1, int y1, int x2, int y2, int thickness=1, int r=255, int g=255, int b=255, int a=255)
Draws a 2d line.
void rect(int x1, int y1, int x2, int y2, int thickness=1, bool fill=false, int r=255, int g=255, int b=255, int a=255)
Draws a 2d rectangle.
void plus(int cx, int cy, int length=5, int thickness=1, int r=255, int g=255, int b=255, int a=255)
Draws a plus. this's macro of line()
int getorder()
get primitives draw order
void setorder(int order=10)
set primitives draw order
void pixel(int x, int y, int thickness=1, int r=255, int g=255, int b=255, int a=255)
Draws a pixel.
void poly(int cx, int cy, int thickness=1, int radiusx=10, int radiusy=10, int vertexCount=10, bool fill=false, int start_percent=0, int end_percent=100, const char *texture_name=0, int r=255, int g=255, int b=255, int a=255)
Draws a non filled concyclic regular 2d polygon.
void cross(int cx, int cy, int length=5, int thickness=1, int r=255, int g=255, int b=255, int a=255)
Draws a cross. this's macro of line()
void circle(int cx, int cy, int radiusx=10, int radiusy=10, int r=255, int g=255, int b=255, int a=255)
Draws a non filled 2d circle. this's macro of poly()