Cinder  0.9.1
Public Member Functions | List of all members
cinder::RectMapping Class Reference

#include <Rect.h>

Public Member Functions

 RectMapping ()
 
 RectMapping (const Rectf &aSrcRect, const Rectf &aDstRect)
 
 RectMapping (const Rectf &aSrcRect, const Rectf &aDstRect, bool preserveSrcAspect)
 
vec2 map (const vec2 &srcPoint) const
 
Rectf map (const Rectf &srcRect) const
 

Constructor & Destructor Documentation

cinder::RectMapping::RectMapping ( )
cinder::RectMapping::RectMapping ( const Rectf aSrcRect,
const Rectf aDstRect 
)
cinder::RectMapping::RectMapping ( const Rectf aSrcRect,
const Rectf aDstRect,
bool  preserveSrcAspect 
)

Member Function Documentation

vec2 cinder::RectMapping::map ( const vec2 &  srcPoint) const
Rectf cinder::RectMapping::map ( const Rectf srcRect) const

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