XGContextFromGC man page on HP-UX
[printable version]
XGContextFromGC() XGContextFromGC()
Name
XGContextFromGC - obtain the GContext (resource ID) associated with the
specified graphics context.
Synopsis
GContext XGContextFromGC(gc)
GC gc;
Arguments
gc Specifies the graphics context of the desired resource ID.
Returns
The GContext.
Description
XGContextFromGC() extracts the resource ID from the GC structure. The
GC structure is Xlib's local cache of GC values and contains a field
for the GContext ID. This function is essentially a macro that
accesses this field, since the GC structure is intended to be opaque.
A GContext is needed to set a field of the XVisualInfo structure prior
to calling XGetVisualInfo().
See Also
XDefaultGC(), XChangeGC(), XCopyGC(), XCreateGC(), XFreeGC(), XSetArc‐
Mode(), XSetBackground(), XSetClipMask(), XSetClipOrigin(), XSet‐
ClipRectangles(), XSetDashes(), XSetFillRule(), XSetFillStyle(), XSet‐
Foreground(), XSetFunction(), XSetGraphicsExposures(), XSetLineAt‐
tributes(), XSetPlaneMask(), XSetState(), XSetStipple(), XSetSubwindow‐
Mode(), XSetTSOrigin().
Xlib - Graphics Context XGContextFromGC()
[top]
List of man pages available for HP-UX
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|