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

2.2.1.1

Specifies a graphics brush for the filling of figures.

Font

2.2.1.2

Specifies properties that determine the appearance of text, including typeface, size, and style.

Palette

2.2.1.3

Specifies colors as device-independent values, which can be defined entirely by an application.

Pen

2.2.1.4

Specifies a graphics pen for the drawing of lines.

Region

2.2.1.5

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).