From: Emmanuel Rodriguez Date: Mon, 23 Mar 2009 20:55:10 +0000 (+0100) Subject: Bindings for Champlain::ZoomLevel X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d37726c92b8b4808458605744f4b90222a94787;p=libchamplain Bindings for Champlain::ZoomLevel --- diff --git a/bindings/perl/Champlain/xs/ChamplainZoomLevel.xs b/bindings/perl/Champlain/xs/ChamplainZoomLevel.xs new file mode 100644 index 0000000..fb38723 --- /dev/null +++ b/bindings/perl/Champlain/xs/ChamplainZoomLevel.xs @@ -0,0 +1,55 @@ +#include "champlain-perl.h" + + +MODULE = Champlain::ZoomLevel PACKAGE = Champlain::ZoomLevel PREFIX = champlain_zoom_level_ + +PROTOTYPES: DISABLE + + +ChamplainZoomLevel* +champlain_zoom_level_new (class) + C_ARGS: + + +gint +champlain_zoom_level_get_width (ChamplainZoomLevel *self) + + +gint +champlain_zoom_level_get_height (ChamplainZoomLevel *self) + + +gint +champlain_zoom_level_get_zoom_level (ChamplainZoomLevel *self) + + +ClutterActor* +champlain_zoom_level_get_actor (ChamplainZoomLevel *self) + + +void +champlain_zoom_level_set_width (ChamplainZoomLevel *self, guint width) + + +void +champlain_zoom_level_set_height (ChamplainZoomLevel *self, guint height) + + +void +champlain_zoom_level_set_zoom_level (ChamplainZoomLevel *self, gint zoom_level) + + +void +champlain_zoom_level_add_tile (ChamplainZoomLevel *self, ChamplainTile *tile) + + +void +champlain_zoom_level_remove_tile (ChamplainZoomLevel *self, ChamplainTile *tile) + + +guint +champlain_zoom_level_tile_count (ChamplainZoomLevel *self) + + +ChamplainTile* +champlain_zoom_level_get_nth_tile (ChamplainZoomLevel *self, guint index);