EMRGLSBOUNDEDRECORD structure (wingdi.h)

The EMRGLSBOUNDEDRECORD structure contains members for an enhanced metafile record generated by OpenGL functions. It contains data for OpenGL functions with information in pixel units that must be scaled when playing the metafile.

Syntax

typedef struct tagEMRGLSBOUNDEDRECORD {
  EMR   emr;
  RECTL rclBounds;
  DWORD cbData;
  BYTE  Data[1];
} EMRGLSBOUNDEDRECORD, *PEMRGLSBOUNDEDRECORD;

Members

emr

The base structure for all record types.

rclBounds

Bounds of the rectangle, in device coordinates, within which to perform the OpenGL function. For more information, see Remarks.

cbData

Size of Data, in bytes.

Data[1]

Array of data representing the OpenGL function to be performed.

Remarks

The coordinates in rclBounds are in OpenGL pixel coordinates, which generally equate to window coordinates. For example, if the glBitmap function has width1 and height1, the bounds will be 0, 0, width1, height1.

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

Metafile Structures

Metafiles Overview

OpenGL on Windows NT, Windows 2000, and Windows 95/98