22#ifndef _CAIRO_PRINT_H_
23#define _CAIRO_PRINT_H_
61#if defined(__WXGTK__) && !defined(__WXGTK3__)
86 std::unique_ptr<CAIRO_PRINT_CTX> aContext );
Provide a Cairo context created from wxPrintDC.
bool HasNativeLandscapeRotation() const override
cairo_t * GetContext() const
double GetNativeDPI() const override
cairo_surface_t * m_surface
cairo_surface_t * GetSurface() const
PRINT_CONTEXT * GetPrintCtx() const override
void SetSheetSize(const VECTOR2D &aSize) override
bool isLandscape() const
< Returns true if page orientation is landscape
bool m_hasNativeLandscapeRotation
void SetNativePaperSize(const VECTOR2D &aSize, bool aRotateIfLandscape) override
std::unique_ptr< CAIRO_PRINT_CTX > m_printCtx
void ComputeWorldScreenMatrix() override
Compute the world <-> screen transformation matrix.
VECTOR2D m_nativePaperSize
Flag indicating whether the platform rotates page automatically or GAL needs to handle it in the tran...
Wrapper around GAL to provide information needed for printing.
Abstract interface for drawing on a 2D-surface.
The Cairo implementation of the graphics abstraction layer.