Print a text document.
More...
#include <wex.h>
|
| | printDoc (const std::string &title="printDoc") |
| | CTOR. More...
|
| |
|
| ~printDoc () |
| | Finalize and send to printer.
|
| |
|
bool | isOpen () |
| | True if CTOR was successful.
|
| |
|
void | pageStart () |
| |
|
void | pageEnd () |
| |
| void | text (int x, int y, const std::string &s) |
| | Add some text. More...
|
| |
◆ printDoc()
| wex::printDoc::printDoc |
( |
const std::string & |
title = "printDoc" | ) |
|
|
inline |
CTOR.
- Parameters
-
| [in] | title | that asppears in print spooler |
◆ text()
| void wex::printDoc::text |
( |
int |
x, |
|
|
int |
y, |
|
|
const std::string & |
s |
|
) |
| |
|
inline |
Add some text.
- Parameters
-
| [in] | x,y | locatioon |
| [in] | s | the text |
Each character needs about 100 by 100 location units
The documentation for this class was generated from the following file: