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/lib_ref/pp/ppgetcanvas.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/lib_ref/pp/ppgetcanvas.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/lib_ref/pp/ppgetcanvas.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/lib_ref/pp/ppgetcanvas.html on line 8
Get the size of the current drawing area of a print context
PhDim_t PpGetCanvas( PpPrintContext_t *pc );
- pc
- The pointer to a
PpPrintContext_t
structure that was returned by
PpCreatePC().
ph
This function gets the size of the current drawing area associated with the
given print context,
taking into account the nonprintable area, margins, scale,
and either the current source resolution or size.
If neither a source resolution nor source size has been set,
100 dpi is used, and PpGetCanvas() fills in the
Pp_PC_SOURCE_RESOLUTION member of the print context.
A
PhDim_t
structure that defines the dimensions of the rectangle, or (0, 0) if
pc is invalid.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PhDim_t,
PpCreatePC(),
PpGetPC(),
PpPrintContext_t,
PpReleasePC(),
PpSetCanvas(),
PpSetPC()
Printing chapter of the
Programmer's Guide
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/lib_ref/pp/ppgetcanvas.html on line 120
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/lib_ref/pp/ppgetcanvas.html on line 120