![]() |
ai::DocumentUtils Namespace Reference
Function Documentation
Converting the value of AIReal to scaled coordinate System.
template<typename Point >
Converting the coordinates of the AIPoint to scaled coordinate System.
References GetDocumentScale().
template<typename Rect >
Converting the coordinates of the AIRealRect to scaled coordinate System.
References ApplyScaleToRect(), and GetDocumentScale().
template<typename Rect >
Multiply the coordinates of the AIRealRect with given scale value.
Referenced by ApplyDocumentScaleToRect().
Converting the value of AIReal to scaled coordinate System.
template<typename Point >
Converting the coordinates of the AIPoint to scaled coordinate System.
References GetDocumentScale().
template<typename Rect >
Converting the coordinates of the scaled Rect to unscaled coordinate System.
References GetDocumentScale().
For each document with document scale factor X, each object's dimension have to multiplied by X to get the correct dimensions of the object in UI For example, if document scale factor is X, then a 10x10 rectangle will actually will be displayed as (10*X)x(10*X) rectangle in UI Geting the scale associated with the current document.
Referenced by ApplyDocumentScaleToPoint(), ApplyDocumentScaleToRect(), DropDocumentScaleFromPoint(), and DropDocumentScaleFromRect().
Getting the transform matrix for converting the user defind artworks to tranform to documents with scale factor greater than 1.
Getting the transform matrix for converting the user defind artworks to tranform to documents with scale factor greater than 1 from a given reference point.
Getting the transform matrix for converting the user defind artworks to tranform to documents with specified scale factor.
Getting the transform matrix for converting the user defind artworks to tranform to documents with specified scale factor from a given reference point.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
![]() |
|