libmwaw::PrinterRect Struct Reference

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

Detailed Description

the AppleŠ rectangle : Rect

Member Function Documentation

◆ pos()

◆ read()

bool libmwaw::PrinterRect::read ( MWAWInputStreamPtr input,
MWAWVec2i const & res )

read value in a file, knowing the resolution

◆ size()

◆ operator<<

std::ostream & operator<< ( std::ostream & o,
PrinterRect const & r )
friend

operator <<

Member Data Documentation

◆ m_pos

MWAWVec2i libmwaw::PrinterRect::m_pos[2]
protected

the LT and RB positions

Referenced by operator<<, pos(), read(), and size().


The documentation for this struct was generated from the following files:

Generated on Mon Jan 20 2025 00:00:00 for libmwaw by doxygen 1.14.0