|
AppCore
|
#include <EPrinterGraf.h>


Public Member Functions | |
| EPrinterGraf () | |
| virtual | ~EPrinterGraf () |
| virtual long | SetFont (std::string name, long size, bool bold, bool italic) |
| virtual long | SetFont (std::string fontName, long size, bool bold, bool italic, bool underline) |
| virtual long | DrawText (float x, float y, long width, long height, std::string text, Alignement align, short rotation=0) |
| virtual long | CalculateMetrics () |
| virtual long | SetMetrics (Metrics metric) |
| virtual long | SetFontEncoding (FontEncoding encode) |
| virtual long | SetCurrentPos (float x, float y) |
| virtual long | GetPositionX () |
| virtual long | GetPositionY () |
| virtual long | DrawEllipse (float, float, float, float) |
| virtual long | DrawBox (float x1, float y1, float x2, float y2) |
| virtual long | DrawLine (float x1, float y1, float x2, float y2) |
| virtual long | DrawPicture (float x, float y, std::string fileName) |
| virtual long | DrawPicture (float x, float y, std::string fileName, long width, long height) |
| virtual long | DrawQRCode (long x, long y, long width, long height, std::string data) |
| DrawQRCode. More... | |
| virtual long | GetHeight () |
| virtual long | GetWidth () |
| virtual long | GetTextHeight () |
| virtual float | GetTextHeightMM () |
| virtual long | GetTextWidth (std::string text) |
| virtual int | GetHeightMM () |
| virtual int | GetWidthMM () |
| long | SetSize (float width, float height) |
| long | SetFont (QFont paFont) |
| long | SetPointerToApp (QApplication *) |
| long | SetPen (uint width, Qt::PenStyle style=Qt::SolidLine) |
| long | SetImage (int width, int height) |
| QImage * | GetCanvas () |
| virtual long | StartPrint () |
| virtual long | EndPrint () |
| virtual unsigned char * | GetDataForPrinter (unsigned long &length, unsigned long &width, unsigned long &height) |
| void | SetPredTlac (long predtlac) |
| EPrinterGraf () | |
| virtual | ~EPrinterGraf () |
| virtual long | SetFont (std::string name, long size, bool bold, bool italic) |
| virtual long | SetFont (std::string fontName, long size, bool bold, bool italic, bool underline) |
| virtual long | DrawText (float x, float y, long width, long height, std::string text, Alignement align, short rotation=0) |
| virtual long | CalculateMetrics () |
| virtual long | SetMetrics (Metrics metric) |
| virtual long | SetFontEncoding (FontEncoding encode) |
| virtual long | SetCurrentPos (float x, float y) |
| virtual long | GetPositionX () |
| virtual long | GetPositionY () |
| virtual long | DrawEllipse (float, float, float, float) |
| virtual long | DrawBox (float x1, float y1, float x2, float y2) |
| virtual long | DrawLine (float x1, float y1, float x2, float y2) |
| virtual long | DrawPicture (float x, float y, std::string fileName) |
| virtual long | DrawPicture (float x, float y, std::string fileName, long width, long height) |
| virtual long | DrawQRCode (long x, long y, long width, long height, std::string data) |
| DrawQRCode. More... | |
| virtual long | GetHeight () |
| virtual long | GetWidth () |
| virtual long | GetTextHeight () |
| virtual float | GetTextHeightMM () |
| virtual long | GetTextWidth (std::string text) |
| virtual int | GetHeightMM () |
| virtual int | GetWidthMM () |
| long | SetSize (float width, float height) |
| long | SetFont (QFont paFont) |
| long | SetPointerToApp (QApplication *) |
| long | SetPen (uint width, Qt::PenStyle style=Qt::SolidLine) |
| long | SetImage (int width, int height) |
| QImage * | GetCanvas () |
| virtual long | StartPrint () |
| virtual long | EndPrint () |
| virtual unsigned char * | GetDataForPrinter (unsigned long &length, unsigned long &width, unsigned long &height) |
| void | SetPredTlac (long predtlac) |
Public Member Functions inherited from EM::Printer::EPrinter | |
| EPrinter () | |
| virtual | ~EPrinter () |
| virtual std::string | GetExtendedProperties (std::string str) |
| virtual long | NewPage () |
| virtual long | GetStatus () |
| void | SetRatioX (float x) |
| void | SetRatioY (float y) |
| float | GetRatioX () |
| float | GetRatioY () |
| void | SetTemplateVersion (long templateVersion) |
| long | GetTemplateVersion () |
| EPrinter () | |
| virtual | ~EPrinter () |
| virtual std::string | GetExtendedProperties (std::string str) |
| virtual long | NewPage () |
| virtual long | GetStatus () |
| void | SetRatioX (float x) |
| void | SetRatioY (float y) |
| float | GetRatioX () |
| float | GetRatioY () |
| void | SetTemplateVersion (long templateVersion) |
| long | GetTemplateVersion () |
Public Member Functions inherited from EM::Printer::EImageIface | |
| EImageIface () | |
| virtual | ~EImageIface () |
| virtual Metrics | GetMetrics () |
| virtual FontEncoding | GetFontEncoding () |
| virtual long | SetAlign (Alignement align) |
| virtual long | SetBkColor (int colorIdx) |
| virtual long | SetTextColor (int colorIdx) |
| virtual long | SetDrawedObjectColors (int borderColorIdx, int fillColorIdx) |
| void | SetDefaultPath (const std::string &defaultPath) |
| std::string | GetDefaultPath () const |
| EImageIface () | |
| virtual | ~EImageIface () |
| virtual Metrics | GetMetrics () |
| virtual FontEncoding | GetFontEncoding () |
| virtual long | SetAlign (Alignement align) |
| virtual long | SetBkColor (int colorIdx) |
| virtual long | SetTextColor (int colorIdx) |
| virtual long | SetDrawedObjectColors (int borderColorIdx, int fillColorIdx) |
| void | SetDefaultPath (const std::string &defaultPath) |
| std::string | GetDefaultPath () const |
Additional Inherited Members | |
Public Types inherited from EM::Printer::EImageIface | |
| enum | Metrics { Pixel = 0, Milimeter = 1, Centimeter = 2, Pixel = 0, Milimeter = 1, Centimeter = 2 } |
| enum | FontEncoding { None = 0, Utf8 = 1, None = 0, Utf8 = 1 } |
| enum | Metrics { Pixel = 0, Milimeter = 1, Centimeter = 2, Pixel = 0, Milimeter = 1, Centimeter = 2 } |
| enum | FontEncoding { None = 0, Utf8 = 1, None = 0, Utf8 = 1 } |
Static Public Member Functions inherited from EM::Printer::EPrinter | |
| static void | SetActPrinter (EPrinter *actPrinter) |
| static EPrinter * | GetActPrinter () |
| static void | SetActPrinter (EPrinter *actPrinter) |
| static EPrinter * | GetActPrinter () |
Static Protected Attributes inherited from EM::Printer::EPrinter | |
| static EPrinter * | mActPrinter = NULL |
| INTERNAL EPrinterGraf::EPrinterGraf | ( | ) |
|
virtual |
| EM::Printer::EPrinterGraf::EPrinterGraf | ( | ) |
|
virtual |
|
virtual |
public virtual CalculateMetrics Vypocitanie mierky
SetImage( 432, getHeight*d->mRatioY );
Reimplemented from EM::Printer::EImageIface.


