[libchamplain] Add new boxed type ChamplainBoundingBox



commit 3feb491f6d4658fe116c6d59dfa9d71a3d4552c0
Author: Victor Godoy Poluceno <victorpoluceno gmail com>
Date:   Mon Apr 5 23:49:14 2010 -0300

    Add new boxed type ChamplainBoundingBox

 .../python/champlain/pychamplain-boxed-types.defs  |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/bindings/python/champlain/pychamplain-boxed-types.defs b/bindings/python/champlain/pychamplain-boxed-types.defs
index 37c03aa..e2f3320 100644
--- a/bindings/python/champlain/pychamplain-boxed-types.defs
+++ b/bindings/python/champlain/pychamplain-boxed-types.defs
@@ -1,6 +1,18 @@
 ;; -*- scheme -*-
 ; boxed type definitions ...
 
+(define-boxed BoundingBox
+  (in-module "Champlain")
+  (c-name "ChamplainBoundingBox")
+  (gtype-id "CHAMPLAIN_TYPE_BOUNDING_BOX")
+  (fields
+    '("double" "left")
+    '("double" "bottom")
+    '("double" "right")
+    '("double" "top")
+  )
+)
+
 (define-boxed Point
   (in-module "Champlain")
   (c-name "ChamplainPoint")



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