Xbasic
INNER_OVAL Function
Syntax
V INNER_OVAL(N XPos,N YPos,N Width,N Height)
Arguments
- XPos
The horizontal coordinate of the upper left corner of the shape. Larger values move right.
- YPos
The vertical coordinate of the upper left corner of the shape. Larger values move down.
- Width
The width of the oval.
- Height
The height of the oval.
Description
The INNER_OVAL() function draws an oval on the bitmap. The fill is the current brush color. There is no border. Compare to the FILL_OVAL()and OVAL()functions.
Example
ui_bitmap_create("test", 4, 2)
ui_bitmap_draw("test", <<%code%
inner_Rect(0, 0, 4, 2)
set_pen("black")
set_brush("green")
inner_oval(1, .5, 2, 1)
%code%)
ui_dlg_box("","{image=test}")Limitations
Used only in the Code sections of UI_BITMAP_DRAW(), UI_SCREEN_DRAW(), and UI_PRINTER_DRAW().
See Also
