cinder::SurfaceConstraints Class Reference

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.

List of all members.

Public Member Functions

virtual ~SurfaceConstraints ()
virtual SurfaceChannelOrder getChannelOrder (bool alpha) const
virtual int32_t getRowBytes (int requestedWidth, const SurfaceChannelOrder &sco, int elementSize) const

Detailed Description

Base class for defining the properties of a Surface necessary to be interoperable with different APIs.


Constructor & Destructor Documentation

virtual cinder::SurfaceConstraints::~SurfaceConstraints (  )  [virtual]

Member Function Documentation

virtual SurfaceChannelOrder cinder::SurfaceConstraints::getChannelOrder ( bool  alpha  )  const [virtual]
virtual int32_t cinder::SurfaceConstraints::getRowBytes ( int  requestedWidth,
const SurfaceChannelOrder sco,
int  elementSize 
) const [virtual]

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