manpagez: man pages & more
man XpGetImageResolution(3)
Home | html | info | man
XpGetImageResolution(3Xp)      XPRINT FUNCTIONS      XpGetImageResolution(3Xp)




NAME

       XpGetImageResolution  -  Gets  the current image resolution for a print
       context.


SYNOPSIS

             cc [ flag... ] file... -lXp [ library... ]
             #include <X11/extensions/Print.h>

       int XpGetImageResolution ( display, print_context )
             Display *display;
             XPContext print_context;


ARGUMENTS

       display
              Specifies a pointer to the Display structure.

       print_context
              Specifies the print context on which to get the resolution.


DESCRIPTION

       XpGetImageResolution returns the current image resolution for the spec-
       ified print context. A value of zero means the resolution automatically
       tracks the printer resolution. If the request fails in some way, a neg-
       ative value is returned.


DIAGNOSTICS

       XPBadContext   A  valid print context-id has not been set prior to mak-
                      ing this call.



X Version 11                      libXp 1.0.3        XpGetImageResolution(3Xp)

libXp 1.0.3 - Generated Mon Mar 23 08:02:52 CDT 2015
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.