mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 20:55:35 +00:00
b9cee94a37
* gnome/Canvas.custom : PixelsPerUnit prop. * gnome/Gnome.metadata : hide Canvas.SetPixelsPerUnit. * gnome/glue/Makefile.am : get_pixels_per_unit. * gnome/glue/canvas.c : get_pixels_per_unit. * gtk/Container.custom : OnForall virtual method impl. * gtk/glue/Makefile.am : add container.c * gtk/glue/container.c : virtual method glue for forall. * gtk/glue/makefile.win32 : add container.o svn path=/trunk/gtk-sharp/; revision=26962
17 lines
367 B
C
17 lines
367 B
C
/* canvas.c : Glue for accessing fields in a GnomeCanvas
|
|
*
|
|
* Author: Mike Kestner (mkestner@ximian.com)
|
|
*
|
|
* Copyright (C) 2004 Novell, Inc.
|
|
*/
|
|
|
|
#include <libgnomecanvas/gnome-canvas.h>
|
|
|
|
gdouble gnomesharp_canvas_get_pixels_per_unit (GnomeCanvas *canvas);
|
|
|
|
gdouble
|
|
gnomesharp_canvas_get_pixels_per_unit (GnomeCanvas *canvas)
|
|
{
|
|
return canvas->pixels_per_unit;
|
|
}
|