Xbasic

INNER_POLY Function

Syntax

V INNER_POLY(N XPos,N YPos)

Arguments

XPos

The horizontal coordinate of the last point of the polygon.

YPos

The vertical coordinate of the last point of the polygon.

Description

The INNER_POLY() function completes and draws a polygon. There is no border. The fill color is the current brush color. Compare to the POLY()and FILL_POLY()functions.

images/GR_inner_poly.gif

put description here

ui_bitmap_create("test", 4, 2)
ui_bitmap_draw("test",<<%code%
inner_Rect(0, 0, 4, 2)
set_brush("green")
set_pen("black")
start_poly(2, .5)
lineto(3, 1)
lineto(1, 1.5)
inner_poly(2, .5)
%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