dlg_vector_image
dlg_vector_image
int dlg_vector_image (int x1, int y1, int x2, int y2, int 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 is one of the standard 255 colors in progeCAD or can take one of these special meanings:
| Color | Mnemonic | Meaning |
|---|---|---|
| -2 | BGLCOLOR | Current background of the progeCAD 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. |
This function returns RTNORM if successful; otherwise, it returns an error code.
en
italiano
čeština
Deutsch
français
hrvatski
magyar
polski
српски
русский
中文
中文
한국어
español