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

PpSetCanvas()

Set the size of the drawing area for a print context

Synopsis:

PhDim_t PpSetCanvas( PpPrintContext_t *pc,
                     PhDim_t size );

Library:

ph

Description:

This function sets the size of the current drawing area associated with the print context, pc, to that specified in the PhDim_t structure pointed to by size.

Returns:

The dimensions of the rectangle, or (0, 0) if pc is invalid.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhDim_t, PpCreatePC(), PpGetCanvas(), PpGetPC(), PpReleasePC(), PpSetPC()

Printing chapter of the Programmer's Guide


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