#include <Cairo.h>
Inherited by cinder::cairo::SurfaceCgBitmapContext, cinder::cairo::SurfaceEps, cinder::cairo::SurfaceGdi, cinder::cairo::SurfaceImage, cinder::cairo::SurfacePdf, cinder::cairo::SurfacePs, cinder::cairo::SurfaceQuartz, and cinder::cairo::SurfaceSvg.
Public Member Functions | |
SurfaceBase () | |
SurfaceBase (const SurfaceBase &other) | |
SurfaceBase & | operator= (const SurfaceBase &other) |
virtual | ~SurfaceBase () |
cairo_surface_t * | getCairoSurface () const |
int32_t | getWidth () const |
int32_t | getHeight () const |
float | getAspectRatio () const |
Area | getBounds () const |
Vec2i | getSize () const |
void | flush () |
Protected Member Functions | |
SurfaceBase (int32_t aWidth, int32_t aHeight) | |
Protected Attributes | |
cairo_surface_t * | mCairoSurface |
int32_t | mWidth |
int32_t | mHeight |
cinder::cairo::SurfaceBase::SurfaceBase | ( | const SurfaceBase & | other | ) |
cinder::cairo::SurfaceBase::~SurfaceBase | ( | ) | [virtual] |
cinder::cairo::SurfaceBase::SurfaceBase | ( | int32_t | aWidth, |
int32_t | aHeight | ||
) | [protected] |
SurfaceBase & cinder::cairo::SurfaceBase::operator= | ( | const SurfaceBase & | other | ) |
int32_t cinder::cairo::SurfaceBase::getWidth | ( | ) | const |
int32_t cinder::cairo::SurfaceBase::getHeight | ( | ) | const |
float cinder::cairo::SurfaceBase::getAspectRatio | ( | ) | const |
Area cinder::cairo::SurfaceBase::getBounds | ( | ) | const |
Vec2i cinder::cairo::SurfaceBase::getSize | ( | ) | const |
void cinder::cairo::SurfaceBase::flush | ( | ) |
cairo_surface_t* cinder::cairo::SurfaceBase::mCairoSurface [protected] |
int32_t cinder::cairo::SurfaceBase::mWidth [protected] |
int32_t cinder::cairo::SurfaceBase::mHeight [protected] |