![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Get the bounding box of a control surface
PhRect_t *PtSurfaceRect( PtSurface_t *surface,
PhRect_t *rect );
PhRect_t *PtSurfaceRectById( PtWidget_t *widget,
uchar_t surface_id,
PhRect_t *rect );
ph
These functions retrieve the bounding box of a control surface. They differ in the way they identify the control surface:
If rect is non-NULL, the result is copied there and the functions return rect. Otherwise, a pointer to the surface's internal data is returned.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
PtSurfaceRect() is a macro.
PhRect_t, PtCalcSurface(), PtCalcSurfaceByAction(), PtCalcSurfaceById(), PtSurfaceCalcBoundingBox(), PtSurfaceCalcBoundingBoxById(), PtSurfaceExtent(), PtSurfaceExtentById()
Control Surfaces chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |