[Glade-users] Problem with the canvas line



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






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