PtBlit()

Blit an area within a widget

Synopsis:

int PtBlit( PtWidget_t *widget,
            PhRect_t const *source,
            PhPoint_t const *delta );

Library:

ph

Description:

This function blits the area that's defined by the PhRect_t structure pointed to by source (relative to the widget's origin) by an offset specified by the PhPoint_t structure pointed to by delta. Effects of the blit are limited to only the visible portions of the widget's canvas.

Returns:

0
Success.
-1
The blit failed, possibly because the widget wasn't realized or the Photon Manager wasn't running.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhBlit(), PhPoint_t, PhRect_t, PtClippedBlit()