libemf 1.0.9
EMF::METARECORD Class Referenceabstract

The base class of all metafile records. More...

#include <libemf.h>

Inheritance diagram for EMF::METARECORD:
EMF::EMRARC EMF::EMRARCTO EMF::EMRBEGINPATH EMF::EMRCLOSEFIGURE EMF::EMRCREATEBRUSHINDIRECT EMF::EMRCREATEPALETTE EMF::EMRCREATEPEN EMF::EMRDELETEOBJECT EMF::EMRELLIPSE EMF::EMRENDPATH EMF::EMREOF EMF::EMREXTCREATEFONTINDIRECTW EMF::EMREXTCREATEPEN EMF::EMREXTTEXTOUTA EMF::EMREXTTEXTOUTW EMF::EMRFILLPATH EMF::EMRLINETO EMF::EMRMODIFYWORLDTRANSFORM EMF::EMRMOVETOEX EMF::EMRPOLYBEZIER EMF::EMRPOLYBEZIER16 EMF::EMRPOLYBEZIERTO EMF::EMRPOLYBEZIERTO16 EMF::EMRPOLYGON EMF::EMRPOLYGON16 EMF::EMRPOLYLINE EMF::EMRPOLYLINE16 EMF::EMRPOLYLINETO EMF::EMRPOLYLINETO16 EMF::EMRPOLYPOLYGON EMF::EMRPOLYPOLYGON16 EMF::EMRRECTANGLE EMF::EMRRESTOREDC EMF::EMRSAVEDC EMF::EMRSCALEVIEWPORTEXTEX EMF::EMRSCALEWINDOWEXTEX EMF::EMRSELECTOBJECT EMF::EMRSETBKCOLOR EMF::EMRSETBKMODE EMF::EMRSETMAPMODE EMF::EMRSETMETARGN EMF::EMRSETMITERLIMIT EMF::EMRSETPIXELV EMF::EMRSETPOLYFILLMODE EMF::EMRSETTEXTALIGN EMF::EMRSETTEXTCOLOR EMF::EMRSETVIEWPORTEXTEX EMF::EMRSETVIEWPORTORGEX EMF::EMRSETWINDOWEXTEX EMF::EMRSETWINDOWORGEX EMF::EMRSETWORLDTRANSFORM EMF::EMRSTROKEANDFILLPATH EMF::EMRSTROKEPATH EMF::ENHMETAHEADER

Public Member Functions

virtual void execute (METAFILEDEVICECONTEXT *source, HDC dc) const =0
 
virtual bool serialize (DATASTREAM ds)=0
 
virtual int size (void) const =0
 
virtual ~METARECORD ()
 

Detailed Description

The base class of all metafile records.

A metafile consists off a sequence of graphics records "executed" in order. This is a common base class that allows each, different, record to be stored in a common list. An interface is specified for each record to write itself to a file.

Constructor & Destructor Documentation

◆ ~METARECORD()

virtual EMF::METARECORD::~METARECORD ( )
inlinevirtual

The virtual destructor allows records which allocated additional memory to release it when they are deleted. Simple records just use the default destructor defined here.

Member Function Documentation

◆ execute()

◆ serialize()

◆ size()


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