Sun Microsystems SunOS 2.0 Programmers Reference Manual for SunCGI — SunOS 2.0 SunCGI Programmer's Manual: Comprehensive Guide for Developers PDF

2.3.l.2. device_viewport (Cdevvpt) ........................................................... 2-16 2.3.2. Clipping ........................................................................................................................... 2-16 2.3.2.l. clip_indicator (Cclipind) ........................................................... 2-16 0 2.3.2.2. clip_rectangle (Ccliprect) ........................................................ 2-17 2.3.3. Device Control .............................................................................................................. 2-17 2.3.3.l. hard_reset (Chardrst) ........................................................................ 2-17 2.3.3.2.

reset_to_defaul ts (Crsttodefs) ............................................ 2-18 2.3.3.3. clear _view_surface (Cclrvws) .................................................. 2-18 2.3.3.4. clear _control (Cclrcont) ............................................................... 2-19 2.3.3.5. set_error _warning_mask (Cserrwarnmk) ......................... 2-19 2.4. Running SunCGI in the Window System ............................................................... 2-20 2.4.l. Changing the Window Size .................................................................................. 2-20 2.4.2. Passing SJGWINCHes to the Application Program .............................. 2-20 2.4.3.

set_up_sigwinch (Csupsig) ...................................................................... 2-20 Chapter 3 Output ............................................................................................................................... 3-1 3.1. Geometrical Output Primitives .................................................................................... 3-1 3.1.1. Polygonal Primitives ................................................................................................. 3-1 3.1.1.1. polyline (Cpolyline) ........................................................................... 3-2 3.1.l.2. disjoint_polyline (Cdpolyline) ............................................

3-2 3.1.l.3. polymarker (Cpolymarker) ............................................................... 3-3 3.1.l.4. polygon (Cpolygon) ................................................................................. 3-3 3.l.1.5. partial_polygon (Cppolygon) ..................................................... 3-4 3.1.l.6. rectangle (Crectangle) ..................................................................... 3-5 3.1.2. Conical Primitives....................................................................................................... 3-6 3.1.2.1. circle (Ccircle) ...................................................................................... 3-6 3.1.2.2.

circular _arc_center (Ccircarccent) ............................... 3-6 3.1.2.3. circular _arc_center _close (Ccircarccentcl) ...................................................................................... 3-7 3.1.2.4. circular _arc_3pt (Ccircarcthree) ..................................... 3-8 3.1.2.5. circular _arc_3pt_close (Ccircarcthreecl) ............ 3-9 3.1.2.6. ellipse (Cellipse) ................................................................................. 3-9 3.1.2.7. elliptical_arc (Celliparc) ........................................................ 3-9 3.1.2.8. elliptical_arc_close (Celliparccl) ............................... 3-10 3.2.

Raster Primitives .................................................................................................................. 3-10 3.2.1. text (Ctext) .... 3-10 3.2.2. vdm_text (Cvdmtext) ....................................................................................... 3-11 3.2.3. append_text (Captext) ................................................................................... 3-11 3.2.4. inquire_text_extent (Cqtextext) ................................................... 3-12 3.2.5. cell_array (Ccellarr) ................................................................................... 3-12 3.2.6.

pixel_array (Cpixarr) ................................................................................... 3-13 3.2.7. bitblt_source_array (Cbtblsouarr) ............................................. 3-13 3.2.8. bitblt_pattern_array (Cbtblpatarr) .......................................... 3-14 3.2.9. bi tbl t_patterned_source_array (Cbtblpatsouarr) ................................................................................................ 3-14 3.2.10. inquire_cell_array (Cqcellarr) .................................................... 3-15 0 - VIII -