PhRectToArea()

Convert a rectangle into an area

Synopsis:

void PhRectToArea( PhRect_t const *rect,
                   PhArea_t *area);

Library:

ph

Description:

This function converts a rectangle (i.e. upper-left and lower-right points) into an area (i.e. a position and dimensions).

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhArea_t, PhAreaToRect(), PhRect_t