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

EMF Modify World Transform. More...

#include <libemf.h>

Inheritance diagram for EMF::EMRMODIFYWORLDTRANSFORM:
EMF::METARECORD

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
transformthe transformation to apply
modethe mode of the transformation application (namely, pre- or post-multiply)
EMF::EMRMODIFYWORLDTRANSFORM::EMRMODIFYWORLDTRANSFORM ( DATASTREAM ds)
inline

Construct a ModifyWorldTransform from the input datastream.

Parameters
dsMetafile datastream.

Member Function Documentation

void EMF::EMRMODIFYWORLDTRANSFORM::execute ( METAFILEDEVICECONTEXT source,
HDC  dc 
) const
inlinevirtual

Execute this record in the context of the given device context.

Parameters
sourcethe device context from which this record is taken.
dcdevice context for execute.

Implements EMF::METARECORD.

bool EMF::EMRMODIFYWORLDTRANSFORM::serialize ( DATASTREAM  ds)
inlinevirtual
Parameters
dsMetafile datastream.

Implements EMF::METARECORD.

int EMF::EMRMODIFYWORLDTRANSFORM::size ( void  ) const
inlinevirtual

Internally computed size of this record.

Implements EMF::METARECORD.


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