(vector_image x1 y1 x2 y2 color)


"Draw a vector in the dialog box."


This function draws a vector of a specified color in a dialog box. The vector is drawn from x1,y1 to x2,y2. The origin (0,0) of the dialog box tile is at the upper-left corner.

The color argument can take one of these special meanings:

 

Color Mnemonic Meaning
-2 BGLCOLOR Current background of the Bricscad graphics screen.
-15 DBGLCOLOR Current dialog box background color.
-16 DFGLCOLOR Current dialog box foreground color of text.
-18 LINELCOLOR Current dialog box line color.

 

Example

Code Returns
(vector_image 1 2 3 4 -1) nil

 

Tell me about...

(dimx_tile key)

(dimy_tile key)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language

 


Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved.