8 #ifndef __VRV_FACSIMILE_INTERFACE_H__
9 #define __VRV_FACSIMILE_INTERFACE_H__
11 #include "atts_facsimile.h"
12 #include "atts_shared.h"
13 #include "interface.h"
18 class PrepareFacsimileFunctor;
19 class ResetDataFunctor;
37 InterfaceId
IsInterface()
const override {
return INTERFACE_FACSIMILE; }
40 virtual int GetDrawingX()
const;
41 virtual int GetDrawingY()
const;
44 int GetHeight()
const;
46 double GetDrawingRotate()
const;
54 int GetSurfaceY()
const;
Definition: facsimileinterface.h:27
FunctorCode InterfacePrepareFacsimile(PrepareFacsimileFunctor &functor, Object *object)
We have functor code in the interface for avoiding code duplication in each implementation class.
Zone * GetZone()
Get the zone.
Definition: facsimileinterface.h:58
InterfaceId IsInterface() const override
Virtual method returning the InterfaceId of the interface.
Definition: facsimileinterface.h:37
void AttachZone(Zone *zone)
Link to the zone.
void Reset() override
Virtual reset method.
Surface * GetSurface()
Get the surface.
Definition: facsimileinterface.h:65
bool HasFacsimile() const
Check if the object has a facsimile.
Definition: facsimileinterface.h:49
This is a base class for regrouping MEI att classes.
Definition: interface.h:32
This class represents a basic object.
Definition: object.h:61
This class associates layer elements with @facs to the appropriate zone.
Definition: preparedatafunctor.h:201
This class resets the drawing values before calling PrepareData after changes.
Definition: resetfunctor.h:22
Implements the surface element in MEI.
Definition: surface.h:30
Implements the zone element in MEI.
Definition: zone.h:30