Calculate the extent of a widget
PhRect_t * PtSetExtentFromArea( PtWidget_t *widget, PhArea_t const *area, PhRect_t *extent );
This function calculates the extent rectangle of widget and places the result in the structure pointed to by extent. The extent is calculated based on the area, and the widget's borders only (i.e. no anchoring or resize policy is enforced).
The same pointer as the extent rectangle.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PhArea_t, PhRect_t in the Photon Library Reference