roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
smooth_transformation.cpp File Reference
Include dependency graph for smooth_transformation.cpp:

Go to the source code of this file.

Namespaces

namespace  roo_display
 Defines 140 opaque HTML named colors.
 

Functions

Translation roo_display::Translate (float dx, float dy)
 Return a translation by the specified vector.
 
Scaling roo_display::Scale (float sx, float sy)
 Return a scaling about the origin.
 
AffineTransformation roo_display::ScaleAbout (float sx, float sy, const FpPoint &center)
 Return a scaling about a given center.
 
Rotation roo_display::RotateRight (float angle)
 Return a clockwise rotation about the origin.
 
Rotation roo_display::RotateRight ()
 Return a 90-degree clockwise rotation about the origin.
 
AffineTransformation roo_display::RotateRightAbout (float angle, const FpPoint &center)
 Return a clockwise rotation about a point.
 
AffineTransformation roo_display::RotateRightAbout (const FpPoint &center)
 Return a 90-degree clockwise rotation about a point.
 
Rotation roo_display::RotateLeft (float angle)
 Return a counter-clockwise rotation about the origin.
 
Rotation roo_display::RotateLeft ()
 Return a 90-degree counter-clockwise rotation about the origin.
 
AffineTransformation roo_display::RotateLeftAbout (float angle, const FpPoint &center)
 Return a 90-degree counter-clockwise rotation about a point.
 
AffineTransformation roo_display::RotateLeftAbout (const FpPoint &center)
 
AffineTransformation roo_display::Shear (float sx, float sy)
 Return a shear rooted at the origin.
 
AffineTransformation roo_display::Shear (float sx, float sy, const FpPoint &base)
 Return a shear rooted at the specified point.
 
AffineTransformation roo_display::ShearHorizontally (float sx)
 Return a horizontal shear rooted at the origin.
 
AffineTransformation roo_display::ShearHorizontallyAbout (float sx, float base_y)
 Return a horizontal shear rooted at base_y.
 
AffineTransformation roo_display::ShearVertically (float sy)
 Return a vertical shear rooted at the origin.
 
AffineTransformation roo_display::ShearVerticallyAbout (float sy, float base_x)
 Return a vertical shear rooted at base_x.
 
ProjectiveTransformation roo_display::Perspective (float px, float py)
 Return a perspective transformation rooted at the origin.
 
ProjectiveTransformation roo_display::PerspectiveAbout (float px, float py, const FpPoint &base)
 Return a perspective transformation rooted at base.