Coordinates in libgnomecanvas

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

 



Hello.

I want to use a gnome_canvas widget to plot
a graph. But I want to normalize the coordinates,
so that the world coordinate (0.0, 0.0) would be on the
top left corner of the canvas, and (1.0, 1.0) would
be at the bottom right corner of the canvas. This way
the center of the canvas will always have coordinate
(0.5, 0.5). If the canvas size (width and/or height)
changes, the drawings on the canvas should change
accordingly, shinking or enlarging accordingly.

Is this possible? If so, how?

Romildo
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux