24#ifndef _GSPAGEPARAMS_INCLUDED_
25#define _GSPAGEPARAMS_INCLUDED_ /
45 double m_dPaperHeight;
48 double m_dRightMargin;
50 double m_dBottomMargin;
66 , m_dPaperHeight(297.)
81 : m_dPaperWidth(dPaperWidth)
82 , m_dPaperHeight(dPaperHeight)
114 m_dPaperWidth = from.m_dPaperWidth;
115 m_dPaperHeight = from.m_dPaperHeight;
116 m_dLeftMargin = from.m_dLeftMargin;
117 m_dRightMargin = from.m_dRightMargin;
118 m_dTopMargin = from.m_dTopMargin;
119 m_dBottomMargin = from.m_dBottomMargin;
166 double dLeftMargin = 0.,
167 double dRightMargin = 0.,
168 double dTopMargin = 0.,
169 double dBottomMargin = 0.
193 m_dPaperWidth = dPaperWidth;
194 m_dPaperHeight = dPaperHeight;
195 m_dLeftMargin = dLeftMargin;
196 m_dRightMargin = dRightMargin;
197 m_dTopMargin = dTopMargin;
198 m_dBottomMargin = dBottomMargin;
210 m_dPaperWidth *= dScale;
211 m_dPaperHeight *= dScale;
212 m_dLeftMargin *= dScale;
213 m_dRightMargin *= dScale;
214 m_dTopMargin *= dScale;
215 m_dBottomMargin *= dScale;
bool OdNegative(double x, double tol=1.e-10)
bool OdPositive(double x, double tol=1.e-10)
bool OdGreaterOrEqual(double x, double y, double tol=1.e-10)
double getRightMargin() const
double getPaperHeight() const
OdGsPageParams(const OdGsPageParams &data)
void scale(double dScale)
OdGsPageParams(double dPaperWidth, double dPaperHeight)
void set(double dPaperWidth, double dPaperHeight, double dLeftMargin=0., double dRightMargin=0., double dTopMargin=0., double dBottomMargin=0.)
double getTopMargin() const
double getBottomMargin() const
double getPaperWidth() const
double getLeftMargin() const
OdGsPageParams & operator=(const OdGsPageParams &from)
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data
static GE_STATIC_EXPORT OdGeTol gZeroTol