|
virtual |
public virtual CalculateMetrics Vypocitanie mierky
Reimplemented from EM::Printer::EImageIface.
|
virtual |
public virtual DrawBox Vykreslenie stvoruholnika
| x1 | float * [vstup] |
| y1 | float * [vstup] |
| x2 | float * [vstup] |
| y2 | float * [vstup] |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
public virtual DrawBox Vykreslenie stvoruholnika
| x1 | float * [vstup] |
| y1 | float * [vstup] |
| x2 | float * [vstup] |
| y2 | float * [vstup] |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
public virtual DrawEllipse Vykreslenie elipsy
| x | float * [vstup] |
| y | float * [vstup] |
| w | float * [vstup] |
| h | float * [vstup] |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
public virtual DrawEllipse Vykreslenie elipsy
| x | float * [vstup] |
| y | float * [vstup] |
| w | float * [vstup] |
| h | float * [vstup] |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
public virtual DrawLine Vykreslovanie ciar
| x1 | float * [vstup] |
| y1 | float * [vstup] |
| x2 | float * [vstup] |
| y2 | float * [vstup] |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
public virtual DrawLine Vykreslovanie ciar
| x1 | float * [vstup] |
| y1 | float * [vstup] |
| x2 | float * [vstup] |
| y2 | float * [vstup] |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
DrawQRCode.
| x | - the x-coordinate of top-left corner of QR code image |
| y | - the y-coordinate of top-left corner of QR code image |
| width | - width of the QR code image (if Metrics == Pixel, multiple of logical QR code width recommended) |
| height | - height of the QR code image (if Metrics == Pixel, multiple of logical QR code height recommended) |
| data | - symbol data is represented as an array contains (logical width)*(logical width) uchars. Each uchar represents a module (dot). If the less significant bit of the uchar is 1, the corresponding module is black. |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
DrawQRCode.
| x | - the x-coordinate of top-left corner of QR code image |
| y | - the y-coordinate of top-left corner of QR code image |
| width | - width of the QR code image (if Metrics == Pixel, multiple of logical QR code width recommended) |
| height | - height of the QR code image (if Metrics == Pixel, multiple of logical QR code height recommended) |
| data | - symbol data is represented as an array contains (logical width)*(logical width) uchars. Each uchar represents a module (dot). If the less significant bit of the uchar is 1, the corresponding module is black. |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
Samotne vytlacenie
public virtual EndPrint Ukoncenie tlace
Reimplemented from EM::Printer::EPrinter.
|
virtual |
Samotne vytlacenie
public virtual EndPrint Ukoncenie tlace
Reimplemented from EM::Printer::EPrinter.
| QImage* EM::Printer::EPrinterGraf::GetCanvas | ( | ) |
| QImage * EPrinterGraf::GetCanvas | ( | ) |
|
virtual |
QImage printedImage = *d->mImage;
Implements EM::Printer::EPrinter.
|
virtual |
Implements EM::Printer::EPrinter.
|
virtual |
public virtual GetHeight Vrati vysku plochy na tlac
Reimplemented from EM::Printer::EImageIface.

