GDDM V3R2 Base Application Programming Reference
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


CGM order processing (CGLOAD call)

GDDM V3R2 Base Application Programming Reference
SC33-0868-02



This section defines how CGM orders are dealt with during the CGM to GDF conversion process. Orders described as "Ignored" are skipped in the input datastream and the next order is dealt with. Orders described as "Equivalent" are converted to equivalent GDF orders and/or affect the generation of subsequent GDF orders.


 Table 36. CGM order processing
 CGM code and order name  Comments
 CGM Class 0 orders: Delimiter elements
 0 No-op  Ignored.
 1 Begin metafile
                                           
                                           
 Text returned as first
 part of CGLOAD descriptor1
 parameter
 2 End metafile
                                           
 Terminates picture
 definition
 3 Begin Picture
                                           
 Text returned as CGLOAD
 descriptor2 parameter
 4 Begin Picture Body
                                           
                                           
 Causes GDDM picture to be
 started and first segment
 opened
 5 End Picture  
  6 Begin Segment
  7 End Segment
  8 Begin Figure
  9 End Figure
 13 Begin Protection Region
 14 End Protection Region
 15 Begin Compound Line
 16 End Compound Line
 17 Begin Compound Text Path
 18 End Compound Text Path
 19 Begin Tile Array
 20 End Tile Array
 CGM Version 2 and 3
 elements. Ignored.
                            
                            
                            
                            
                            
                            
                            
                            
                            
                            
 CGM Class 1 orders: Metafile Descriptor elements
 1 Metafile Version
                                           
                                           
                                           
                                           
 Value checked (only
 Version 1, 2, or 3 CGM
 permitted, but all Version
 2 and 3 elements are
 ignored).
 2 Metafile Description
                                           
                                           
 Text returned as second
 part of CGLOAD descriptor1
 parameter.
 3 VDC Type  Equivalent.
 4 Integer Precision  Equivalent.
 5 Real Precision  Equivalent.
 6 Index Precision  Equivalent.
 7 Color Precision  Equivalent.
 8 Color Index Precision  Equivalent.
 9 Maximum Color Index  Equivalent.
 10 Color Value Extent  Equivalent.
 11 Metafile Element List  Ignored.
 12 Metafile Defaults Replacement
 (metafile elements)
 Equivalent.
                            
 13 Font List
                                           
                                           
 Equivalent. Up to 32 font
 names of up to 32
 characters each.
 14 Character Set List  Ignored.
 15 Character Coding Announcer  Ignored.
 16 Name Precision
 17 Maximum VDC Extent
 18 Segment Priority Extent
 19 Color Model
 20 Color Calibration
 21 Font Properties
 22 Glyph Mapping
 23 Symbol Library List
 CGM Version 2 and 3
 elements. Ignored.
                            
                            
                            
                            
                            
                            
 CGM Class 2 orders: Picture Descriptor elements
 1 Scaling Mode  Equivalent.
 2 Color Selection Mode
                                           
                                           
 Equivalent. See "Color
 Index" in topic 13.6.2 for
 more details.
 3 Line Width Specification Mode
                                           
                                           
                                           
 Equivalent. GDDM accepts
 only Absolute and Scaled
 modes. Other modes are
 rejected as errors.
 4 Marker Size Specification Mode
                                           
                                           
                                           
 Equivalent. GDDM accepts
 only Absolute and Scaled
 modes. Other modes are
 rejected as errors.
 5 Edge Width Specification Mode
                                           
                                           
                                           
 Equivalent. GDDM accepts
 only Absolute and Scaled
 modes. Other modes are
 rejected as errors.
 6 VDC Extent  Equivalent.
 7 Background Color  Equivalent.
  8 Device Viewport
  9 Device Viewport Spec. Mode
 10 Device Viewport Mapping
 11 Line Representation
 12 Marker Representation
 13 Text Representation
 14 Fill Representation
 15 Edge Representation
 16 Interior Line Spec. Mode
 17 Line and Edge Type Definition
 18 Hatch Style Definition
 19 Geometric Pattern Definition
 CGM Version 2 and 3
 elements. Ignored.
                            
                            
                            
                            
                            
                            
                            
                            
                            
                            
 CGM Class 3 orders: Control elements
 1 VDC Integer Precision  Equivalent.
 2 VDC Real Precision  Equivalent.
  3 Auxiliary Color  Ignored.
 4 Transparency  Equivalent.
 5 Clip Rectangle  Equivalent.
 6 Clip Indicator  Equivalent.
  7 Line Clipping Mode
  8 Marker Clipping Mode
  9 Edge Clipping Mode
 10 New Region
 11 Save Primitive Context
 12 Restore Primitive Context
 17 Protection Region Indicator
 18 Generalized Text Path Mode
 19 Mitre Limit
 20 Transparent Cell Color
 CGM Version 2 and 3
 elements. Ignored.
                            
                            
                            
                            
                            
                            
                            
                            
 CGM Class 4 orders: Graphical Primitive elements
 1 Polyline  Equivalent.
 2 Disjoint Polyline  Equivalent.
 3 Polymarker  Equivalent.
 4 Text  Equivalent.
 5 Restricted Text
                                           
                                           
                                           
                                           
 Equivalent, using basic
 restriction and (if
 appended) using the final
 text attributes for the
 complete text string
 6 Append Text  Equivalent.
 7 Polygon  Equivalent.
 8 Polygon Set  Equivalent.
  9 Cell Array  Ignored.
 10 Generalized Drawing Primitive  Ignored.
 11 Rectangle  Equivalent.
 12 Circle  Equivalent.
 13 Circular Arc 3-point  Equivalent.
 14 Circular Arc 3-point Close  Equivalent.
 15 Circular Arc Center  Equivalent.
 16 Circular Arc Center Close  Equivalent.
 17 Ellipse  Equivalent.
 18 Elliptical Arc  Equivalent.
 19 Elliptical Arc Close  Equivalent.
 20 Circular Arc Center Reversed
 21 Connecting Edge
 22 Hyperbolic Arc
 23 Parabolic Arc
 24 Non-Uniform B-Spline
 25 Non-Uniform Rational B-Spline
 26 Polybezier
 27 Bitonal Tile
 28 Tile
 29 Polysymbol
 CGM Version 2 and 3
 elements. Ignored.
                            
                            
                            
                            
                            
                            
                            
                            
 CGM Class 5 orders: Attribute elements
 1 Line Bundle Index
                                           
                                           
                                           
 Implemented as per CALS
 defaults in Table XI of
 the MIL-D-28003A
 specification.
 2 Line Type  Equivalent.
 3 Line Width  Equivalent.
 4 Line Color  Equivalent.
 5 Marker Bundle Index
                                           
                                           
                                           
 Implemented as per CALS
 defaults in Table XI of
 the MIL-D-28003A
 specification.
 6 Marker Type  Equivalent.
 7 Marker Size  Equivalent.
 8 Marker Color  Equivalent.
 9 Text Bundle Index
                                           
                                           
                                           
 Implemented as per CALS
 defaults in Table XI of
 the MIL-D-28003A
 specification.
 10 Text Font Index  Equivalent.
 11 Text Precision  Ignored.
 12 Character Expansion Factor  Equivalent.
 13 Character Spacing  Equivalent.
 14 Text Color  Equivalent.
 15 Character Height  Equivalent.
 16 Character Orientation  Equivalent.
 17 Text Path  Equivalent.
 18 Text Alignment
                                           
                                           
                                           
 Equivalent (except for
 "continuous text
 alignment," which is
 ignored.)
 19 Character Set Index
 20 Alternate Character Set Index
 Ignored.
                            
 21 Fill Bundle Index
                                           
                                           
                                           
 Implemented as per CALS
 defaults in Table XI of
 the MIL-D-28003A
 specification.
 22 Interior Style
                                           
                                           
                                           
 Equivalent (except for
 "geometric pattern" and
 "interpolated", which are
 treated as "solid").
 23 Fill Color  Equivalent.
 24 Hatch Index
                                           
 Equivalent. Maps to GDDM
 patterns
 25 Pattern Index  Equivalent.
 26 Edge Bundle Index
                                           
                                           
                                           
 Implemented as per CALS
 defaults in Table XI of
 the MIL-D-28003A
 specification.
 27 Edge Type  Equivalent.
 28 Edge Width  Equivalent.
 29 Edge Color  Equivalent.
 30 Edge Visibility  Equivalent.
 31 Fill Reference Point  Ignored.
 32 Pattern Table  Ignored.
 33 Pattern Size  Ignored.
 34 Color Table
                                           
                                           
                                           
                                           
 Order converted under
 certain conditions. See
 "Color Index" in
 topic 13.6.2 for more
 details.
 35 Aspect Source Flags  Ignored.
 36 Pick Identifier
 37 Line Cap
 38 Line Join
 39 Line Type Continuation
 40 Line Type Initial Offset
 41 Text Score Type
 42 Restricted Text Type
 43 Interpolated Interior
 44 Edge Cap
 45 Edge Join
 46 Edge Type Continuation
 47 Edge Type Initial Offset
 48 Symbol Library Index
 49 Symbol Color
 50 Symbol Size
 51 Symbol Orientation
 CGM Version 2 and 3
 elements. Ignored.
                            
                            
                            
                            
                            
                            
                            
                            
                            
                            
                            
                            
                            
                            
 CGM Class 6 orders: Escape element
  1 Escape  Ignored.
 CGM Class 7 orders: External elements
  1 Message  Ignored.
  2 Application Data  Ignored.
 CGM Class 8 orders: Segment elements
  1 Copy Segment
  2 Inheritance Filter
  3 Clip Inheritance
  4 Segment Transformation
  5 Segment Highlighting
  6 Segment Display Priority
  7 Segment Pick Priority
 CGM Version 2 and 3
 elements. Ignored.
                            
                            
                            
                            
                            


Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012