dlg_fill_imageint dlg_fill_image (int x, int y, int width, int height, int 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 dlg_start_image and dlg_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 dlg_dimension_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:
This function returns RTNORM when successful, or an error code, if not. Tell me about... |
|
|