Project

General

Profile

Previous Up Next

_SDRAWrectangle
Draws a rectangle on a surface.

ObjSurface _SDRAWrectangle (
ObjSurface _surface_
I _x_
I _y_
I _width_
I _height_
I _borderType_
I _borderSize_
I _borderColor_
I _interiorType_
I _interiorColor_
)
Parameters

_surface_
Rendering surface
_x_
X coordinate of Upper-Left corner
_y_
Y coordinate of Upper-Left corner
_width_
Size in X
_height_
Size in Y
_borderType_
Type of border
DRAW_SOLID normal
DRAW_INVISIBLE invisible
_borderSize_
Border thickness
_borderColor_
Border color (24 bits)
_interiorType_
Fill type
DRAW_SOLID normal
DRAW_INVISIBLE invisible
_interiorColor_
Fill color (24 bits)
Return value

Rendering surface