roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
smooth_transformation.h File Reference
Include dependency graph for smooth_transformation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  roo_display::IdentityTransformation
 Identity transformation. More...
 
class  roo_display::Translation
 Translation by (dx, dy). More...
 
class  roo_display::Scaling
 Scaling by (sx, sy). More...
 
class  roo_display::Rotation
 Rotation by angle in radians (clockwise). More...
 
class  roo_display::AffineTransformation
 General affine transformation. More...
 
class  roo_display::ProjectiveTransformation
 General projective transformation (2D homography). More...
 
class  roo_display::TransformedRaster< RasterType, TransformationType >
 

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::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.
 
template<typename RasterType , typename TransformationType >
TransformedRaster< RasterType, TransformationTyperoo_display::TransformRaster (RasterType &original, TransformationType transformation)
 Return a rasterizable representation of a transformed raster.