Debian Codegraph @

libplot/README-cgm

raw
1 By default, libplot's CGM driver emits version 3 CGM format, conforming to
2 the WebCGM profile. The output may include the following CGM primitives.
3 For their semantics, see "The CGM Handbook" (cited below). Many of the
4 names should be self-explanatory.
5
6 By setting the libplot parameter or environment variable CGM_MAX_VERSION to
7 "2" or "1", you can produce a CGM file whose version is less than 3. This
8 is often desirable, because many CGM viewers can handle only version 1 CGM
9 files. If the CGM version is 2 or 1, the primitives below that are not
10 allowed to appear in version 2 or 1 CGM files will be emulated using
11 allowed primitives, or simply dropped (if appropriate). The table
12 indicates which primitives may appear only in version 2 and higher,
13 and 3 and higher.
14
15 CGM Delimiter Elements:
16 BEGMF
17 BEGPIC
18 BEGPICBODY
19 ENDPIC
20 ENDMF
21
22 CGM Metafile Descriptor Elements:
23 MFVERSION
24 MFELEMLIST
25 MFDESC
26 VDCTYPE
27 INTEGERPREC
28 REALPREC
29 COLRPREC
30 COLRVALUEEXT
31 FONTLIST
32 CHARSETLIST
33 CHARCODING
34 FONTPROP (version 3 or higher)
35
36 CGM Picture Descriptor Elements:
37 SCALEMODE
38 COLRMODE
39 LINEWIDTHMODE
40 EDGEWIDTHMODE
41 MARKERSIZEMODE
42 VDCEXT
43 BACKCOLR
44 LINEEDGETYPEDEF (version 3 or higher)
45
46 CGM Control Elements:
47 VDCINTEGERPREC
48 MITRELIMIT (version 3 or higher)
49
50 CGM Graphical Primitive Elements:
51 LINE
52 MARKER
53 RESTRTEXT
54 POLYGON
55 RECT
56 CIRCLE
57 ARCCTR
58 ELLIPSE
59 ELLIPARC
60 ARCCTRREV (version 2 or higher)
61 POLYBEZIER (version 3 or higher)
62
63 CGM Attribute Elements:
64 LINETYPE
65 LINEWIDTH
66 LINECOLR
67 MARKERTYPE
68 MARKERSIZE
69 MARKERCOLR
70 TEXTFONTINDEX
71 TEXTPREC
72 TEXTCOLR
73 CHARHEIGHT
74 CHARORI
75 TEXTALIGN
76 CHARSETINDEX
77 ALTCHARSETINDEX
78 INTSTYLE
79 FILLCOLR
80 EDGETYPE
81 EDGEWIDTH
82 EDGECOLR
83 EDGEVIS
84 LINECAP (version 3 or higher)
85 LINEJOIN (version 3 or higher)
86 LINETYPEINITOFFSET (version 3 or higher)
87 EDGECAP (version 3 or higher)
88 EDGEJOIN (version 3 or higher)
89 EDGETYPEINITOFFSET (version 3 or higher)
90 RESTRTEXTTYPE (version 3 or higher)
91
92 ----------------------------------------------------------------------
93
94 References used when writing the CGM driver include:
95
96 The WebCGM profile, available at http://www.w3.org/TR/REC-WebCGM as an
97 official recommendation of the World Wide Web Consortium.
98
99 "The CGM Handbook", L. R. Henderson and A. Mumford (Academic, 1992).
100
101 "CGM and CGI", D. B. Arnold and P. R. Bono (Springer-Verlag, 1988).
102
103 Sourcecode for cd-1.3, also called CD, cgmdraw 1.3, and CGM Draw 1.3, a
104 freely available C function library for generating version-1 CGM files.
105 cd-1.3 was developed at NIST (the U.S. National Institute for Standards
106 and Technology) by G. Edward Johnson (formerly, [email protected]).
107 However, it no longer seems to be available through NIST Web pages.
108
109 Sourcecode for RALCGM, a free viewer for version-1 CGM files developed
110 at Rutherford Appleton Laboratory in the U.K. Available at
111 ftp://ftp.cc.rl.ac.uk/pub/graphics/ralcgm/unix/ .
112
113 http://www.posc.org/Epicentre.2_2/GraphicsMetafile/SeismicExtensions/ .
114 Contains a GIF image of the section from the CGM specification dealing
115 with the format of SDR's (structured data records, used in specifying
116 font properties in version-3 CGM files).
117
118 http://www.nist.gov/itl/div897/ctg/cgm_form.htm .
119 Sample CGM files, forming test suites, distributed by the US NIST
120 (National Institute of Standards and Technology).