#include <math.h>#include "Fastftol.h"Include dependency graph for Macros.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | MenuDoc |
Defines | |
| #define | __MACROS_H |
| #define | __OS9ROS_H |
| #define | ABS(a) (((a)<0)?(-(a)):(a)) |
| #define | MAX(a, b) (((a)>(b))?(a):(b)) |
| #define | MIN(A, B) ((A)<(B)?(A):(B)) |
| #define | ROWBYTES(A) (((A)+15)>>4<<1) |
| #define | ROWWORDS(A) (((A)+15)>>4) |
| #define | ROUNDOFF(A) (LONG)((A)<(0)?((A)-.5):((A)+.5)) |
| #define | ISODD(A) (A&0x1) |
| #define | INVERSE(A) { A.x=-A.x;A.y=-A.y;A.z=-A.z; } |
| #define | FLOOR(a) ((a)>(0) ? (int)(a) : -(int)(-a)) |
| #define | CEILING(a) ((a)==(int)(a) ? (a) : (a)>0 ? 1+(int)a : -(1+(int)(-a))) |
| #define | SIGN(x) ((x) >= 0 ? 1 : -1) |
| #define | NUMELEMENTS(array) (sizeof(array)/sizeof(array[0])) |
| #define | NULLDELETE(a) { delete a; a = NULL; } |
| #define | PADWIDTH(x) (((x)*8 + 31) & (~31))/8 |
| #define | DOC(A) "" |
| #define | MENU_DOC(A, B) |
| #define | DLLEXPORT |
Functions | |
| void | Round (float &number, float modulo) |
| float | RoundValue (float number, float modulo) |
| long | RoundValue (double number) |
| void | AddMenuDoc (MenuDoc *menudoc) |
| void * | GetMenuDocMap () |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 15 of file Macros.h. Referenced by RGBFloat::GetCOLORREF(), TimeRange::operator &=(), TimeLineRect::operator|=(), TimeRange::operator|=(), InfluenceShape::SetAttenuation(), and TimeRange::Union(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by MenuDoc::MenuDoc(), and RoundValue(). |
|
|
|
|
||||||||||||
|
Definition at line 37 of file Macros.h. Referenced by RoundValue(), and String::String(). Here is the call graph for this function: ![]() |
|
|
Definition at line 57 of file Macros.h. References AddMenuDoc(), and SIGN. Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 50 of file Macros.h. References Round(). Referenced by Time::CeilToFrame(), Time::FloorToFrame(), Time::operator *(), Time::operator *=(), Time::operator/(), Time::operator/=(), Time::SetSeconds(), Time::SnapToFrame(), Time::StepFrame(), and Time::StepFrames(). Here is the call graph for this function: ![]() |
Generated on Thu Oct 27 11:46:48 2005 with
1.4.5 written by Dimitri van Heesch,
© 1997-2001