XPRINT FUNCTIONS XpGetImageResolution(3Xp)
NAME
XpGetImageResolution - Gets the current image resolution for
a print context.SYNOPSIS
cc [ flag... ] file... -lXp [ library... ]
cc [ flag... ] file... -lXp [ library... ]
#include
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 resolu-
tion.DESCRIPTION
XpGetImageResolution returns the current image resolution
for the specified print context. A value of zero means the resolution automatically tracks the printer resolution. If the request fails in some way, a negative value is returned. DIAGNOSTICSXPBadContext A valid print context-id has not been set
prior to making this call.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | x11/library/libxp ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | See XInitThreads(3X11) |
|_____________________________|_____________________________|
X Version 11 Last change: libXp 1.0.0 1