Force a control surface to calculate its geometry
void PtCalcSurface( PtWidget_t *widget, PtSurface_t *surface );
ph
PtCalcSurface() forces a control surface to calculate its geometry.
The widget argument specifies the widget owning the surface, while surface points to the data structure that describes the control surface. Both pointers must not be NULL. This function is useful if the geometry of one surface depends on that of another.
This function call amounts to a no-op if the geometry for the specified surface has already been calculated for this pre/post-extent cycle. |
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtCalcSurfaceByAction(), PtCalcSurfaceById(), PtSurfaceCalcBoundingBox(), PtSurfaceCalcBoundingBoxById(), PtSurfaceExtent(), PtSurfaceExtentById(), PtSurfaceRect(), PtSurfaceRectById()
Control Surfaces chapter of the Photon Programmer's Guide