RectMapping /

#include “cinder/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
  • map (const Rectf &srcRect) const