48 SunCGI Reference Manual p. If either m or n are not positive, the absolute value of these arguments is 0 used. Multiple view surfaces and bitblt's are incompatible, so a name argument must be specified. Errors ENOTVSAC [4] CGI not in proper state: CGI shall be in state VSAC. EVALOVWS [69] Value outside of view surface. EPXNOTCR [70] Pixrect not created. Inquire Device Bitmap Cpixrect *inquire_device_bitmap(name) Cint name; /* name assigned to cgi view surface*/ inquire_device_bitmap returns the pixrect which corresponds to the view surface. The pixrect describes the entire device, even if the view surface is a smaller pixwin.
If you want to use subareas of this pixrect or manipulate it any other way, refer to the Pixrect Reference Manual. Errors ENOTOPOP [5] CGI not in proper state CGI shall be in in state VDOP, VSOP, or VSAC. Inquire BitBlt Alignments Cerror inquire_bitblt_alignments(base, width, px, py, maxpx, maxpy, name) Cint *base; /* bitmap base alignment*/ Cint *width; /* width alignment*/ Cint *px, *py; /* pattern extent alignment*/ Cint *maxpx, *maxpy; /* maximum pattern size*/ Cint name; /* name assigned to cgi view surface*/ 0 inquire_bi tbl t_alignments reports the alignment criteria which are necessary for some implementations. These factors are not critical for SunCGI.
However, you should keep in mind the appropriate depth for the pixrect when talking to a specific device. Therefore the arguments base, width , px, and py are always set to zero. The arguments maxpx and maxpy are device dependent and determine the maximum size ofa pattern forbitblt_pattern_array and bitblt_patterned_source_array. Multiple view surfaces and bitblt's are incompatible, so a name argument must be specified. Errors ENOTVSAC [4] CGI not in proper state: CGI shall be in state VSAC. EVSIDINV [10] Specified view surface name is invalid. EVSNOTOP [13] Specified view surface not open. EVSNTACT [15] Specified view surface is not active. 3.3.
Drawing J\fodes Drawing modes determine the result of drawing any output primitive on the clear screen (background) or on top of a previously drawn object. Drawing modes only affect the drawing of bitblt primitives. However, a non-standard 0 Version C of 17 March 1986