Maps points from one rectangle to another rectangle.
Maps points from one rectangle to another rectangle. This class represents a relation between the points of two rectangles. Given the coordinates of a point in the first rectangle (input rectangle), function map computes the coordinates of the corresponding point in the second rectangle (the output rectangle). This function actually implements an affine transform which maps the corners of the first rectangle onto the matching corners of the second rectangle. The scaling operation is performed using integer fraction arithmetic in order to maximize accuracy.
void clear()
void set_input(const GRect &rect)
void set_output(const GRect &rect)
void rotate(int count=1)
void mirrorx()
void mirrory()
void map(int &x, int &y)
void map(GRect &rect)
void unmap(int &x, int &y)
void unmap(GRect &rect)
Alphabetic index HTML hierarchy of classes or Java