AppCore
Loading...
Searching...
No Matches
EPicture.h
Go to the documentation of this file.
1#ifndef EPICTURE_H
2#define EPICTURE_H
3
4#include <string>
5
6#include "appcore/printertemplate/EMPrinterTemplate.h"
7#include "appcore/printertemplate/EDrawObject.h"
8#include "appcore/printertemplate/EImageIface.h"
9
10namespace EM
11{
12 namespace PrinterTemplate
13 {
18 class EMPRINTERTEMPLATE_API EPicture: public EDrawObject
19 {
20 public:
21 EPicture( std::string name );
23
24 virtual void Draw( float moveY );
25 virtual EDrawObject* Clone();
26 virtual void ReadXML( EXMLNode* node );
27 virtual long Save( EXMLNode* node );
28 virtual float GetHeight();
29 virtual float GetWidth();
30 virtual void SetWidth( long width );
31 virtual void SetHeight( long height );
32
33 virtual bool VerticalMove();
34 virtual long GetContentWidth();
35
36 std::string GetFileName();
37 void SetFileName( const std::string &fileName );
39 void SetAlignment( Alignement align );
40 bool GetStretch();
41 void SetStretch( bool stretch );
42
43 protected:
44 void SaveCommonPictureAttributes( EXMLNode* node );
45
46 private:
47 class DataClass;
48 DataClass* d;
49 };
50 }
51}
52
53#endif
Alignement
Definition EImageIface.h:8
#define EMPRINTERTEMPLATE_API
Definition EMPrinterTemplate.h:9
general draw object
Definition EDrawObject.h:30
virtual void SetWidth(long width)
virtual void Draw(float moveY)
virtual void ReadXML(EXMLNode *node)
void SaveCommonPictureAttributes(EXMLNode *node)
virtual void SetHeight(long height)
EPicture(std::string name)
void SetFileName(const std::string &fileName)
void SetAlignment(Alignement align)
void SetStretch(bool stretch)
virtual long Save(EXMLNode *node)
virtual EDrawObject * Clone()
SYSTEM INCLUDES.
Definition CardFacadeManagerXML.h:7