GC.setLineAttributes

Warning gdk_gc_set_line_attributes has been deprecated since version 2.22 and should not be used in newly-written code. Use the Cairo functions cairo_set_line_width(), cairo_set_line_join(), cairo_set_line_cap() and cairo_set_dash() to affect the stroking behavior in Cairo. Keep in mind that the default attributes of a cairo_t are different from the default attributes of a GdkGC. Sets various attributes of how lines are drawn. See the corresponding members of GdkGCValues for full explanations of the arguments.

Parameters

lineWidth int

the width of lines.

lineStyle GdkLineStyle

the dash-style for lines.

capStyle GdkCapStyle

the manner in which the ends of lines are drawn.

joinStyle GdkJoinStyle

the in which lines are joined together.

Meta