[AdgGtkArea] Corrected zoom in size_allocate()
commitd248ebce08cca55e63d7688e15409fb1be7dcfde
authorNicola Fontana <ntd@entidi.it>
Thu, 6 Jan 2011 19:57:31 +0000 (6 20:57 +0100)
committerNicola Fontana <ntd@entidi.it>
Thu, 6 Jan 2011 19:57:31 +0000 (6 20:57 +0100)
treed00f658deca8d320db3c1eee725aa8555d41e8e3
parentc5d86b22cc1a50f5648083ac1e9adf6d85d448df
[AdgGtkArea] Corrected zoom in size_allocate()

A new method to calculate the zoom coefficient, more simple and IMHO by
far more clean.

The margins have been stripped from adg_gtk_area_get_extents() because
the extents are needed when the canvas is rescaled (so the previous
extents loose any value).
src/adg-gtk/adg-gtk-area.c