Game Graphics

Drawing Shapes

Downloaddraw_arc(x1,y1,x2,y2,x3,y3,x4,y4)   Draws an arc of an ellipse mimicing draw_arc() from GM5. Downloaddraw_chord(x1,y1,x2,y2,x3,y3,x4,y4,outline)   Draws a chord of an elliptical disk mimicing draw_chord() from GM5. Downloaddraw_crosshair(x,y)   Draws a horizontal and vertical pair of lines intersecting at the given point. Downloaddraw_crosshair_ext(x,y,col1,col2,col3,col4)   Draws a horizontal and vertical pair of lines of the given colors intersecting at the given point. Downloaddraw_crosshair_width(x,y,width)   Draws a horizontal and vertical pair of lines of the given width intersecting at the given point. Downloaddraw_crosshair_width_ext(x,y,width,col1,col2,col3,col4)   Draws a horizontal and vertical pair of lines of the given width and the given colors intersecting at the given point. Downloaddraw_curve(x1,y1,x2,y2,direction,detail)   Draws a curve between two points with the given starting angle. Downloaddraw_pie(x1,y1,x2,y2,x3,y3,x4,y4,outline)   Draws a section of an elliptical disk mimicing draw_pie() from GM5. Downloaddraw_rectangle_dashed(x1,y1,x2,y2,size)   Draws a rectangle made of dashes of the given size. Downloaddraw_rectangle_dashed_color(x1,y1,x2,y2,col1,col2,col3,col4,size)   Draws a four color rectangle made of dashes of the given size. Downloaddraw_rectangle_inverted(x1,y1,x2,y2)   Inverts the given rectangular area of the screen. Downloaddraw_roundrect_ext(x1,y1,x2,y2,outline,radius,precision)   Draws a rounded rectangle with corners of the given radius and precision.

Comments? Click to Comment