Class to represent matrix used for transformation. More...
Public Member Functions | |
Matrix () | |
Default constructor. | |
Matrix (float a, float b, float c, float d, float e, float f) | |
Constructor to initialize a new instance of class Foxit::Matrix with specific values. | |
Matrix^ | GetReverse () |
Get a reversed matrix from current one. More... | |
PointF^ | TransformPointF (PointF^ pointF) |
Transform a float point. More... | |
RectF^ | TransformRectF (RectF^ rectF) |
Transform a float rectangle. More... | |
Properties | |
float | A |
Coefficient a. | |
float | B |
Coefficient b. | |
float | C |
Coefficient c. | |
float | D |
Coefficient d. | |
float | E |
Coefficient e. | |
float | F |
Coefficient f. | |
Class to represent matrix used for transformation.
Since device coordinate and PDF page coordinate are two different coordinates, matrix is useful to transform rectangle or point between these two coordinates. Usually, a PDF page transformation matrix can be got by function PDF::Page::GetDisplayMatrix.
Matrix ^ Foxit::Matrix::GetReverse | ( | ) |
Get a reversed matrix from current one.
Transform a float point.
[in] | pointF | A Foxit::PointF object that specifies the float point to be transformed. |
Transform a float rectangle.
[in] | rectF | A Foxit::RectF object that specifies the float renctangle to be tranformed. |