On 4/15/05, Tomasz Motylewski <[EMAIL PROTECTED]> wrote: > > > > Could you quantify this "considerably"? > > > > > About 2-3x in my case, but maybe more as I haven't benchmarked it. > > Sample code attached. > > Looks very promising. I was afraid that beginning of next line must overlap > with the end of previous line, but your code does not check it. Must the lines > drawn form continuous "zigzag" ?
they only have to form a continuous zigzag for gdk_draw_lines. http://developer.gimp.org/api/2.0/gdk/gdk-Drawing-Primitives.html#gdk-draw-segments gdk_draw_segments uses a list of start-end pairs: typedef struct { gint x1; gint y1; gint x2; gint y2; } GdkSegment; -- - Charles Lepple
