#include <Cairo.h>
Inherits cinder::cairo::SurfaceBase.
Public Member Functions | |
SurfaceSvg () | |
SurfaceSvg (const fs::path &filePath, uint32_t aWidth, uint32_t aHeight) | |
SurfaceSvg (const SurfaceSvg &other) | |
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 Attributes | |
cairo_surface_t * | mCairoSurface |
int32_t | mWidth |
int32_t | mHeight |
cinder::cairo::SurfaceSvg::SurfaceSvg | ( | const fs::path & | filePath, |
uint32_t | aWidth, | ||
uint32_t | aHeight | ||
) |
cinder::cairo::SurfaceSvg::SurfaceSvg | ( | const SurfaceSvg & | other | ) |
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] |
cairo_surface_t* cinder::cairo::SurfaceBase::mCairoSurface [protected, inherited] |
int32_t cinder::cairo::SurfaceBase::mWidth [protected, inherited] |
int32_t cinder::cairo::SurfaceBase::mHeight [protected, inherited] |