Drawable.drawSegments

Warning gdk_draw_segments has been deprecated since version 2.22 and should not be used in newly-written code. Use cairo_move_to(), cairo_line_to() and cairo_stroke() instead. See the documentation of gdk_draw_line() for notes on line drawing with Cairo. Draws a number of unconnected lines.

class Drawable
void
drawSegments

Parameters

gc GC

a GdkGC.

segs GdkSegment[]

an array of GdkSegment structures specifying the start and end points of the lines to be drawn.

Meta