Draws a filled rectangle in the currently active dialog box image tile
(fill_image x1 y1 width height color)
The first (upper-left) corner of the rectangle is located at (x1,y1) and the second (lower-right) corner is located the relative distance (width,height) from the first corner. The origin (0,0) is the upper-left corner of the image. You can obtain the coordinates of the lower-right corner by calling the dimension functions dimx_tile and dimy_tile.
The fill_image function must be used between start_image and end_image function calls.
- x1
- y1
- width
- height
- color
-
An AutoCAD color number, or one of the logical color numbers shown in the following table:
An integer representing the fill color.
(setq color -2) ;; color of AutoCAD drawing area
(fill_image
0
0
(dimx_tile "slide_tile")
(dimy_tile "slide_tile")
color
)
(end_image)