Cinder  0.9.1
Public Member Functions | Protected Attributes | List of all members
cinder::cairo::SurfaceQuartz Class Reference

#include <Cairo.h>

Inherits cinder::cairo::SurfaceBase.

Public Member Functions

 SurfaceQuartz ()
 
 SurfaceQuartz (CGContextRef cgContext, int32_t width, int32_t height)
 
 SurfaceQuartz (const SurfaceQuartz &other)
 
CGContextRef getCgContextRef ()
 
cairo_surface_tgetCairoSurface () const
 
int32_t getWidth () const
 
int32_t getHeight () const
 
float getAspectRatio () const
 
Area getBounds () const
 
ivec2 getSize () const
 
void flush ()
 

Protected Attributes

CGContextRef mCgContextRef
 
cairo_surface_tmCairoSurface
 
int32_t mWidth
 
int32_t mHeight
 

Constructor & Destructor Documentation

cinder::cairo::SurfaceQuartz::SurfaceQuartz ( )
cinder::cairo::SurfaceQuartz::SurfaceQuartz ( CGContextRef  cgContext,
int32_t  width,
int32_t  height 
)
cinder::cairo::SurfaceQuartz::SurfaceQuartz ( const SurfaceQuartz other)

Member Function Documentation

CGContextRef cinder::cairo::SurfaceQuartz::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
ivec2 cinder::cairo::SurfaceBase::getSize ( ) const
inherited
void cinder::cairo::SurfaceBase::flush ( )
inherited

Member Data Documentation

CGContextRef cinder::cairo::SurfaceQuartz::mCgContextRef
protected
cairo_surface_t* cinder::cairo::SurfaceBase::mCairoSurface
protectedinherited
int32_t cinder::cairo::SurfaceBase::mWidth
protectedinherited
int32_t cinder::cairo::SurfaceBase::mHeight
protectedinherited

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