# Cinder

# cinder::RectMapping Class Reference

`#include <Rect.h>`

List of all members.

## Public Member Functions
| 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 | ( | 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:

- include/cinder/Rect.h
- src/cinder/Rect.cpp