HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_Rect.h File Reference
#include "UT_API.h"
#include "UT_Swap.h"
#include <SYS/SYS_Types.h>
#include <iostream>
#include <stddef.h>
+ Include dependency graph for UT_Rect.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UT_Rect< T >
 Base Integer Rectangle class. More...
 
class  UT_Rect< T >
 Base Integer Rectangle class. More...
 

Typedefs

typedef UT_Rect< UT_DimRectImpl > UT_DimRect
 
typedef UT_Rect
< UT_InclusiveRectImpl > 
UT_InclusiveRect
 Integer rectangle class which stores its data as inclusive lower-left to upper-right (x1, y1, x2, y2). More...
 
typedef UT_Rect
< UT_ExclusiveRectImpl > 
UT_ExclusiveRect
 Integer rectangle class which stores its data as exclusive lower-left to upper-right (x1, y1, x2e, y2e). The upper-right corner position (x2e, y2e) is equivalent to (x2+1, y2+1). More...
 

Functions

int UTinclusiveFlip (int v, int d)
 Flip a particular coordinate value according to the given dimension. More...
 

Typedef Documentation

typedef UT_Rect<UT_DimRectImpl> UT_DimRect

Definition at line 47 of file UT_Rect.h.

typedef UT_Rect< UT_ExclusiveRectImpl > UT_ExclusiveRect

Integer rectangle class which stores its data as exclusive lower-left to upper-right (x1, y1, x2e, y2e). The upper-right corner position (x2e, y2e) is equivalent to (x2+1, y2+1).

See Also
UT_Rect

Definition at line 60 of file UT_Rect.h.

typedef UT_Rect< UT_InclusiveRectImpl > UT_InclusiveRect

Integer rectangle class which stores its data as inclusive lower-left to upper-right (x1, y1, x2, y2).

See Also
UT_Rect

Definition at line 53 of file UT_Rect.h.

Function Documentation

int UTinclusiveFlip ( int  v,
int  d 
)
inline

Flip a particular coordinate value according to the given dimension.

Definition at line 33 of file UT_Rect.h.