Adobe.com
Contents Suites Classes Class Index Member Index

AIPattern.h File Reference

#include "AITypes.h"
#include "AIArt.h"
#include "AIColor.h"
#include "AIPathStyle.h"
#include "AIHeaderBegin.h"
#include "AIHeaderEnd.h"

Go to the source code of this file.

Classes

struct  AIPatternSuite
 This suite provides functions that allow you to create, delete, and modify patterns. More...

Defines

#define kAIPatternSuite   "AI Pattern Suite"
#define kAIPatternSuiteVersion10   AIAPI_VERSION(10)
#define kAIPatternSuiteVersion   kAIPatternSuiteVersion10
#define kAIPatternVersion   kAIPatternSuiteVersion
#define kAIArtPatternChangedNotifier   "AI Art Pattern Changed Notifier"
 See AIPatternSuite.
#define CallAIPatternProc(userRoutine, art)   (*(userRoutine))((art))
 Convenience macro to invokes a developer-defined routine for an art object.
#define NewAIPatternProc(userRoutine)   (AIPatternUPP)(userRoutine)
 Convenience macro to cast a developer-defined routine to a pattern callback procedure.

Typedefs

typedef void(* AIPatternProcPtr )(AIArtHandle art)
 Prototype for an iteration callback function.
typedef AIPatternProcPtr AIPatternUPP
 Pointer to a user-defined iteration callback procedure.

Detailed Description


Define Documentation

#define CallAIPatternProc ( userRoutine,
art   )     (*(userRoutine))((art))

Convenience macro to invokes a developer-defined routine for an art object.

#define kAIPatternSuite   "AI Pattern Suite"
#define kAIPatternSuiteVersion   kAIPatternSuiteVersion10
#define kAIPatternSuiteVersion10   AIAPI_VERSION(10)
#define kAIPatternVersion   kAIPatternSuiteVersion
#define NewAIPatternProc ( userRoutine   )     (AIPatternUPP)(userRoutine)

Convenience macro to cast a developer-defined routine to a pattern callback procedure.

For example:

void MyUserProc(AIArtHandle art);
AIArtHandle group;

AIPatternUPP myUserProcUPP = NewAIPatternProc(MyUserProc);
CallAIPatternProc(myUserProcUPP, group);
	

Typedef Documentation

typedef void(* AIPatternProcPtr)(AIArtHandle art)

Prototype for an iteration callback function.

See AIPatternSuite::IteratePattern().

Parameters:
art The current generated art object.
Returns:
Nothing.

Pointer to a user-defined iteration callback procedure.



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