2.3.5 State Record Types

This section defines the State Record Types, which define and manage the graphics properties specified in the Playback Device Context (section 3.1.5).

The following are the State Record Types.

Name

Section

Description

META_ANIMATEPALETTE

2.3.5.1

Redefines entries in the logical palette that is defined in the playback device context with a specified Palette Object (section 2.2.1.3).

META_EXCLUDECLIPRECT

2.3.5.2

Sets the clipping region that is defined in the playback device context to the existing clipping region minus a specified rectangle.

META_INTERSECTCLIPRECT

2.3.5.3

Sets the clipping region that is defined in the playback device context to the intersection of the existing clipping region and a specified rectangle.

META_MOVETO

2.3.5.4

Sets the output position in the playback device context to a specified point.

META_OFFSETCLIPRGN

2.3.5.5

Moves the clipping region that is defined in the playback device context by specified offsets.

META_OFFSETVIEWPORTORG

2.3.5.6

Moves the viewport origin in the playback device context by specified horizontal and vertical offsets.

META_OFFSETWINDOWORG

2.3.5.7

Moves the output window origin in the playback device context by specified horizontal and vertical offsets.

META_REALIZEPALETTE

2.3.5.8

Maps entries from the logical palette that is defined in the playback device context to the system palette.

META_RESIZEPALETTE

2.3.5.9

Redefines the size of the logical palette that is defined in the playback device context.

META_RESTOREDC

2.3.5.10

Restores the playback device context from a previously saved device context.

META_SAVEDC

2.3.5.11

Saves the playback device context for later retrieval.

META_SCALEVIEWPORTEXT

2.3.5.12

Scales the horizontal and vertical extents of the viewport that is defined in the playback device context using the ratios formed by specified multiplicands and divisors.

META_SCALEWINDOWEXT

2.3.5.13

Scales the horizontal and vertical extents of the output window that is defined in the playback device context using the ratios formed by specified multiplicands and divisors.

META_SETBKCOLOR

2.3.5.14

Sets the background color in the playback device context to a specified color.

META_SETBKMODE

2.3.5.15

Sets the background mix mode in the playback device context.

META_SETLAYOUT

2.3.5.16

Defines the layout orientation in the playback device context.

META_SETMAPMODE

2.3.5.17

Defines the mapping mode in the playback device context.

META_SETMAPPERFLAGS

2.3.5.18

Defines the algorithm that the font mapper uses when it maps logical fonts to physical fonts.

META_SETPALENTRIES

2.3.5.19

Defines RGB color values in a range of entries in the logical palette that is defined in the playback device context.

META_SETPOLYFILLMODE

2.3.5.20

Defines polygon fill mode in the playback device context for graphics operations that fill polygons.

META_SETRELABS

2.3.5.21

Undefined and MUST be ignored.

META_SETROP2

2.3.5.22

Defines the foreground raster operation mixing mode in the playback device context.

META_SETSTRETCHBLTMODE

2.3.5.23

Defines the bitmap stretching mode in the playback device context.

META_SETTEXTALIGN

2.3.5.24

Defines text-alignment values in the playback device context.

META_SETTEXTCHAREXTRA

2.3.5.25

Defines inter-character spacing for text justification in the playback device context.

META_SETTEXTCOLOR

2.3.5.26

Defines the text foreground color in the playback device context.

META_SETTEXTJUSTIFICATION

2.3.5.27

Defines the amount of space to add to break characters in a string of justified text.

META_SETVIEWPORTEXT

2.3.5.28

Defines the horizontal and vertical extents of the viewport in the playback device context.

META_SETVIEWPORTORG

2.3.5.29

Defines the viewport origin in the playback device context.

META_SETWINDOWEXT

2.3.5.30

Defines the horizontal and vertical extents of the output window in the playback device context.

META_SETWINDOWORG

2.3.5.31

Defines the output window origin in the playback device context.