#include <gr_CairoPrintGraphics.h>
GR_CairoPrintGraphics::GR_CairoPrintGraphics | ( | cairo_t * | cr, | |
UT_uint32 | iDeviceResolution | |||
) |
GR_CairoPrintGraphics::~GR_CairoPrintGraphics | ( | ) | [virtual] |
References UT_DEBUGMSG.
virtual bool GR_CairoPrintGraphics::canQuickPrint | ( | void | ) | const [inline, virtual] |
Reimplemented from GR_Graphics.
bool GR_CairoPrintGraphics::endPrint | ( | void | ) | [virtual] |
Reimplemented from GR_CairoGraphics.
References m_bDoShowPage, and GR_CairoGraphics::m_cr.
virtual GR_Image* GR_CairoPrintGraphics::genImageFromRectangle | ( | const UT_Rect & | ) | [inline, virtual] |
Implements GR_Graphics.
References UT_ASSERT_NOT_REACHED.
virtual GR_Capability GR_CairoPrintGraphics::getCapability | ( | ) | [inline, virtual] |
Reimplemented from GR_CairoGraphics.
virtual UT_uint32 GR_CairoPrintGraphics::getClassId | ( | ) | [inline, virtual] |
Implements GR_Graphics.
virtual GR_Graphics::Cursor GR_CairoPrintGraphics::getCursor | ( | void | ) | const [inline, virtual] |
Reimplemented from GR_CairoGraphics.
References UT_ASSERT_NOT_REACHED.
GR_Font * GR_CairoPrintGraphics::getGUIFont | ( | void | ) | [virtual] |
Implements GR_Graphics.
References UT_ASSERT_NOT_REACHED.
double GR_CairoPrintGraphics::getResolutionRatio | ( | void | ) | const [virtual] |
Reimplemented from GR_CairoGraphics.
References m_dResRatio.
static const char* GR_CairoPrintGraphics::graphicsDescriptor | ( | ) | [inline, static] |
bool GR_CairoPrintGraphics::queryProperties | ( | GR_Graphics::Properties | gp | ) | const [virtual] |
Reimplemented from GR_CairoGraphics.
References GR_Graphics::DGP_OPAQUEOVERLAY, GR_Graphics::DGP_PAPER, GR_Graphics::DGP_SCREEN, and UT_ASSERT_NOT_REACHED.
virtual void GR_CairoPrintGraphics::restoreRectangle | ( | UT_uint32 | ) | [inline, virtual] |
Reimplemented from GR_CairoGraphics.
References UT_ASSERT_NOT_REACHED.
static UT_uint32 GR_CairoPrintGraphics::s_getClassId | ( | ) | [inline, static] |
Reimplemented from GR_CairoGraphics.
References UT_ASSERT_NOT_REACHED.
Implements GR_Graphics.
References UT_ASSERT_NOT_REACHED.
virtual void GR_CairoPrintGraphics::scroll | ( | UT_sint32 | , | |
UT_sint32 | , | |||
UT_sint32 | , | |||
UT_sint32 | , | |||
UT_sint32 | , | |||
UT_sint32 | ||||
) | [inline, virtual] |
Implements GR_Graphics.
References UT_ASSERT_NOT_REACHED.
virtual void GR_CairoPrintGraphics::setCursor | ( | GR_Graphics::Cursor | ) | [inline, virtual] |
Implements GR_Graphics.
References UT_ASSERT_NOT_REACHED.
virtual void GR_CairoPrintGraphics::setPageSize | ( | char * | , | |
UT_uint32 | = 0 , |
|||
UT_uint32 | = 0 | |||
) | [inline, virtual] |
References UT_ASSERT_NOT_REACHED.
void GR_CairoPrintGraphics::setResolutionRatio | ( | double | dres | ) |
This number is the ratio of the screen resolution to the printer resolution. It is vital that the method that creates CairoPrintGraphics set this value. Otherwise printing of Maths will look weird.
See XAP_UnixDlg_Print::beginPrint(...)
References m_dResRatio.
bool GR_CairoPrintGraphics::startPage | ( | const char * | , | |
UT_uint32 | , | |||
bool | , | |||
UT_uint32 | , | |||
UT_uint32 | ||||
) | [virtual] |
Reimplemented from GR_CairoGraphics.
References m_bDoShowPage, and GR_CairoGraphics::m_cr.
virtual bool GR_CairoPrintGraphics::startPrint | ( | void | ) | [virtual] |
Reimplemented from GR_CairoGraphics.
bool GR_CairoPrintGraphics::m_bDoShowPage [private] |
Referenced by endPrint(), and startPage().
double GR_CairoPrintGraphics::m_dResRatio [private] |
Referenced by getResolutionRatio(), and setResolutionRatio().