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

PtSetAreaFromWidgetCanvas()

Set an area based on the canvas of a widget

Synopsis:

PhArea_t * PtSetAreaFromWidgetCanvas( 
               PtWidget_t *widget,
               PhRect_t const *canvas_rect, 
               PhArea_t *area)

Description:

This function sets area to an area that produces a widget canvas of canvas_rect, given the attributes, borders, etc. of widget.


Note: The area argument must be provided and have its own storage. This function doesn't allocate any memory.

Returns:

A pointer to the area argument, or NULL if an error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtSetAreaFromExtent()


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