XSetTSOrigin man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XSetTSOrigin()							XSetTSOrigin()

Name
  XSetTSOrigin – set the tile/stipple origin in a graphics context.

Synopsis
  XSetTSOrigin(display, gc, ts_x_origin, ts_y_origin)
	Display *display;
	GC gc;
	int ts_x_origin, ts_y_origin;

Arguments
  display     Specifies	 a  connection	to  an	X  server;  returned from
	      XOpenDisplay().

  gc	      Specifies the graphics context.

  ts_x_origin Specify the x and y coordinates of the tile/stipple origin.

  ts_y_origin

Description
  XSetTSOrigin() sets the ts_x_origin and ts_y_origin components in a GC,
  which	 are measured relative to the origin of the drawable specified in
  the drawing request that uses the GC.	 This controls the  placement  of
  the  tile  or	 the  stipple  pattern that patterns an area.  To tile or
  stipple a child so that the pattern matches the  parent,  you	 need  to
  subtract  the current position of the child window from ts_x_origin and
  ts_y_origin.

  For more information, see Volume One, Chapter 5, The Graphics Context.

Errors
  BadAlloc
  BadGC

See Also
  XDefaultGC(), XChangeGC(), XCopyGC(),	 XCreateGC(),  XFreeGC(),  XGCon‐
  textFromGC(), XSetArcMode(), XSetBackground(), XSetClipMask(), XSetCli‐
  pOrigin(), XSetClipRectangles(),  XSetDashes(),  XSetFillRule(),  XSet‐
  FillStyle(), XSetForeground(), XSetFunction(), XSetGraphicsExposures(),
  XSetLineAttributes(),	 XSetPlaneMask(),   XSetState(),   XSetStipple(),
  XSetSubwindowMode().

Xlib - Graphics Context						XSetTSOrigin()
[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]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net