[Previous] [Contents] [Index] [Next]

PtSetExtentFromArea()

Calculate the extent of a widget

Synopsis:

PhRect_t * PtSetExtentFromArea( 
              PtWidget_t *widget, 
              PhArea_t const *area, 
              PhRect_t *extent );

Description:

This function calculates the extent rectangle of widget and places the result in extent. The extent is calculated based on area and the widget's borders only (i.e. no anchoring or resize policy is enforced).

Returns:

A pointer to the extent rectangle.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

[Previous] [Contents] [Index] [Next]