EMF: EMF::EMRSETMAPMODE Class Reference

EMF 1.0

- Main Page
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
EMF::EMRSETMAPMODE Class Reference

EMF Set Mapping Mode. More...

`#include <libemf.h>`

Inheritance diagram for EMF::EMRSETMAPMODE:

## Public Member Functions
| EMRSETMAPMODE (DWORD mode)
| EMRSETMAPMODE (DATASTREAM &ds)
bool | serialize (DATASTREAM ds)
int | size (void) const
void | execute (METAFILEDEVICECONTEXT *source, HDC dc) const
Public Member Functions inherited from EMF::METARECORD
virtual | ~METARECORD ()

## 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
| inlinevirtual

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.

Implements EMF::METARECORD.

bool EMF::EMRSETMAPMODE::serialize | ( | DATASTREAM | ds | ) |
| inlinevirtual

Parameters

  ds | Metafile datastream.

Implements EMF::METARECORD.

int EMF::EMRSETMAPMODE::size | ( | void |  | ) | const
| inlinevirtual

Internally computed size of this record.

Implements EMF::METARECORD.

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

- libemf.h