26 SunCGI Reference Manual inquire_physical_coordinate_system is also provided to assist in 0 the computation of parameters for the device_viewport function. xext and yext describe the maximum extent of the window in which the application pro- gram is run. (The window may or may not cover the entire screen.) The number of pixels per millimeter is always set to O because the actual screen size of device varies between individual monitors. The actual size of the screen may be obtained from the number of pixels in the x and y directions from the monitor specifications and perform the division in an application program.
Errors ENOTOPOP [5] CGI not in proper state CGI shall be either in state CGOP, VSOP, or VSAC. EVSIDINV [10] Specified view surface name is invalid. EVSNOTOP [13] Specified view surface not open. Inquire Output Function Set Cerror inquire_output_function_set(level, support) Cint level; /* level of output*/ Csuptype *support; /* amount of support*/ inquire_output_function_set reports the extent to which each level of the output portion of the ANSI CGI standard is supponed.
typedef enurn { NONE, REQUIRED_FUNCTIONS_ONLY, SOME_NON_REQUIRED_FUNCTIONS, ALL_NON_REQUIRED_FUNCTIONS Csuptype; 0 The standard requires that the level argument be an enumerated type; however, for reasons of simplicity only the level number is used by SunCGI. Levels 1-6 are supponed completely (that is, both required and non-required functions are implemented. Level 7 is not supponed at all. Refer to the ANSI standard for the precise definition of each level. Errors ENOTOPOP [5] CGI not in proper state CGI shall be either in state CGOP, VSOP, or VSAC.
Inquire VDC Type Cerror inquire_vdc_type(type) Cvdctype *type; /* type of voe space*/ inquire_ vdc_type reports the type of coordinates used by SunCGI in the returned argument type. typedef enurn INTEGER, REAL, BOTH Cvdctype; type is always set to INTEGER (32-bit). SunCore is a higher-level graphics sys- 0 tern with coordinate space expressed in real numbers. Version C of 17 March 1986