cgm (Domino DTD)

Represents a Computer Graphics Metafile, which is the International Standard for storage and exchange of two-dimensional graphical data. A cgm metafile specifies which positions the collection of elements, such as geometric components of a picture or line color details, may hold in the metafile. It provides a useful format for combining raster and vector images.

Containment Hierarchy

Contained by: %image.formats;

Syntax

<!ELEMENT cgm %binary;>

Attributes

<!ATTLIST cgm

height

%twips;

#IMPLIED

width

%twips;

#IMPLIED

>

height

Height of the image measured in twips, which are 1/20 of a point.

width

Width of the image measured in twips.

Defined entity for <cgm> element

The %twips; entity represents a twip, which is a unit of measure equaling a twentieth of a point. This unit is used to lay out space or for defining objects on a page or other area that you can print or display on a computer screen. A twip is 1/1440 of an inch and 1/567 of a centimeter. Like the pixel, you can adjust the size of a twip as you change screen resolution, but, unlike the pixel, the twip expresses an absolute value for printing. This entity is used in the <cgm> element.

Syntax:

<!ENTITY % twips "CDATA">