Chapter 4 - Attributes 65 0 EBTBUNDL [30] ASF is BUNDLED. ESTYLLEZ [42] Style (pattern or hatch) index is less than zero. ENOPATNX [43] Pattern table index not defined. Pattern Index Cerror pattern_index(index) Cint index; /* PATTERN index in the pattern table*/ pattern_index determines which index in the pattern table is used to fill solid objects when thefill style is set to PATIERN. The default pattern index is 1. An error is generated if index points to an undefined entry in the pattern table. Errors ENOTOPOP [5] CGI not in proper state CGI shall be in state VDOP, VSOP, or VSAC. EBTBUNDL [30] ASF is BUNDLED. ESTYLLEZ [42] Style (pattern or hatch) index is less than zero.
ENOPATNX [43] Pattern table index not defined. Pattern Table Cerror pattern_table(index, m, n, colorind) Cint index; /* entry in table*/ Cint m, n; /* number of rows and columns */ Cint *colorind; /* array containing pattern*/ 0 pattern_ table defines an entry in the pattern table. index defines the entry in the table (which must be less than 50). An error is generated if index is out- side the bounds of the pattern table. m and n define the height and width of the pattern (in pixels). The array pointed to by the argument colorind contains the actual pattern row-wise from the upper left. For monochrome view surfaces, all nonzero entries in color ind are treated as 1 when used.
The maximum number of elements in a pattern (m x n) is MAXPATSIZE. Pattern O is initially defined to be a 3 x 3 matrix which is set to zero at the corners and one elsewhere. Pattern O produces simple cross-hatching. Pattern 1 (which produces a polka-dot pattern) is initially defined to be a 3 x 3 matrix which is set to 1 at the center and O elsewhere. Errors ENOTOPOP [5] CGI not in proper state CGI shall be in state VDOP, VSOP, or VSAC. EPATARTL [40] Pattern array too large. EPATSZTS [41] Pattern size too small. ESTYLLEZ [42] Style (pattern or hatch) index is less than zero. EPATITOL [44] Pattern .table index too large.
Pattern Reference Point 0 Cerror pattern_reference__:point(begin) Ccoor *begin; pattern_reference_point defines the point in VDC space where the Version C of 17 March 1986