[Glade-users] Problem with the canvas line
- From: mithrandir82 at gmail.com (Mariano Perez-Sauquillo Perera)
- Subject: [Glade-users] Problem with the canvas line
- Date: Tue, 13 Mar 2007 12:50:08 +0100
You are rigth, thanks.
but i dont want as big the line, do you know how can i do to get the arc
efect in small lines?
On 3/13/07, Damon Chaplin <damon at karuna.eclipse.co.uk> wrote:
On Tue, 2007-03-13 at 00:33 +0100, Mariano Perez-Sauquillo Perera wrote:
Hi all,
i am drawing a line, and it has some joins , so is like many lines
toguether but i would like that the join will be rounded, so i use
this code:
item = gnome_canvas_item_new (group,
gnome_canvas_line_get_type(),
"arrow_shape_a",(double)3,
"arrow_shape_b",(double)4,
"arrow_shape_c",(double)4,
"points", points,
"join_style",GDK_JOIN_ROUND,
"fill_color","black",
"width_pixels", 0,
"last_arrowhead", TRUE,
NULL);
the " "join_style",GDK_JOIN_ROUND " should make it, it it doesnt do
it and it draw it like if i havent write it, do i have to do something
special?? do someone knows why is this happening?
I think the join style only applies to wide lines - try setting
"width_pixels" to something larger like 10 and you might see it.
Damon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20070313/71ab0db4/attachment.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]