the AppleŠ rectangle : Rect More...
#include <MWAWPrinter.hxx>
Public Member Functions | |
| MWAWVec2i | size () const |
| returns the size | |
| MWAWVec2i | pos (int i) const |
| returns the position ( 0: leftTop, 1:rightBottom ) | |
| bool | read (MWAWInputStreamPtr input, MWAWVec2i const &res) |
| read value in a file, knowing the resolution | |
Protected Attributes | |
| MWAWVec2i | m_pos [2] |
| the LT and RB positions | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, PrinterRect const &r) |
| operator << | |
the AppleŠ rectangle : Rect
| MWAWVec2i libmwaw::PrinterRect::pos | ( | int | i | ) | const [inline] |
returns the position ( 0: leftTop, 1:rightBottom )
Referenced by HanMacWrdJParser::readPrintInfo(), and HanMacWrdKParser::readPrintInfo().
| bool libmwaw::PrinterRect::read | ( | MWAWInputStreamPtr | input, |
| MWAWVec2i const & | res | ||
| ) |
read value in a file, knowing the resolution
Referenced by libmwaw::PrinterRectResolution::read().
| MWAWVec2i libmwaw::PrinterRect::size | ( | ) | const [inline] |
returns the size
Referenced by HanMacWrdJParser::readPrintInfo(), HanMacWrdKParser::readPrintInfo(), and MsWks4Zone::readPRNT().
| std::ostream& operator<< | ( | std::ostream & | o, |
| PrinterRect const & | r | ||
| ) | [friend] |
operator <<
MWAWVec2i libmwaw::PrinterRect::m_pos[2] [protected] |