plgpage(3) - Linux man page
Name
plgpage - Get page parametersSynopsis
plgpage(xp, yp, xleng, yleng, xoff, yoff)Description
Gets the current page configuration. The length and offset values are expressed in units that are specific to the current driver. For instance: screen drivers will usually interpret them as number of pixels, whereas printer drivers will usually use mm.
Redacted form: plgpage(xp, yp, xleng, yleng, xoff, yoff)
This function is used in example 31.
Arguments
- xp (PLFLT *, output)
- Pointer to number of pixels/inch (DPI), x.
- yp (PLFLT *, output)
- Pointer to number of pixels/inch (DPI) in y.
- xleng (PLINT *, output)
- Pointer to x page length value.
- yleng (PLINT *, output)
- Pointer to y page length value.
- xoff (PLINT *, output)
- Pointer to x page offset.
- yoff (PLINT *, output)
- Pointer to y page offset.