Re: [gnomemm] Gnome::Canvas::Line::property_line_style()



"..." <_janus_ katamail com> writes:

> Gnome::Canvas::Line segm = new Gnome::Canvas::Line(*(canvas->root()), points);
> segm->property_width() = 2;
> segm->property_color() = "black"
> segm->property_line_style() = Gdk::LINE_DOUBLE_DASH;
>
> where "points" is an appropriate Gnome::Canvas::Points.
>
> The problem is that the line is filled black but without any
> dashing. I tried also Gdk::LINE_ON_OFF_DASH, same problem. It's like
> that this instrucion does nothing.

I don't think the anti-aliased canvas supports dashed lines, only the
GDK-based one. Tough luck.

-- 
Ole Laursen
http://www.cs.aau.dk/~olau/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]