Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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)
 
Vec2f map (const Vec2f &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

Vec2f cinder::RectMapping::map ( const Vec2f srcPoint) const
Rectf cinder::RectMapping::map ( const Rectf srcRect) const

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