#include <Cairo.h>
Inherits cinder::cairo::SurfaceBase.
cinder::cairo::SurfaceImage::SurfaceImage |
( |
| ) |
|
cinder::cairo::SurfaceImage::SurfaceImage |
( |
const SurfaceImage & |
other | ) |
|
cinder::cairo::SurfaceImage::SurfaceImage |
( |
int32_t |
width, |
|
|
int32_t |
height, |
|
|
bool |
hasAlpha = false |
|
) |
| |
cinder::cairo::SurfaceImage::SurfaceImage |
( |
const uint8_t * |
dataPtr, |
|
|
int32_t |
width, |
|
|
int32_t |
height, |
|
|
int32_t |
stride, |
|
|
bool |
hasAlpha = false |
|
) |
| |
Creates a copy of ciSurface.
cinder::cairo::SurfaceImage::SurfaceImage |
( |
ImageSourceRef |
imageSource | ) |
|
uint8_t* cinder::cairo::SurfaceImage::getData |
( |
| ) |
|
const uint8_t* cinder::cairo::SurfaceImage::getData |
( |
| ) |
const |
int32_t cinder::cairo::SurfaceImage::getStride |
( |
| ) |
const |
void cinder::cairo::SurfaceImage::markDirty |
( |
| ) |
|
Call this when modifying the Surface's pixels outside of Cairo.
void cinder::cairo::SurfaceImage::initCinderSurface |
( |
bool |
alpha, |
|
|
cairo_surface_t * |
cairoSurface |
|
) |
| |
|
protected |
static void cinder::cairo::SurfaceImage::surfaceDeallocator |
( |
void * |
data | ) |
|
|
staticprotected |
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 |
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:
- blocks/Cairo/include/cinder/cairo/Cairo.h