roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
roo_display::Translation Class Reference

Translation by (dx, dy). More...

#include <smooth_transformation.h>

Public Member Functions

 Translation (float dx, float dy)
 
FpPoint apply (FpPoint p) const
 
float dx () const
 
float dy () const
 
Translation then (IdentityTransformation t) const
 
Translation then (Translation t) const
 
AffineTransformation then (Scaling t) const
 
AffineTransformation then (Rotation t) const
 
AffineTransformation then (AffineTransformation t) const
 
ProjectiveTransformation then (ProjectiveTransformation t) const
 
Translation inversion () const
 
Box transformExtents (Box extents) const
 

Detailed Description

Translation by (dx, dy).

Definition at line 126 of file smooth_transformation.h.

Constructor & Destructor Documentation

◆ Translation()

roo_display::Translation::Translation ( float  dx,
float  dy 
)
inline

Definition at line 128 of file smooth_transformation.h.

Member Function Documentation

◆ apply()

FpPoint roo_display::Translation::apply ( FpPoint  p) const
inline

Definition at line 130 of file smooth_transformation.h.

◆ dx()

float roo_display::Translation::dx ( ) const
inline

Definition at line 132 of file smooth_transformation.h.

◆ dy()

float roo_display::Translation::dy ( ) const
inline

Definition at line 133 of file smooth_transformation.h.

◆ inversion()

Translation roo_display::Translation::inversion ( ) const
inline

Definition at line 142 of file smooth_transformation.h.

◆ then() [1/6]

AffineTransformation roo_display::Translation::then ( AffineTransformation  t) const

Definition at line 138 of file smooth_transformation.cpp.

◆ then() [2/6]

◆ then() [3/6]

ProjectiveTransformation roo_display::Translation::then ( ProjectiveTransformation  t) const

◆ then() [4/6]

AffineTransformation roo_display::Translation::then ( Rotation  t) const

Definition at line 131 of file smooth_transformation.cpp.

◆ then() [5/6]

AffineTransformation roo_display::Translation::then ( Scaling  t) const

Definition at line 127 of file smooth_transformation.cpp.

◆ then() [6/6]

Translation roo_display::Translation::then ( Translation  t) const

Definition at line 123 of file smooth_transformation.cpp.

◆ transformExtents()

Box roo_display::Translation::transformExtents ( Box  extents) const
inline

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