Adobe.com
Contents Suites Classes Class Index Member Index

IAIDocumentUtils.cpp File Reference

#include "IAIDocumentUtils.hpp"
#include "AIDocument.h"
#include "AIAssert.hpp"
#include "AIRealMath.h"
#include "AILimits.h"
#include "AIHardSoft.h"

Namespaces

namespace  ai
 

Usage:.


namespace  ai::DocumentUtils

Functions

AIReal ai::DocumentUtils::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.
AIRealMatrix ai::DocumentUtils::GetTransformMatrixForScaleFactorFromReference (const AIReal &scaleFactor, const AIRealPoint &referencePoint)
 Getting the transform matrix for converting the user defind artworks to tranform to documents with specified scale factor from a given reference point.
AIRealMatrix ai::DocumentUtils::GetTransFormMatrixForScaleFactor (const AIReal &scaleFactor)
 Getting the transform matrix for converting the user defind artworks to tranform to documents with specified scale factor.
AIRealMatrix ai::DocumentUtils::GetTransformMatrixForDocumentScaleFromReference (const AIRealPoint &referencePoint)
 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.
AIRealMatrix ai::DocumentUtils::GetTransFormMatrixForDocumentScale ()
 Getting the transform matrix for converting the user defind artworks to tranform to documents with scale factor greater than 1.
void ai::DocumentUtils::ApplyDocumentScaleToAIReal (const AIReal &inReal, AIReal &outReal)
 Converting the value of AIReal to scaled coordinate System.
void ai::DocumentUtils::DropDocumentScaleFromAIReal (const AIReal &inReal, AIReal &outReal)
 Converting the value of AIReal to scaled coordinate System.

Variables

AIDocumentSuitesAIDocument
AIRealMathSuitesAIRealMath
AILimitsSuitesAILimits
AIHardSoftSuitesAIHardSoft
 A plug-in using the ai::AutoCoordinateSystem class is required to provide these global suite pointers.
AITransformArtSuitesAITransformArt

Variable Documentation

A plug-in using the ai::AutoCoordinateSystem class is required to provide these global suite pointers.

These pointers must be valid prior to any call to ai::AutoCoordinateSystem methods.

Referenced by ai::AutoCoordinateSystem::AutoCoordinateSystem(), and ai::AutoCoordinateSystem::~AutoCoordinateSystem().



Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2014 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks