pf_rect_t

Coordinates of a rectangle

Synopsis:

typedef struct pfRect {  
    pf_point_t ul;
    pf_point_t lr;
    } pf_rect_t;

Description:

The pf_rect_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