hpux man page for xsetlineattributes

Query: xsetlineattributes

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XSetLineAttributes()													      XSetLineAttributes()

Name
  XSetLineAttributes - set the line drawing components in a graphics context.

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 LineDoubleDash.

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

  join_style
	    Specifies the line-join style in the specified graphics context.  Possible values are JoinMiter, JoinRound, or JoinBevel.  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(), XGContextFromGC(), XSetArcMode(), XSetBackground(), XSetClipMask(),  XSetCli-
  pOrigin(),  XSetClipRectangles(), XSetDashes(), XSetFillRule(), XSetFillStyle(), XSetForeground(), XSetFunction(), XSetGraphicsExposures(),
  XSetPlaneMask(), XSetState(), XSetStipple(), XSetSubwindowMode(), XSetTSOrigin().

Xlib - Graphics Context 												      XSetLineAttributes()
Related Man Pages
xsetdashes(3x11) - redhat
xsetlineattributes(3x11) - redhat
xsetdashes(3) - debian
xsetlineattributes(3) - x11r4
xsetdashes(3x11) - osf1
Similar Topics in the Unix Linux Community
Graphics libraries
2D Graphics Lib
Graphics Driver Support in Linux