PhRect_t

Coordinates of a rectangle

Synopsis:

typedef struct Ph_rect { 
    PhPoint_t ul, lr;
    } PhRect_t;

Description:

The PhRect_t structure describes the coordinates of a rectangle. It contains at least the following members:

ul
Upper-left corner.
lr
Lower-right corner.

Classification:

Photon

See also:

PhArea_t, PhAreaToRect(), PhDeTranslateRect(), PhDim_t, PhPoint_t PhRectIntersect(), PhRectToArea(), PhRectUnion(), PhTranslateRect()

Geometry data types in the Working with Code chapter of the Photon Programmer's Guide