![]() |
Cinder
0.9.1
|
#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 |
cinder::RectMapping::RectMapping | ( | ) |
cinder::RectMapping::RectMapping | ( | const Rectf & | aSrcRect, |
const Rectf & | aDstRect, | ||
bool | preserveSrcAspect | ||
) |
vec2 cinder::RectMapping::map | ( | const vec2 & | srcPoint | ) | const |