Adobe.com
Contents Suites Classes Class Index Member Index

AIRandom.h

Go to the documentation of this file.
00001 #ifndef __AIRandom__
00002 #define __AIRandom__
00003 
00004 /*
00005  *        Name: AIRandom.h
00006  *   $Revision: 6 $
00007  *      Author:
00008  *        Date:
00009  *     Purpose: Adobe Illustrator Random Number Suite.
00010  *
00011  * ADOBE SYSTEMS INCORPORATED
00012  * Copyright 1986-2007 Adobe Systems Incorporated.
00013  * All rights reserved.
00014  *
00015  * NOTICE:  Adobe permits you to use, modify, and distribute this file 
00016  * in accordance with the terms of the Adobe license agreement 
00017  * accompanying it. If you have received this file from a source other 
00018  * than Adobe, then your use, modification, or distribution of it 
00019  * requires the prior written permission of Adobe.
00020  *
00021  */
00022 
00023 
00024 /*******************************************************************************
00025  **
00026  **     Imports
00027  **
00028  **/
00029 
00030 #ifndef __AITypes__
00031 #include "AITypes.h"
00032 #endif
00033 
00034 
00035 #include "AIHeaderBegin.h"
00036 
00040 /*******************************************************************************
00041  **
00042  ** Constants
00043  **
00044  **/
00045 
00046 #define kAIRandomSuite                  "AI Random Suite"
00047 #define kAIRandomSuiteVersion5  AIAPI_VERSION(5)
00048 #define kAIRandomSuiteVersion   kAIRandomSuiteVersion5
00049 #define kAIRandomVersion                kAIRandomSuiteVersion
00050 
00051 
00052 /*******************************************************************************
00053  **
00054  **     Suite
00055  **
00056  **/
00057 
00067 typedef struct {
00068 
00073         AIAPI AIReal (*FloatRnd) ( void );
00074 
00083         AIAPI void (*SetRndSeed) ( ai::int32 seed );
00084 
00107         AIAPI ai::int32 (*GetRndSeed) ( void );
00108 
00109 } AIRandomSuite;
00110 
00111 #include "AIHeaderEnd.h"
00112 
00113 
00114 #endif


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