Sun Microsystems 800-1256-04 — Sun Microsystems 800-1256-04 SunCGI Reference Manual PDF (EN)

60 SunCG! Reference Manual EBADCOLX [36) Color index is invalid. 0 4.3. Polymarker Attributes The type, size and color of markers (the components of polymarkers) are con- trolled by the following functions. Polymarker Bundle Index Cerror polymarker_bundle_index(index) Cint index; /* polymarker bundle index*/ polymarker_bundle_index sets the current polymarkerbundle index to the value of index. The contents of a polymarker bundle are marker type, marker size and marker color . .J'he marker size specification mode function is not included in the polymarker bundle. If index is not defined, an error is gen- erated, and the polymarker bundle index does not change.

If the ASF's for any of these attributes is set to BUNDLED, the current values of these attributes are set to the values of the corresponding attribute in the bundle. Errors ENOTOPOP [5) CGI not in proper state CGI shall be in state VDOP, VSOP, or VSAC. EBADMRKX [37) Polymarker index is invalid. Marker Type Cerror marker~type(ttyp) Cmartype ttyp; /* style of marker*/ m~rker 1 _tythpe sets the mdarkeral1}'.dpe. Toke enumerated type Cmartype con- Q·. . tams va ues at correspon to v I mar er types. typedef enum DOT, PLUS, ASTERISK, CIRCLE, X Cmartype; Note that all marker types appear as a point when the marker size is very small. The default marker type is DOT.

Errors ENOTOPOP [5) CGI not in proper state CGI shall be in state VDOP, VSOP,orVSAC. EBTBUNDL [30] ASP is BUNDLED. Marker Size Specification Mode Cerror marker_size_specification_mode(mode) Cspecmode mode; /* pixels or percent*/ marker_size_specification_mode allows the marker size to be specified in pixels or as a percentage of VDC space according to the value of mode. The enumerated type Cspecmode contains values that correspond to valid marker size specifications. Version C of 17 March 1986 0