Skip to content

render

create_image( string data )

draw_image( int x, int y, int x2, int y2, img )

get_text_width( font, string text )

create_font( string font_name, float size, float weight, (optional) bool antialias, (optional) bool dropshadow, (optional) bool outline )

Return the font

draw_text( font, float x, float y, Color color, string text )

draw_text_centered( font font, float x, float y, Color color, bool centered_x, bool centered_y, string text )

world_to_screen( Vector world )

draw_line( float x, float y, float x2, float y2, color )

draw_rect( float x, float y, float x2, float y2, color )

draw_rect_filled( float x, float y, float x2, float y2, color )

draw_circle( float x, float y, float points, float radius, color )

draw_circle_filled( float x, float y, float points, float radius, color )

draw_triangle( float x, float y, float x2, float y2, float x3, float y3, color )

draw_triangle_filled( float x, float y, float x2, float y2, float x3, float y3, color )