Adobe.com
Contents Suites Classes Class Index Member Index

ai::AutoCoordinateSystem Class Reference

A stack object used to change the coordinate system to be used by Illustrator API functions. More...

#include <AIAutoCoordinateSystem.h>

List of all members.

Public Member Functions

 AutoCoordinateSystem (AICoordinateSystem coordinateSystem=kAICurrentCoordinateSystem)
 Changes the coordinate system to be used by Illustrator API functions.
 ~AutoCoordinateSystem ()
 Destructor.

Detailed Description

A stack object used to change the coordinate system to be used by Illustrator API functions.

The coordinate system remains in use until the destruction of this object.

See also:
kAIHardSoftSuite

Constructor & Destructor Documentation

ai::AutoCoordinateSystem::AutoCoordinateSystem ( AICoordinateSystem  coordinateSystem = kAICurrentCoordinateSystem  )  [inline]

Changes the coordinate system to be used by Illustrator API functions.

The coordinate system remains in use until the destruction of this object, at which time the previous system is restored.

See also:
kAIHardSoftSuite
Parameters:
coordinateSystem [in] The new coordinate system constant, an AICoordinateSystem value.

References AIHardSoftSuite::GetCoordinateSystem, sAIHardSoft, and AIHardSoftSuite::SetCoordinateSystem.

ai::AutoCoordinateSystem::~AutoCoordinateSystem (  )  [inline]

Destructor.

Resets the coordinate system used by Illustrator API functions to the one that was saved when this object was created.

References sAIHardSoft, and AIHardSoftSuite::SetCoordinateSystem.


The documentation for this class was generated from the following file:


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