File: README-cgm

package info (click to toggle)
plotutils 2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 13,156 kB
  • ctags: 7,141
  • sloc: ansic: 68,670; sh: 20,082; cpp: 12,382; yacc: 2,588; makefile: 889; lex: 137
file content (120 lines) | stat: -rw-r--r-- 3,380 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
By default, libplot's CGM driver emits version 3 CGM format, conforming to
the WebCGM profile.  The output may include the following CGM primitives.
For their semantics, see "The CGM Handbook" (cited below).  Many of the
names should be self-explanatory.

By setting the libplot parameter or environment variable CGM_MAX_VERSION to
"2" or "1", you can produce a CGM file whose version is less than 3.  This
is often desirable, because many CGM viewers can handle only version 1 CGM
files.  If the CGM version is 2 or 1, the primitives below that are not
allowed to appear in version 2 or 1 CGM files will be emulated using
allowed primitives, or simply dropped (if appropriate).  The table
indicates which primitives may appear only in version 2 and higher, 
and 3 and higher.

CGM Delimiter Elements:
	 BEGMF
	 BEGPIC
	 BEGPICBODY
	 ENDPIC
	 ENDMF

CGM Metafile Descriptor Elements:
	 MFVERSION
	 MFELEMLIST
	 MFDESC
	 VDCTYPE
	 INTEGERPREC
	 REALPREC
	 COLRPREC
	 COLRVALUEEXT
	 FONTLIST
	 CHARSETLIST
	 CHARCODING
	 FONTPROP (version 3 or higher)

CGM Picture Descriptor Elements:
	SCALEMODE
	COLRMODE
	LINEWIDTHMODE
	EDGEWIDTHMODE
	MARKERSIZEMODE
	VDCEXT
	BACKCOLR
	LINEEDGETYPEDEF (version 3 or higher)

CGM Control Elements:
	VDCINTEGERPREC
	MITRELIMIT (version 3 or higher)

CGM Graphical Primitive Elements:
	LINE
	MARKER
	RESTRTEXT
	POLYGON
	RECT
	CIRCLE
	ARCCTR
	ELLIPSE
	ELLIPARC
	ARCCTRREV (version 2 or higher)
	POLYBEZIER (version 3 or higher)

CGM Attribute Elements:
	LINETYPE
	LINEWIDTH
	LINECOLR
	MARKERTYPE
	MARKERSIZE
	MARKERCOLR
	TEXTFONTINDEX
	TEXTPREC
	TEXTCOLR
	CHARHEIGHT
	CHARORI
	TEXTALIGN
	CHARSETINDEX
	ALTCHARSETINDEX
	INTSTYLE
	FILLCOLR
	EDGETYPE
	EDGEWIDTH
	EDGECOLR
	EDGEVIS
	LINECAP (version 3 or higher)
	LINEJOIN (version 3 or higher)
	LINETYPEINITOFFSET (version 3 or higher)
	EDGECAP (version 3 or higher)
	EDGEJOIN (version 3 or higher)
	EDGETYPEINITOFFSET (version 3 or higher)
	RESTRTEXTTYPE (version 3 or higher)

----------------------------------------------------------------------

References used when writing the CGM driver include:

    The WebCGM profile, available at http://www.w3.org/TR/REC-WebCGM as an
    official recommendation of the World Wide Web Consortium.

    "The CGM Handbook", L. R. Henderson and A. Mumford (Academic, 1992).

    "CGM and CGI", D. B. Arnold and P. R. Bono (Springer-Verlag, 1988).

    Sourcecode for cd-1.3, also called CD, cgmdraw 1.3, and CGM Draw 1.3, a
    freely available C function library for generating version-1 CGM files.
    cd-1.3 was developed at NIST (the U.S. National Institute for Standards
    and Technology) by G. Edward Johnson (formerly, lorax@nist.gov).
    However, it no longer seems to be available through NIST Web pages.

    Sourcecode for RALCGM, a free viewer for version-1 CGM files developed
    at Rutherford Appleton Laboratory in the U.K.  Available at
    ftp://ftp.cc.rl.ac.uk/pub/graphics/ralcgm/unix/ .

    http://www.posc.org/Epicentre.2_2/GraphicsMetafile/SeismicExtensions/ .
    Contains a GIF image of the section from the CGM specification dealing
    with the format of SDR's (structured data records, used in specifying
    font properties in version-3 CGM files).

    http://www.nist.gov/itl/div897/ctg/cgm_form.htm .
    Sample CGM files, forming test suites, distributed by the US NIST
    (National Institute of Standards and Technology).