Solar_OS API Reference

You are here: Main -> Draw API ->


PROC API_Draw_Rect  STDCALL
	ARG 	rect_x:DWORD,rect_y:DWORD,rect_dx:DWORD,rect_dy:DWORD
	ARG	rect_color:DWORD


This function will draw a rectangle made o simple lines. Coordinates are relative to screen.

Arguments:

Argument Type Description
rect_x dword rectangle x position
rect_y dword rectangle y position
rect_dx dword rectangle dx (width)
rect_dy dword rectangle dy (height)
rect_color dword color of rectangle lines. Format is: xx_RR_GG_BB

Returns:

Posible Errors:

Remarks:

See Also