Main Page | Modules | Data Structures | File List | Data Fields | Globals

metrics.h File Reference

Metrics Declarations and structures for metrics. More...


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 TPointPPoint
 2 dimension point
typedef TSPoint TSPoint
 3 dimension point
typedef TSPointPSPoint
 3 dimension point
typedef TRect TRect
 2 dimension rectangle
typedef TRectPRect
 2 dimension rectangle
typedef TSize TSize
 2 dimension rectange size
typedef TSizePSize
 2 dimension rectange size


Detailed Description

Metrics Declarations and structures for metrics.


Generated on Fri Oct 29 14:32:53 2004 for oZone GUI by doxygen 1.3.8