The pdImgGetTransformPlus (or pdImgGetTransform) function returns the transformation matrix associated with an existing PowerDoc image.
The only difference between pdImgGetTransformPlus and pdImgGetTransform is that pdImgGetTransformPlus returns the full 3x3 transformation matrix while pdImgGetTransform only returns its top two rows and columns. Therefore, pdImgGetTransform is more limited (i.e. this function cannot be used to retrieve the full perspective transform associated with a PowerDoc image).
Parameter | Description |
---|---|
power_doc |
Handle of the associated Power Engine document. |
img |
Image's index in the Power Engine document. |
transform |
For pdImgGetTransformPlus, this is a 3x3 transformation matrix. This matrix represents the 2D perspective (or projective) transform currently associated with the specified PowerDoc image. For more information, see the description of the DT_TM3X3 basic data type in this manual. For pdImgGetTransform, this is a 2x2 transformation matrix. This matrix represents the top two rows and columns of the 2D perspective transform currently associated with the specified PowerDoc image. For more information, see the description of the DT_TM2X2 basic data type in this manual. |
pdImgSetTransformPlus, pdImgSetTransform
pdImgAddPlus, pdImgAdd