Main Page Class Hierarchy Compound List File List Compound Members

# EMF::EMRSETMAPMODE Class Reference

EMF Set Mapping Mode. More...

`#include <libemf.h>`

Inheritance diagram for EMF::EMRSETMAPMODE::

List of all members.

## Public Methods
| EMRSETMAPMODE (DWORD mode)
| EMRSETMAPMODE (DATASTREAM &ds)
bool | serialize (DATASTREAM ds)
int | size (void) const
void | execute (METAFILEDEVICECONTEXT *, HDC dc) const

## Detailed Description

EMF Set Mapping Mode.

Set the mapping mode: HI (X style), LO (OpenGL style). Totally ignored by StarOffice as near as I can tell.

## Constructor & Destructor Documentation

EMF::EMRSETMAPMODE::EMRSETMAPMODE ( | DWORD mode )`[inline]`

  | Parameters:
  mode | window mapping mode

EMF::EMRSETMAPMODE::EMRSETMAPMODE ( | DATASTREAM & ds )`[inline]`

  | Construct a SetMapMode record from the input stream. Parameters:
  ds | Metafile datastream.

## Member Function Documentation

void EMF::EMRSETMAPMODE::execute ( | METAFILEDEVICECONTEXT * source,
| HDC dc ) const`[inline, virtual]`

  | Execute this record in the context of the given device context. Parameters:
  source | the device context from which this record is taken.
  dc | device context for execute.
Reimplemented from EMF::METARECORD.

bool EMF::EMRSETMAPMODE::serialize ( | DATASTREAM ds )`[inline, virtual]`

  | Parameters:
  ds | Metafile datastream.
Reimplemented from EMF::METARECORD.

int EMF::EMRSETMAPMODE::size ( | void ) const`[inline, virtual]`

  | Parameters:
  fp | Metafile file handle.
Reimplemented from EMF::METARECORD.

The documentation for this class was generated from the following file:

- libemf.h