Public Member Functions | Protected Attributes
cinder::cairo::SurfacePdf Class Reference

#include <Cairo.h>

Inherits cinder::cairo::SurfaceBase.

List of all members.

Public Member Functions

 SurfacePdf ()
 SurfacePdf (const fs::path &filePath, double widthInPoints, double heightInPoints)
 SurfacePdf (const SurfacePdf &other)
void setSize (double widthInPoints, double heightInPoints)
cairo_surface_tgetCairoSurface () const
int32_t getWidth () const
int32_t getHeight () const
float getAspectRatio () const
Area getBounds () const
Vec2i getSize () const
void flush ()

Protected Attributes

cairo_surface_tmCairoSurface
int32_t mWidth
int32_t mHeight

Constructor & Destructor Documentation

cinder::cairo::SurfacePdf::SurfacePdf ( const fs::path &  filePath,
double  widthInPoints,
double  heightInPoints 
)

Member Function Documentation

void cinder::cairo::SurfacePdf::setSize ( double  widthInPoints,
double  heightInPoints 
)
int32_t cinder::cairo::SurfaceBase::getWidth ( ) const [inherited]
int32_t cinder::cairo::SurfaceBase::getHeight ( ) const [inherited]
float cinder::cairo::SurfaceBase::getAspectRatio ( ) const [inherited]
void cinder::cairo::SurfaceBase::flush ( ) [inherited]

Member Data Documentation

int32_t cinder::cairo::SurfaceBase::mWidth [protected, inherited]
int32_t cinder::cairo::SurfaceBase::mHeight [protected, inherited]

The documentation for this class was generated from the following files: