cgm library

A library for parsing and drawing CGM (Computer Graphics Metafile) files.

This library is a port of jcgm, originally written in Java by BBN Technologies.

Classes

AlternateCharacterSetIndex
AppendText
ApplicationData
ApplicationStructureAttribute
BackgroundColor
BeginApplicationStructure
BeginApplicationStructureBody
BeginFigure
BeginMetafile
BeginPicture
BeginPictureBody
BeginTileArray
BitonalTile
CellArray
CGM
The CGM class parses and stores the commands of a Computer Graphics Metafile (CGM) file.
CGMCanvas
Wrapper around the Flutter Canvas class.
CGMDisplay
The CGMDisplay class is used to store the current state of the painting process.
CGMPaint
Wrapper for Flutter's Paint class.
CGMPaintHolder
CGMPath
Wrapper around Flutter's Path class.
CharacterCodingAnnouncer
CharacterExpansionFactor
CharacterHeight
CharacterOrientation
CharacterSetIndex
CharacterSetList
CharacterSpacing
Circle
CircularArc3Point
CircularArc3PointClose
ClipIndicator
ClipRectangle
ColorIndexPrecision
ColorModel
ColorPrecision
ColorSelectionMode
ColorTable
ColorValueExtent
Command
Base class for all CGM commands.
DeviceViewportSpecificationMode
EdgeCap
EdgeColor
EdgeJoin
EdgeType
EdgeVisibility
EdgeWidth
EdgeWidthSpecificationMode
Ellipse
EllipticalArc
EllipticalArcClose
EndApplicationStructure
EndFigure
EndMetafile
EndPicture
EndTileArray
Escape
FillColor
FontList
FontWrapper
HatchIndex
IndexPrecision
IntegerPrecision
InteriorStyle
InteriorStyleSpecificationMode
LineAndEdgeTypeDefinition
LineCap
LineColor
LineJoin
LineMetrics
Wrapper class for flutter's LineMetrics class
LineType
LineWidth
LineWidthSpecificationMode
MarkerColor
MarkerSize
MarkerSizeSpecificationMode
MarkerType
MaximumColorIndex
MaximumVDCExtent
Member
Message
MetafileDefaultsReplacement
MetafileDescription
MetafileElementList
MetafileVersion
NamePrecision
NoOp
PolyBezier
Polyline
RealPrecision
RestrictedTextType
ScalingMode
StructuredDataRecord
Text
TextAlignment
TextColor
TextFontIndex
TextPath
TextPrecision
Tile
TileArrayInfo
TileElement
VDCExtent
VDCIntegerPrecision
VDCRealPrecision
VDCType

Functions

angle(double x, double y) double
normalizeAngle(double angle) double