EMRPOLYDRAW structure (wingdi.h)

The EMRPOLYDRAW structure contains members for the PolyDraw enhanced metafile record.

Syntax

typedef struct tagEMRPOLYDRAW {
  EMR    emr;
  RECTL  rclBounds;
  DWORD  cptl;
  POINTL aptl[1];
  BYTE   abTypes[1];
} EMRPOLYDRAW, *PEMRPOLYDRAW;

Members

emr

The base structure for all record types.

rclBounds

The bounding rectangle, in device units.

cptl

The number of points.

aptl[1]

An array of POINTL structures, representing the data points in logical units.

abTypes[1]

An array of values that specifies how each point in the aptl array is used. Each element can be one of the following values: PT_MOVETO, PT_LINETO, or PT_BEZIERTO. The PT_LINETO or PT_BEZIERTO value can be combined with the PT_CLOSEFIGURE value using the bitwise-OR operator.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header wingdi.h (include Windows.h)

See also

EMR

Metafile Structures

Metafiles Overview

POINTL

PolyDraw

RECTL