WinBinder Manual/wb draw rect
From wiki.swiftlytilting.com
Draws a filled or hollow rectangle.
bool wb_draw_rect (int target, int xpos, int ypos, int width, int height, int color [, bool filled [, int linewidth]])
- target may be a WinBinder object, a window handle, a drawing surface or a bitmap.
- xpos and ypos are the coordinates of the upper-left corner, in pixels.
- width and height are the dimensions of the rectangle.
- color is a RGB color value. Set filled to FALSE to draw a border.
- linewidth sets the width of the border, in pixels. A linewidth of zero sets the width to 1 pixel.
[edit]
Returns
Returns TRUE on success or FALSE if an error occurs.
[edit]

