Sun Microsystems 800-1256-04 — Sun Microsystems 800-1256-04 SunCGI Reference Manual PDF

Chapter 4 - Attributes 61 typedef enum { ABSOLUTE, SCALED Cspecmode; The default marker size specification mode is SCALED. Errors ENOTOPOP [5] CGI not in proper state CGI shall be in state VDOP, VSOP, or VSAC. Marker Size Cerror marker_size(index) Cfloat index; /* marker size*/ marker size sets the size of the marker height and marker width. index is expressedin percent of VDC space. The default marker size is 4.0 percent of VDC space. If the marker size becomes very small, markers of all types are displayed as points. An error is detected if index is negative. Errors ENOTOPOP [5] CGI not in proper state CGI shall be in state VDOP, VSOP, or VSAC. EBADSIZE [38] Size must be nonnegative.

Marker Color 0 Cerror marker_color(index) Cint index; /* marker color*/ marker_color determines the color of the markers. index selects an entry in the color lookup table. An error is detected if index is not between O and 255. The default marker color is 1. Errors ENOTOPOP [5] CGI not in proper state CGI shall be in state VDOP, VSOP, or VSAC. EBTBUNDL [30] ASF is BUNDLED. EC INDXLZ [35] Color index is less than zero. EBADCOLX [36] Color index is invalid. 4.4. Solid Object Attributes The solid object attribute functions describe how all solid object primitives are filled ( colored-in). There are three sets of solid object attribute functions:

fill area attributes The fill area attribute functions determine the general method for filling solid geometrical objects. hatch and pattern attributes determines a pixel array for filling a polygon if the fill style is set to PAT- TERN. 0 perimeter attributes determine how the boundary of a geometrical object is displayed if the per- imeter visibility is ON. Version C of 17 March 1986