[Glade-users] Problem with the canvas line



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?

thanks a lot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20070313/3649b20f/attachment.html 




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