libemf 1.0.9
EMF::EMRSETBKMODE Class Reference

EMF Set Background Mode. More...

#include <libemf.h>

Inheritance diagram for EMF::EMRSETBKMODE:
EMF::METARECORD

Public Member Functions

 EMRSETBKMODE (DWORD mode)
 
 EMRSETBKMODE (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 Background Mode.

Set the background mode: transparent or opaque. Seems to be ignored by StarOffice. (Appears to work for text, though.)

Constructor & Destructor Documentation

◆ EMRSETBKMODE() [1/2]

EMF::EMRSETBKMODE::EMRSETBKMODE ( DWORD mode)
inline
Parameters
modebackground mode.

◆ EMRSETBKMODE() [2/2]

EMF::EMRSETBKMODE::EMRSETBKMODE ( DATASTREAM & ds)
inline

Construct a SetBkMode record from the input datastream.

Parameters
dsMetafile datastream.

Member Function Documentation

◆ execute()

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

◆ serialize()

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

Implements EMF::METARECORD.

◆ size()

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

Internally computed size of this record.

Implements EMF::METARECORD.


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