|
virtual |
public virtual GetHeight Vrati vysku plochy na tlac
Reimplemented from EM::Printer::EImageIface.
|
virtual |

|
virtual |
|
virtual |
public virtual GetPositionX Vratenie x-ovej pozicie
Reimplemented from EM::Printer::EImageIface.
|
virtual |
public virtual GetPositionX Vratenie x-ovej pozicie
Reimplemented from EM::Printer::EImageIface.
|
virtual |
public virtual GetPositionY Vratenie y-ovej pozicie
Reimplemented from EM::Printer::EImageIface.
|
virtual |
public virtual GetPositionY Vratenie y-ovej pozicie
Reimplemented from EM::Printer::EImageIface.
|
virtual |
public virtual GetTextHeight Vrati vysku textu
Reimplemented from EM::Printer::EImageIface.
|
virtual |
public virtual GetTextHeight Vrati vysku textu
Reimplemented from EM::Printer::EImageIface.
|
virtual |
|
virtual |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
public virtual GetWidth Vrati sirku plochy na tlac
Reimplemented from EM::Printer::EImageIface.

|
virtual |
public virtual GetWidth Vrati sirku plochy na tlac
Reimplemented from EM::Printer::EImageIface.
|
virtual |

|
virtual |
|
virtual |
public virtual SetCurrentPos Nastavenie na poziciu podla vstupnych parametrov
| x | float * [vstup] |
| y | float * [vstup] |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
public virtual SetCurrentPos Nastavenie na poziciu podla vstupnych parametrov
| x | float * [vstup] |
| y | float * [vstup] |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
Reimplemented from EM::Printer::EImageIface.
| long EPrinterGraf::SetFont | ( | QFont | paFont | ) |
| long EM::Printer::EPrinterGraf::SetFont | ( | QFont | paFont | ) |
|
virtual |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
Reimplemented from EM::Printer::EImageIface.
| long EPrinterGraf::SetImage | ( | int | width, |
| int | height | ||
| ) |

| long EM::Printer::EPrinterGraf::SetImage | ( | int | width, |
| int | height | ||
| ) |
|
virtual |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
| long EM::Printer::EPrinterGraf::SetPen | ( | uint | width, |
| Qt::PenStyle | style = Qt::SolidLine |
||
| ) |
| long EPrinterGraf::SetPen | ( | uint | width, |
| Qt::PenStyle | style = Qt::SolidLine |
||
| ) |
| long EPrinterGraf::SetPointerToApp | ( | QApplication * | ) |
| long EM::Printer::EPrinterGraf::SetPointerToApp | ( | QApplication * | ) |
| void EPrinterGraf::SetPredTlac | ( | long | predtlac | ) |
| void EM::Printer::EPrinterGraf::SetPredTlac | ( | long | predtlac | ) |
|
virtual |
public virtual SetSize Nastavenie velkosti plochy pre tlac
| width | float * [vstup] |
| height | float * [vstup] |
Reimplemented from EM::Printer::EImageIface.
|
virtual |
public virtual SetSize Nastavenie velkosti plochy pre tlac
| width | float * [vstup] |
| height | float * [vstup] |
Reimplemented from EM::Printer::EImageIface.

|
virtual |
Je nutne zavolat pred zaciatkom vykreslovania, a po nastaveni Height,Width
public virtual StartPrint Inicializacia tlaciarne, vypocet mierky, nastavenie kodovania znakov
Reimplemented from EM::Printer::EPrinter.
|
virtual |
Je nutne zavolat pred zaciatkom vykreslovania, a po nastaveni Height,Width
public virtual StartPrint Inicializacia tlaciarne, vypocet mierky, nastavenie kodovania znakov
Reimplemented from EM::Printer::EPrinter.
1.8.8