void draw_rect ( float  x,
float  y,
float  width,
float  height,
u32  color 
)

Draw a rectangle (border only)

Example: Draw a solid white rectangle
 drawLine ( 0, 0, 480, 272, RGB(255,255,255));
Parameters:
x - Horizontal position.
y - Vertical position.
width - The width of the rectangle.
height - The height of the rectangle.
color - Color of the rectangle.

Definition at line 87 of file shape.c.

References CP_Vertex_2D::color, CP_Vertex_2D::x, CP_Vertex_2D::y, and CP_Vertex_2D::z.


Generated on Tue Mar 20 23:01:06 2007 for vLib by  doxygen 1.4.7