vector_image
(vector_image x1 y1 x2 y2 color)
The vector_image function draws a vector into an Image tile in a DCL dialog box.
Arguments
x1 and y1 specify the X and Y coordinates of the start point (in pixels)
x2 and y2 specify the X and Y coordinates of the end point (in pixels)
color specifies an integer for a color number from 0 to 256, as well as some negative values for special colors as follows:
-2 |
Background color of the drawing area |
-15 |
Background color of the dialog box |
-16 |
Text color of the dialog box |
-18 |
Border color of the dialog box |
Return Value
The function returns the value of the color number.
Note: Use the dimx_tile and dimy_tile functions to retrieve the height and width of the rectangle being filled.
(vector_image 0 0 50 50 2)
start_image, end_image, slide_image, fill_image, dimx_tile, dimy_tile