---
name: "EMF_EMRMODIFYWORLDTRANSFORM"
section: "3"
platform: "linux"
package: "libemf-doc"
version: "1.0.13-8"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/EMF_EMRMODIFYWORLDTRANSFORM"
---

# EMF\_EMRMODIFYWORLDTRANSFORM(3)

EMF Modify World Transform.

## NAME

EMF::EMRMODIFYWORLDTRANSFORM - EMF Modify World Transform.

## SYNOPSIS

`#include <libemf.h>`

Inherits **EMF::METARECORD**, and EMRMODIFYWORLDTRANSFORM.

### Public Member Functions

**EMRMODIFYWORLDTRANSFORM** (const XFORM \*transform, DWORD mode)\
 **EMRMODIFYWORLDTRANSFORM** (**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 Modify World Transform.

Enhanced metafiles have a Coordinate Transformation which allows the contents to be rotated and transformed. Does not appear to work properly in StarOffice (but it's also possible I don't understand how it's supposed to work either).

## Constructor & Destructor Documentation

### EMF::EMRMODIFYWORLDTRANSFORM::EMRMODIFYWORLDTRANSFORM (const XFORM \* transform, DWORD mode)` [inline]`

**Parameters**

*transform* the transformation to apply \
 *mode* the mode of the transformation application (namely, pre- or post-multiply)

### EMF::EMRMODIFYWORLDTRANSFORM::EMRMODIFYWORLDTRANSFORM (DATASTREAM & ds)` [inline]`

Construct a ModifyWorldTransform from the input datastream.

**Parameters**

*ds* Metafile datastream.

## Member Function Documentation

### void EMF::EMRMODIFYWORLDTRANSFORM::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.

Implements **EMF::METARECORD**.

### bool EMF::EMRMODIFYWORLDTRANSFORM::serialize (DATASTREAM ds)` [inline]`, ` [virtual]`

**Parameters**

*ds* Metafile datastream.

Implements **EMF::METARECORD**.

### int EMF::EMRMODIFYWORLDTRANSFORM::size (void) const` [inline]`, ` [virtual]`

Internally computed size of this record.

Implements **EMF::METARECORD**.

## Author

Generated automatically by Doxygen for libemf from the source code.
