[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: state of canvas.defs
From: |
Jan Nieuwenhuizen |
Subject: |
Re: state of canvas.defs |
Date: |
Tue, 18 May 2004 16:40:58 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) |
Jan Nieuwenhuizen writes:
> I have something that may be useful, I'll ask you or let you know.
There's something up at:
address@hidden http://lilypond.org/~janneke/{arch}/2004-gnome
branched from address@hidden libgnomecanvas and
libwnck compile and load. It seems that I'm almost there...
I can't find how to translate
gnome_canvas_item_new (gnome_canvas_root (canvas),
gnome_canvas_rect_get_type (),
"x1", (double) x1,
"y1", (double) y1,
"x2", (double) x2,
"y2", (double) y2,
"fill_color", "black",
"outline_color", "black",
"width_units", 1.0,
NULL);
probably into a call to
(define-method set
(of-object "GnomeCanvasItem")
(c-name "gnome_canvas_item_set")
(return-type "none")
(parameters
'("const-gchar*" "first_arg_name")
)
(varargs #t)
)
the obvious:
(line (make <gnome-canvas-line> #:x1 x1 #:y1 y1))
or
(let ((line (make <gnome-canvas-line>)))
(set line '("x1" x1 "y1" y1 "x2" x2 "y2" y2 "fill_color" "black"
"width_units" 1.0))
or
(set line 'x1 x1)
do not work.
Jan.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org