2.2.1 Graphics Objects
The WMF Graphics Objects specify parameters for graphics output. They are explicitly created and deleted by records of the Object Record Types (section 2.3.4) during the playback of an WMF metafile. A particular graphics object becomes part of the Playback Device Context (section 3.1.5) when it is selected by an appropriate Object Record Type, and it is reused in subsequent graphics operations until a different object is selected.
The following types of Graphics Objects are defined:
Name |
Section |
Description |
---|---|---|
Brush |
Specifies a graphics brush for the filling of figures. |
|
Font |
Specifies properties that determine the appearance of text, including typeface, size, and style. |
|
Palette |
Specifies colors as device-independent values, which can be defined entirely by an application. |
|
Pen |
Specifies a graphics pen for the drawing of lines. |
|
Region |
Specifies line and curve segments that define a shape. |
An implementation is responsible for keeping track of graphics objects during playback of the metafile. An abstract model for managing WMF graphics objects is described in WMF Object Table (section 3.1.4.1).