Jump to content

User:Legalize/CGM Encoding

From Wikipedia, the free encyclopedia

Computer Graphics Metafile (CGM) Encodings

[edit]
Opcode Encodings
Element Name Clear Text Character Class Id
BEGIN METAFILE BEGMF 3/0 2/0 0 1
END METAFILE ENDMF 3/0 2/1 0! 0 2
BEGIN PICTURE BEGPIC 3/0 2/2 0" 0 3
BEGIN PICTURE BODY BEGPICBODY 3/0 2/3 0# 0 4
END PICTURE ENDPIC 3/0 2/4 0$ 0 5
BEGIN SEGMENT BEGSEG 3/0 2/5 0% 0 6
END SEGMENT ENDSEG 3/0 2/6 0& 0 7
BEGIN FIGURE BEGFIGURE 3/0 2/7 0' 0 8
END FIGURE ENDFIGURE 3/0 2/8 0( 0 9
BEGIN GKS SESSION METAFILE BEGGKSSESSIONMF 3/0 2/9 0) 0 10
BEGIN GKS SESSION BEGGKSSESSION 3/0 2/10 0* 0 11
END GKS SESSION METAFILE ENDGKSSESSIONMF 3/0 2/11 0+ 0 12
METAFILE VERSION MFVERSION 3/1 2/0 1 1
METAFILE DESCRIPTION MFDESC 3/1 2/1 1! 1 2
VDC TYPE VDCTYPE 3/1 2/2 1" 1 3
INTEGER PRECISION INTEGERPREC 3/1 2/3 1# 1 4
REAL PRECISION REALPREC 3/1 2/4 1$ 1 5
INDEX PRECISION INDEXPREC 3/1 2/5 1% 1 6
COLOUR PRECISION COLRPREC 3/1 2/6 1& 1 7
COLOUR INDEX PRECISION COLRINDEXPREC 3/1 2/7 1' 1 8
MAXIMUM COLOUR INDEX MAXCOLRINDEX 3/1 2/8 1( 1 9
COLOUR VALUE EXTENT COLRVALUEEXT 3/1 2/9 1) 1 10
METAFILE ELEMENT LIST MFELEMLIST 3/1 2/10 1* 1 11
METAFILE DEFAULTS REPLACEMENT BEGMFDEFAULTS 3/1 2/11 1+ 1 12
METAFILE DEFAULTS REPLACEMENT ENDMFDEFAULTS 3/1 2/12 1,
FONT LIST FONTLIST 3/1 2/13 1- 1 13
CHARACTER SET LIST CHARSETLIST 3/1 2/14 1. 1 14
CHARACTER CODING ANNOUNCER CHARCODING 3/1 2/15 1/ 1 15
NAME PRECISION NAMEPREC 3/1 3/0 10 1 16
MAXIMUM VDC EXTENT MAXVDCEXT 3/1 3/1 11 1 17
SEGMENT PRIORITY EXTENT SEGPRIEXT 3/1 3/2 12 1 18
SCALING MODE SCALEMODE 3/2 2/0 2 1
COLOUR SELECTION MODE COLRMODE 3/2 2/1 2! 2 2
LINE WIDTH SPECIFICATION MODE LINEWIDTHMODE 3/2 2/2 2" 2 3
MARKER SIZE SPECIFICATION MODE MARKERSIZEMODE 3/2 2/3 2# 2 4
EDGE WIDTH SPECIFICATION MODE EDGEWIDTHMODE 3/2 2/4 2$ 2 5
VDC EXTENT VDCEXT 3/2 2/5 2% 2 6
BACKGROUND COLOR BACKCOLR 3/2 2/6 2& 2 7
DEVICE VIEWPORT DEVVP 3/2 2/7 2' 2 8
DEVICE VPORT SPEC. MODE DEVVPMODE 3/2 2/8 2( 2 9
DEVICE VIEWPORT MAPPING DEVVPMAP 3/2 2/9 2) 2 10
LINE REPRESENTATION LINEREP 3/2 2/10 2* 2 11
MARKER REPRESENTATION MARKERREP 3/2 2/11 2+ 2 12
TEXT REPRESENTATION TEXTREP 3/2 2/12 2, 2 13
FILL REPRESENTATION FILLREP 3/2 2/13 2- 2 14
EDGE REPRESENTATION EDGEREP 3/2 2/14 2. 2 15
VDC INTEGER PRECISION VDCINTEGERPREC 3/3 2/0 3 1
VDC REAL PRECISION VDCREALPREC 3/3 2/1 3! 3 2
AUXILIARY COLOUR AUXCOLR 3/3 2/2 3" 3 3
TRANSPARENCY TRANSPARENCY 3/3 2/3 3# 3 4
CLIP RECTANGLE CLIPRECT 3/3 2/4 3$ 3 5
CLIP INDICATOR CLIP 3/3 2/5 3% 3 6
LINE CLIPPING MODE LINECLIPMODE 3/3 2/6 3& 3 7
MARKER CLIPPING MODE MARKERCLIPMODE 3/3 2/7 3' 3 8
EDGE CLIPPING MODE EDGECLIPMODE 3/3 2/8 3( 3 9
NEW REGION NEWREGION 3/3 2/9 3) 3 10
SAVE PRIMITIVE CONTEXT SAVEPRIMCONT 3/3 2/10 3* 3 11
RESTORE PRIMITIVE CONTEXT RESPRIMCONT 3/3 2/11 3+ 3 12
WORKSTATION VIEWPORT WSVP 3/3 2/12 3, 3 13
CLEAR CLEAR 3/3 2/13 3- 3 14
UPDATE UPD 3/3 2/14 3. 3 15
DEFERRAL STATE DEFERST 3/3 2/15 3/ 3 16
POLYLINE LINE, INCRLINE 2/0   4 1
DISJOINT POLYLINE LINE, INCRDISJTLINE 2/1 ! 4 2
POLYMARKER MARKER, INCRMARKER 2/2 " 4 3
TEXT TEXT 2/3 # 4 4
RESTRICTED TEXT RESTRTEXT 2/4 $ 4 5
APPEND TEXT APNDTEXT 2/5 % 4 6
POLYGON POLYGON, INCRPOLYGON 2/6 & 4 7
POLYGONSET POLYGONSET, INCRPOLYGONSET 2/7 ' 4 8
CELLARRAY CELLARRAY 2/8 ( 4 9
GENERALIZED DRAWING PRIMITIVE GDP 2/9 ) 4 10
RECTANGLE RECT 2/10 * 4 11
CIRCLE CIRCLE 3/4 2/0 4 12
CIRCULAR ARC 3 POINT ARC3PT 3/4 2/1 4! 4 13
CIRCULAR ARC 3 POINT CLOSE ARC3PTCLOSE 3/4 2/2 4" 4 14
CIRCULAR ARC CENTRE ARCCTR 3/4 2/3 4# 4 15
CIRCULAR ARC CENTRE CLOSE ARCCTRCLOSE 3/4 2/4 4$ 4 16
ELLIPSE ELLIPSE 3/4 2/5 4% 4 17
ELLIPTICAL ARC ELLIPARC 3/4 2/6 4& 4 18
ELLIPTICAL ARC CLOSE ELLIPARCCLOSE 3/4 2/7 4' 4 19
CIRCULAR ARC CENTRE REVERSED ARCCTRREV 3/4 2/8 4+ 4 20
CONNECTING EDGE CONNEDGE 3/4 2/9 4) 4 21
LINE BUNDLE INDEX LINEINDEX 3/5 2/0 5 1
LINE TYPE LINETYPE 3/5 2/1 5! 5 2
LINE WIDTH LINEWIDTH 3/5 2/2 5" 5 3
LINE COLOUR LINECOLR 3/5 2/3 5# 5 4
MARKER BUNDLE INDEX MARKERINDEX 3/5 2/4 5$ 5 5
MARKER TYPE MARKERTYPE 3/5 2/5 5% 5 6
MARKER SIZE MARKERSIZE 3/5 2/6 5& 5 7
MARKER COLOUR MARKERCOLR 3/5 2/7 5' 5 8
TEXT BUNDLE INDEX TEXTINDEX 3/5 3/0 50 5 9
TEXT FONT INDEX TEXTFONTINDEX 3/5 3/1 51 5 10
TEXT PRECISION TEXTPREC 3/5 3/2 52 5 11
CHARACTER EXPANSION FACTOR CHAREXPAN 3/5 3/3 53 5 12
CHARACTER SPACING CHARSPACE 3/5 3/4 54 5 13
TEXT COLOUR TEXTCOLR 3/5 3/5 55 5 14
CHARACTER HEIGHT CHARHEIGHT 3/5 3/6 56 5 15
CHARACTER ORIENTATION CHARORI 3/5 3/7 57 5 16
TEXT PATH TEXTPATH 3/5 3/8 58 5 17
TEXT ALIGNMENT TEXTALIGN 3/5 3/9 59 5 18
CHARACTER SET INDEX CHARSETINDEX 3/5 3/10 5: 5 19
ALTERNATE CHARACTER SET INDEX ALTCHARSETINDEX 3/5 3/11 5; 5 20
FILL BUNDLE INDEX FILLINDEX 3/6 2/0 5 21
INTERIOR STYLE INTSTYLE 3/6 2/1 6! 5 22
FILL COLOUR FILLCOLR 3/6 2/2 6" 5 23
HATCH INDEX HATCHINDEX 3/6 2/3 6# 5 24
PATTERN INDEX PATINDEX 3/6 2/4 6$ 5 25
EDGE BUNDLE INDEX EDGEINDEX 3/6 2/5 6% 5 26
EDGE TYPE EDGETYPE 3/6 2/6 6& 5 27
EDGE WIDTH EDGEWIDTH 3/6 2/7 6' 5 28
EDGE COLOUR EDGECOLR 3/6 2/8 6( 5 29
EDGE VISIBILITY EDGEVIS 3/6 2/9 6) 5 30
FILL REFERENCE POINT fillrefpt 3/6 2/10 6* 5 31
PATTERN TABLE PATTABLE 3/6 2/11 6+ 5 32
PATTERN SIZE PATSIZE 3/6 2/12 6, 5 33
COLOUR TABLE COLRTABLE 3/6 3/0 60 5 34
ASPECT SOURCE FLAGS ASF 3/6 3/1 61 5 35
PICK IDENTIFIER PICKID 3/6 3/2 62 5 36
ESCAPE ESCAPE 3/7 2/0 6 1
DOMAIN RING 3/7 3/0 70
MESSAGE MESSAGE 3/7 2/1 7! 7 1
APPLICATION DATA APPLDATA 3/7 2/2 7" 7 2
COPY SEGMENT COPYSEG 3/8 2/0 8 1
INHERITANCE FILTER INHFILTER 3/8 2/1 8! 8 2
CLIP INHERITANCE CLIPINH 3/8 2/2 8" 8 3
SEGMENT TRANSFORMATION SEGTRANS 3/8 2/3 8# 8 4
SEGMENT HIGHLIGHTING SEGHIGHL 3/8 2/4 8$ 8 5
SEGMENT DISPLAY PRIORITY SEGHIGHL 3/8 2/5 8% 8 6
SEGMENT PICK PRIORITY SEGPICKPRI 3/8 2/6 8& 8 7
DELETE SEGMENT DELSEG 3/8 2/7 8' 8 8
RENAME SEGMENT RENAMESEG 3/8 2/8 8( 8 9
REDRAW ALL SEGMENTS REDRAWALLSEG 3/8 2/9 8) 8 10
SEGMENT VISIBILITY SEGVIS 3/8 2/10 8* 8 11
SEGMENT DETECTABILITY SEGDET 3/8 2/11 8+ 8 12