cinder::cairo::SurfaceCgBitmapContext Class Reference

#include <Cairo.h>

Inherits cinder::cairo::SurfaceBase.

List of all members.

Public Member Functions

 SurfaceCgBitmapContext ()
 SurfaceCgBitmapContext (int32_t width, int32_t height, bool alpha)
 SurfaceCgBitmapContext (const SurfaceCgBitmapContext &other)
cinder::SurfacegetSurface ()
const cinder::SurfacegetSurface () const
CGContextRef getCgContextRef ()
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

cinder::Surface mSurface
CGContextRef mCgContextRef
cairo_surface_tmCairoSurface
int32_t mWidth
int32_t mHeight

Constructor & Destructor Documentation

cinder::cairo::SurfaceCgBitmapContext::SurfaceCgBitmapContext (  ) 
cinder::cairo::SurfaceCgBitmapContext::SurfaceCgBitmapContext ( int32_t  width,
int32_t  height,
bool  alpha 
)
cinder::cairo::SurfaceCgBitmapContext::SurfaceCgBitmapContext ( const SurfaceCgBitmapContext other  ) 

Member Function Documentation

cinder::Surface& cinder::cairo::SurfaceCgBitmapContext::getSurface (  ) 
const cinder::Surface& cinder::cairo::SurfaceCgBitmapContext::getSurface (  )  const
CGContextRef cinder::cairo::SurfaceCgBitmapContext::getCgContextRef (  ) 
cairo_surface_t* cinder::cairo::SurfaceBase::getCairoSurface (  )  const [inherited]
int32_t cinder::cairo::SurfaceBase::getWidth (  )  const [inherited]
int32_t cinder::cairo::SurfaceBase::getHeight (  )  const [inherited]
float cinder::cairo::SurfaceBase::getAspectRatio (  )  const [inherited]
Area cinder::cairo::SurfaceBase::getBounds (  )  const [inherited]
Vec2i cinder::cairo::SurfaceBase::getSize (  )  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: