Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/libs/ptchildboundingbox.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/libs/ptchildboundingbox.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/libs/ptchildboundingbox.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/libs/ptchildboundingbox.html on line 8
Calculate a widget's canvas and its children's bounding boxes
PhRect_t *PtChildBoundingBox( PtWidget_t *widget,
PhRect_t *canvas,
PhRect_t *render );
- widget
- A pointer to the widget for which you want to calculate the canvas.
- canvas
- A pointer to a
PhRect_t
structure (see the Photon Library Reference).
If this pointer isn't NULL, the rectangle it points to is set
to the canvas rectangle of the PtBasic-class level for
the specified widget.
- render
- A pointer to a PhRect_t structure in which the function
stores the bounding box.
You must provide a non-NULL pointer for this argument.
This function calculates the canvas of widget and finds the
bounding box of widget's children relative to the origin of
the parent's position.
The same pointer as the render argument.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PtSuperClassExtent()
PhRect_t,
PtCalcCanvas()
in the Photon Library Reference
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/libs/ptchildboundingbox.html on line 117
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/libs/ptchildboundingbox.html on line 117