RenderContext

Constructors

this
this(EvRenderContext* evRenderContext, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this(Page page, int rotation, double scale)

Members

Functions

computeScaledSize
void computeScaledSize(double widthPoints, double heightPoints, int* scaledWidth, int* scaledHeight)
computeScales
void computeScales(double widthPoints, double heightPoints, double* scaleX, double* scaleY)
computeTransformedSize
void computeTransformedSize(double widthPoints, double heightPoints, int* transformedWidth, int* transformedHeight)
getRenderContextStruct
EvRenderContext* getRenderContextStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

setPage
void setPage(Page page)
setRotation
void setRotation(int rotation)
setScale
void setScale(double scale)
setTargetSize
void setTargetSize(int targetWidth, int targetHeight)

Static functions

getType
GType getType()

Variables

evRenderContext
EvRenderContext* evRenderContext;

the main Gtk struct

Meta