XSetLineAttributes 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]

XSetLineAttributes()					  XSetLineAttributes()

Name
  XSetLineAttributes – set the line drawing components in a graphics con‐
  text.

Synopsis
  XSetLineAttributes(display, gc, line_width, line_style,
	    cap_style, join_style)
	Display *display;
	GC gc;
	unsigned int line_width;
	int line_style;
	int cap_style;
	int join_style;

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

  gc	    Specifies the graphics context.

  line_width
	    Specifies the line width in the specified graphics context.

  line_style
	    Specifies  the  line style in the specified graphics context.
	    Possible values are	 LineSolid,  LineOnOffDash,  or	 LineDou‐
	    bleDash.

  cap_style Specifies  the  line  and cap style in the specified graphics
	    context.  Possible values are CapNotLast, CapButt,	CapRound,
	    or CapProjecting.

  join_style
	    Specifies  the line-join style in the specified graphics con‐
	    text.  Possible values are	JoinMiter,  JoinRound,	or  Join‐
	    Bevel.   If	 you specify JoinMitre, JoinBevel is used instead
	    if the angle  separating  the  two	lines  is  less	 than  11
	    degrees.

Description
  XSetLineAttributes() sets four types of line characteristics in the GC:
  line_width, line_style, cap_style, and join_style.

  See the description of line and join styles in Volume One,  Chapter  5,
  The Graphics Context. See also XSetDashes().

  A line_width of zero (0) means to use the fastest algorithm for drawing
  a line of one pixel width.  These lines  may	not  meet  properly  with
  lines specified as width one or more.

Errors
  BadAlloc
  BadGC
  BadValue

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

Xlib - Graphics Context					  XSetLineAttributes()
[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