[Previous] [Contents] [Index] [Next]

PtWidgetVisibleExtent()

Calculate the visible portion of a widget

Synopsis:

int PtWidgetVisibleExtent ( PtWidget_t *widget,
                            PhRect_t *rect );

Description:

This function determines the portion of a rectangle, rect, that isn't clipped by any parent of widget.

Returns:

0
No portion of rect is visible
1
Success - rect contains the portion of the original rectangle that isn't clipped by any of widget's parents

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

[Previous] [Contents] [Index] [Next]