![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Calculate an area based on the canvas and borders of a widget
PhArea_t * PtSetAreaFromCanvas(
PtWidget_t *widget,
PhRect_t const *canvas_rect,
PhArea_t *area)
ph
This function sets the PhArea_t structure pointed to by area to an area that produces a widget canvas of canvas_rect, given the attributes, borders, etc. of widget.
![]() |
The area argument must be provided and have its own storage. This function doesn't allocate any memory. |
The same pointer as the area argument, or NULL if an error occurred.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
PhArea_t, PhAreaToRect(), PhRect_t, PhRectToArea()
![]() |
![]() |
![]() |
![]() |