Re: how to do a dash line in goocanvas
- From: Damon Chaplin <damonachaplin gmail com>
- To: Damon Chaplin <damonachaplin gmail com>
- Cc: goocanvas-list gnome org
- Subject: Re: how to do a dash line in goocanvas
- Date: Wed, 25 Sep 2013 11:53:12 +0100
On Wed, 2013-09-25 at 11:37 +0100, Damon Chaplin wrote:
On Sun, 2013-09-22 at 11:36 +0100, Damon Chaplin wrote:
On Sat, 2013-09-21 at 19:25 -0400, D M German wrote:
hi everybody,
During the last week I am been trying to port xournal
(http://xournal.sourceforge.net)
so far so good, i am doing progress.
Something that has stumped me is, how do I do a dash line?
Oops. Are you using C?
In that case forget about the introspection bug - you just need to do
something like this:
GooCanvasLineDash *dash = goo_canvas_line_dash_new (2, 10.0, 10.0);
item = goo_canvas_rect_new (root, 20, 30, 50, 30,
"stroke-color", "red",
"line-dash", dash,
NULL);
goo_canvas_line_dash_unref (dash);
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]