|
AppCore
|
properties of draw objects More...
#include <EImageIface.h>

Classes | |
| class | DataClass |
Public Types | |
| 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 } |
Public Member Functions | |
| EImageIface () | |
| virtual | ~EImageIface () |
| virtual long | SetSize (float width, float height) |
| virtual long | GetWidth () |
| virtual long | GetHeight () |
| virtual long | GetTextWidth (std::string text) |
| virtual long | GetTextHeight () |
| virtual float | GetTextHeightMM () |
| virtual Metrics | GetMetrics () |
| virtual FontEncoding | GetFontEncoding () |
| virtual long | CalculateMetrics () |
| virtual long | SetCurrentPos (float x, float y) |
| virtual long | GetPositionX () |
| virtual long | GetPositionY () |
| virtual long | SetMetrics (Metrics metric) |
| virtual long | SetFontEncoding (FontEncoding encode) |
| virtual long | SetAlign (Alignement align) |
| virtual long | SetBkColor (int colorIdx) |
| virtual long | SetTextColor (int colorIdx) |
| virtual long | SetDrawedObjectColors (int borderColorIdx, int fillColorIdx) |
| virtual long | SetFont (std::string fontName, 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 | DrawBox (float x1, float y1, float x2, float y2) |
| virtual long | DrawEllipse (float x, float y, float w, float h) |
| 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... | |
| void | SetDefaultPath (const std::string &defaultPath) |
| std::string | GetDefaultPath () const |
| EImageIface () | |
| virtual | ~EImageIface () |
| virtual long | SetSize (float width, float height) |
| virtual long | GetWidth () |
| virtual long | GetHeight () |
| virtual long | GetTextWidth (std::string text) |
| virtual long | GetTextHeight () |
| virtual float | GetTextHeightMM () |
| virtual Metrics | GetMetrics () |
| virtual FontEncoding | GetFontEncoding () |
| virtual long | CalculateMetrics () |
| virtual long | SetCurrentPos (float x, float y) |
| virtual long | GetPositionX () |
| virtual long | GetPositionY () |
| virtual long | SetMetrics (Metrics metric) |
| virtual long | SetFontEncoding (FontEncoding encode) |
| virtual long | SetAlign (Alignement align) |
| virtual long | SetBkColor (int colorIdx) |
| virtual long | SetTextColor (int colorIdx) |
| virtual long | SetDrawedObjectColors (int borderColorIdx, int fillColorIdx) |
| virtual long | SetFont (std::string fontName, 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 | DrawBox (float x1, float y1, float x2, float y2) |
| virtual long | DrawEllipse (float x, float y, float w, float h) |
| 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... | |
| void | SetDefaultPath (const std::string &defaultPath) |
| std::string | GetDefaultPath () const |
properties of draw objects
class EImageIface
| EImageIface::EImageIface | ( | ) |
public constructor EImageIface
|
virtual |
public virtual destructor ~EImageIface
| EM::Printer::EImageIface::EImageIface | ( | ) |
|
virtual |
|
virtual |
public virtual CalculateMetrics Vypocitanie mierky
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
public virtual DrawBox Vykreslenie stvoruholnika
| x1 | float * [vstup] |
| y1 | float * [vstup] |
| x2 | float * [vstup] |
| y2 | float * [vstup] |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.

|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
public virtual DrawEllipse Vykreslenie elipsy
| x | float * [vstup] |
| y | float * [vstup] |
| w | float * [vstup] |
| h | float * [vstup] |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
public virtual DrawLine Vykreslovanie ciar
| x1 | float * [vstup] |
| y1 | float * [vstup] |
| x2 | float * [vstup] |
| y2 | float * [vstup] |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
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 in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.

|
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 in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
| std::string EImageIface::GetDefaultPath | ( | ) | const |
| std::string EM::Printer::EImageIface::GetDefaultPath | ( | ) | const |
|
virtual |
|
virtual |
public virtual GetFontEncoding Vrati kodovanie fontov
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
public virtual GetHeight Vrati vysku plochy na tlac
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
|
virtual |
public virtual GetMetrics Vrati nastavenu mierku

|
virtual |
public virtual GetPositionX Vratenie x-ovej pozicie
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
public virtual GetPositionY Vratenie y-ovej pozicie
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
public virtual GetTextHeight Vrati vysku textu
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.

|
virtual |
public virtual GetWidth Vrati sirku plochy na tlac
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
public virtual SetBkColor Nastavenie farby na pozadi
| colorIdx | int * [vstup] |
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
public virtual SetCurrentPos Nastavenie na poziciu podla vstupnych parametrov
| x | float * [vstup] |
| y | float * [vstup] |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
| void EImageIface::SetDefaultPath | ( | const std::string & | defaultPath | ) |
| void EM::Printer::EImageIface::SetDefaultPath | ( | const std::string & | defaultPath | ) |
|
virtual |
public virtual SetDrawedObjectColors Nastavenie farby vykreslovanych objektov
| borderColorIdx | int * [vstup] |
| fillColorIdx | int * [vstup] |
|
virtual |
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.

|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.

|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
public virtual SetSize Nastavenie velkosti plochy pre tlac
| width | float * [vstup] |
| height | float * [vstup] |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.

|
virtual |
Reimplemented in EM::Printer::EPrinterGraf, and EM::Printer::EPrinterGraf.
|
virtual |
|
virtual |
public virtual SetTextColor Nastavenie farby pisma
| colorIdx | int * [vstup] |
1.8.8