Base class for defining the properties of a Surface necessary to be interoperable with different APIs. More...
#include <Surface.h>
Inherited by cinder::gl::SurfaceConstraintsGLTexture, cinder::SurfaceConstraintsCairo, cinder::SurfaceConstraintsDefault, and cinder::SurfaceConstraintsGdiPlus.
Public Member Functions | |
virtual | ~SurfaceConstraints () |
virtual SurfaceChannelOrder | getChannelOrder (bool alpha) const |
virtual int32_t | getRowBytes (int requestedWidth, const SurfaceChannelOrder &sco, int elementSize) const |
Base class for defining the properties of a Surface necessary to be interoperable with different APIs.
virtual cinder::SurfaceConstraints::~SurfaceConstraints | ( | ) | [virtual] |
virtual SurfaceChannelOrder cinder::SurfaceConstraints::getChannelOrder | ( | bool | alpha | ) | const [virtual] |
Reimplemented in cinder::SurfaceConstraintsCairo, and cinder::gl::SurfaceConstraintsGLTexture.
virtual int32_t cinder::SurfaceConstraints::getRowBytes | ( | int | requestedWidth, | |
const SurfaceChannelOrder & | sco, | |||
int | elementSize | |||
) | const [virtual] |
Reimplemented in cinder::SurfaceConstraintsCairo, and cinder::gl::SurfaceConstraintsGLTexture.