7#include "core/common/eplatform.h"
8#include "appcore/printertemplate/EPrinter.h"
10#define UNINICIALIZED_EGRAF_METHODS 1
22 class EPrinterGraf:
public EPrinter
28 virtual long SetFont( std::string name,
long size,
bool bold,
bool italic );
29 virtual long SetFont( std::string fontName,
long size,
bool bold,
bool italic,
bool underline );
30 virtual long DrawText(
float x,
float y,
long width,
long height, std::string text,
Alignement align,
short rotation = 0 );
40 virtual long DrawBox(
float x1,
float y1,
float x2,
float y2 );
41 virtual long DrawLine(
float x1,
float y1,
float x2,
float y2 );
42 virtual long DrawPicture(
float x,
float y, std::string fileName );
43 virtual long DrawPicture(
float x,
float y, std::string fileName,
long width,
long height );
45 virtual long DrawQRCode(
long x,
long y,
long width,
long height, std::string data );
55 long SetSize(
float width,
float height );
58 long SetPen( uint width, Qt::PenStyle style=Qt::SolidLine );
68 virtual unsigned char*
GetDataForPrinter(
unsigned long& length,
unsigned long& width,
unsigned long& height );
Alignement
Definition EImageIface.h:8
Definition EImageIface.cpp:8
Metrics
Definition EImageIface.h:37
FontEncoding
Definition EImageIface.h:38
virtual long SetFont(std::string name, long size, bool bold, bool italic)
long SetPointerToApp(QApplication *)
virtual long DrawText(float x, float y, long width, long height, std::string text, Alignement align, short rotation=0)
virtual long DrawQRCode(long x, long y, long width, long height, std::string data)
DrawQRCode.
virtual long DrawPicture(float x, float y, std::string fileName)
virtual long SetFontEncoding(FontEncoding encode)
virtual long DrawLine(float x1, float y1, float x2, float y2)
virtual long SetFont(std::string fontName, long size, bool bold, bool italic, bool underline)
virtual long DrawEllipse(float, float, float, float)
long SetImage(int width, int height)
virtual long SetCurrentPos(float x, float y)
virtual float GetTextHeightMM()
virtual long GetTextHeight()
virtual int GetHeightMM()
virtual long DrawBox(float x1, float y1, float x2, float y2)
long SetSize(float width, float height)
virtual long StartPrint()
virtual long SetMetrics(Metrics metric)
virtual unsigned char * GetDataForPrinter(unsigned long &length, unsigned long &width, unsigned long &height)
virtual long GetPositionX()
virtual long CalculateMetrics()
virtual long GetTextWidth(std::string text)
void SetPredTlac(long predtlac)
long SetFont(QFont paFont)
long SetPen(uint width, Qt::PenStyle style=Qt::SolidLine)
virtual long DrawPicture(float x, float y, std::string fileName, long width, long height)
virtual long GetPositionY()
SYSTEM INCLUDES.
Definition CardFacadeManagerXML.h:7