libemf 1.0.9
EMF::EMRCREATEBRUSHINDIRECT Class Reference

EMF Brush. More...

#include <libemf.h>

Inheritance diagram for EMF::EMRCREATEBRUSHINDIRECT:
EMF::METARECORD

Public Member Functions

 EMRCREATEBRUSHINDIRECT (BRUSH *brush, HGDIOBJ handle)
 
 EMRCREATEBRUSHINDIRECT (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 Brush.

Create a new brush (used for filling shapes).

Constructor & Destructor Documentation

◆ EMRCREATEBRUSHINDIRECT() [1/2]

EMRCREATEBRUSHINDIRECT::EMRCREATEBRUSHINDIRECT ( BRUSH * brush,
HGDIOBJ handle )
Parameters
brushan instance of a BRUSH object.
handlethe BRUSH object's handle.

References EMRCREATEBRUSHINDIRECT().

Referenced by EMRCREATEBRUSHINDIRECT().

◆ EMRCREATEBRUSHINDIRECT() [2/2]

EMRCREATEBRUSHINDIRECT::EMRCREATEBRUSHINDIRECT ( DATASTREAM & ds)

Create a CreateBrushIndirect record from the input stream.

Parameters
dsMetafile datastream.

Member Function Documentation

◆ execute()

void EMRCREATEBRUSHINDIRECT::execute ( METAFILEDEVICECONTEXT * source,
HDC dc ) const
virtual

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.

References EMF::METAFILEDEVICECONTEXT::emf_handles.

◆ serialize()

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

Implements EMF::METARECORD.

◆ size()

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

Internally computed size of this record.

Implements EMF::METARECORD.


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