CGM (Computer Graphics Metafile) Output Format.
CGM is a Vector Graphics format, defined by the ISO-IEC-8632-x-1999 standard.
This package provides two low-level writers for CGM files:
- CGMOutputStream for binary .cgm files
- CGMWriter for clear text .cgm files
and a VectorGraphics implementation:
The current implementation supports Version 1 CGM.
CGM files can be imported by the following applications:
- Adobe Illustrator
- Adobe FrameMaker
- Microsoft PowerPoint
- Microsoft Word
- Micrografx ActiveCGM plugin for Netscape and Internet Explorer
-
Larson WebCGM Viewer
In all these applications both online viewing and printing are supported.
The following limitations exist:
- drawFrameAndBanner not implemented.
- images not implemented.
- text sizes seems to be not perfect
- TestClipping, clipping only works on straight rectangles
- TestPrintColors is wrong
- TestPaint GradientPaint is not supported
- TestPaint TexturePaint is not supported
- TestLineStyles dashing is approximated
- TestImages images not shown
- TestImage2D images not shown
- TestTaggedString same font for all three.
- TestShapes all text in same font.
- TestFonts unicode wrong.
- TestFonts dingbats missing
- TestFonts no monotype corsiva
- TestAll font is wrong.
- TestAll no gradients in banner 2x.
- TestAll no sky.
- TestAll impact font missing, special characters not shown.
@status Frozen, Version 1 CGM tags implemented, but format not good enough to
properly attach a graphics2d context.