|
Data Structures |
| struct | TPoint |
| | 2 dimension point More...
|
| struct | TSPoint |
| | 3 dimension point More...
|
| struct | TRect |
| | 2 dimension rectangle More...
|
| struct | TSize |
| | 2 dimension rectange size More...
|
Defines |
| #define | _PointInRect(p, r) (p.x >= r.a.x && p.y >= r.a.y && p.x <= r.b.x && p.y <= r.b.y) |
| | Inline version of PointInRect (faster, use only if you need high performances).
|
| #define | _RectOverlay(r, d) !( (r).a.x > (d).b.x || (r).a.y > (d).b.y || (r).b.x < (d).a.x || (r).b.y < (d).a.y ) |
| | Inline version of RectOverlay (faster, use only if you need high performances).
|
| #define | _RectIntersept(i, r, d) (i)->b.x = max((r).a.x, min((r).b.x, (d).b.x)); (i)->b.y = max((r).a.y, min((r).b.y, (d).b.y)); (i)->a.x = min((r).b.x, max((r).a.x, (d).a.x)); (i)->a.y = min((r).b.y, max((r).a.y, (d).a.y)); |
| | Inline version of RectIntersept (faster, use only if you need high performances).
|
Typedefs |
|
typedef TPoint | TPoint |
| | 2 dimension point
|
|
typedef TPoint * | PPoint |
| | 2 dimension point
|
|
typedef TSPoint | TSPoint |
| | 3 dimension point
|
|
typedef TSPoint * | PSPoint |
| | 3 dimension point
|
|
typedef TRect | TRect |
| | 2 dimension rectangle
|
|
typedef TRect * | PRect |
| | 2 dimension rectangle
|
|
typedef TSize | TSize |
| | 2 dimension rectange size
|
|
typedef TSize * | PSize |
| | 2 dimension rectange size
|