kdeprint Library API Documentation

DrPageSize Class Reference

List of all members.

Public Member Functions

 DrPageSize (const QString &s, float width, float height, float left, float bottom, float right, float top)
 DrPageSize (const DrPageSize &)
float pageWidth () const
float pageHeight () const
float leftMargin () const
float rightMargin () const
float topMargin () const
float bottomMargin () const
QString pageName () const
QSize pageSize () const
QRect pageRect () const
QSize margins () const

Protected Attributes

QString m_name
float m_width
float m_height
float m_left
float m_bottom
float m_right
float m_top

Detailed Description

Definition at line 355 of file driver.h.


Member Function Documentation

float DrPageSize::pageWidth  )  const [inline]
 

All dimensions are int dot: 1/72th of an inch ( PostScript ).

When rounded, the rounding is made safely: upward for a margin, downward for a page size.

Definition at line 366 of file driver.h.

References m_width.

Referenced by KPTextPage::initPageSize(), KPMarginPage::initPageSize(), and KPrinter::setRealPageSize().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdeprint Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Feb 8 08:03:42 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003