[Glade-users] zoom + -

hi all,

i am using the canvas to draw some stuff, and i would like to add the zoom
function to the program,

i simple do:

gnome_canvas_set_pixels_per_unit  ((GnomeCanvas *)canvas,pixPerUnit);

it works fine with rectangles and ellipsis but i am having problems with the
text,  it doesnt make smaller or bigger, i do it like:

               "font", "Sans 10",
               "text", "Test Text",
              "x",(double) x ,
              "y",(double) y ,
              "anchor", GTK_ANCHOR_WEST,

do anybody knows what i am doing wrong??

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20070416/ac2386a8/attachment.html 

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