Re: Gnome::Canvas::Line::property_line_style()
Ole Laursen <[email protected]> Sat, 25 Sep 2004 19:52:44 +0200
| Newsgroups | gmane.comp.gnome.gnomemm |
|---|---|
| Message-ID | <[email protected]> |
"..." <[email protected]> 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/