(fill_image)

(fill_image x y width height color)


Fill a dialog box's rectangle with color.


This function draws a rectangle (or square), and then fills it with a color. This function must be used between the start_image and end_image functions.

The x and y arguments specify the upper-left corner of the rectangle. The width and height arguments indicate the relative distance to the lower-right corner; these two arguments must be positive.

If you obtained the lower-right coordinates from the dimx_tile and dimy_tile functions, then the origin (0,0) is the upper-left corner.

The color argument is an progeCAD color number or a logical color number:

Color number Description
-2 Current background of the progeCAD graphics screen.
-15 Current dialog box background color.
-16 Current dialog box foreground color.
-18 Current dialog box line color.

Example

Code Returns

(fill_image 0 0 20 27 -2)

nil

Tell me about...

(slide_image x y width height slide)

(vector_image x1 y1 x2 y2 color)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language