WINDEX
Public Member Functions | List of all members
wex::printDoc Class Reference

Print a text document. More...

#include <wex.h>

Public Member Functions

 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...
 

Detailed Description

Print a text document.

Constructor & Destructor Documentation

◆ printDoc()

wex::printDoc::printDoc ( const std::string &  title = "printDoc")
inline

CTOR.

Parameters
[in]titlethat asppears in print spooler

Member Function Documentation

◆ text()

void wex::printDoc::text ( int  x,
int  y,
const std::string &  s 
)
inline

Add some text.

Parameters
[in]x,ylocatioon
[in]sthe text

Each character needs about 100 by 100 location units


The documentation for this class was generated from the following file: