[goocanvas/new-api] 2010-06-28 Damon Chaplin <damon gnome org>



commit 601b4953ad893ac19ab2b07a12c0655c0214e082
Author: Damon Chaplin <damon gnome org>
Date:   Mon Jun 28 12:37:56 2010 +0100

    2010-06-28  Damon Chaplin  <damon gnome org>
    
    	    * docs/goocanvas-sections.txt:
    	    * src/goocanvasitemsimple.c:
    	    * src/goocanvasitemsimple.h: update docs.

 .gitignore                  |    1 +
 ChangeLog                   |    6 ++++++
 docs/goocanvas-sections.txt |   42 +++++++++---------------------------------
 src/goocanvasitemsimple.c   |    4 ++++
 src/goocanvasitemsimple.h   |    1 +
 5 files changed, 21 insertions(+), 33 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4f18981..b877ed1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -61,6 +61,7 @@ Makefile.in
 /docs/goocanvas.prerequisites
 /docs/goocanvas.signals
 /docs/*.stamp
+/docs/*.bak
 /docs/html
 /docs/xml
 /docs/tmpl/goo*.sgml
diff --git a/ChangeLog b/ChangeLog
index 4dde2eb..92923bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-06-28  Damon Chaplin  <damon gnome org>
 
+	* docs/goocanvas-sections.txt:
+	* src/goocanvasitemsimple.c:
+	* src/goocanvasitemsimple.h: update docs.
+
+2010-06-28  Damon Chaplin  <damon gnome org>
+
 	* Made GooCanvasItemSimple implement the group methods, so all
 	subclasses can have child items.
 
diff --git a/docs/goocanvas-sections.txt b/docs/goocanvas-sections.txt
index e94f4ac..aea2942 100644
--- a/docs/goocanvas-sections.txt
+++ b/docs/goocanvas-sections.txt
@@ -41,7 +41,6 @@ GooCanvasRectClass
 <SECTION>
 <FILE>goocanvasitem</FILE>
 GooCanvasItem
-GooCanvasItemIface
 
 <SUBSECTION>
 goo_canvas_item_translate
@@ -88,10 +87,6 @@ goo_canvas_item_remove_child
 goo_canvas_item_get_transform_for_child
 
 <SUBSECTION>
-goo_canvas_item_get_style
-goo_canvas_item_set_style
-
-<SUBSECTION>
 goo_canvas_item_request_update
 goo_canvas_item_ensure_updated
 goo_canvas_item_update
@@ -117,7 +112,10 @@ GOO_CANVAS_ITEM
 GOO_IS_CANVAS_ITEM
 GOO_TYPE_CANVAS_ITEM
 goo_canvas_item_get_type
-GOO_CANVAS_ITEM_GET_IFACE
+GOO_CANVAS_ITEM_CLASS
+GOO_CANVAS_ITEM_GET_CLASS
+GOO_IS_CANVAS_ITEM_CLASS
+GooCanvasItemClass
 </SECTION>
 
 <SECTION>
@@ -298,7 +296,6 @@ GooCanvasItemSimple
 GooCanvasItemSimpleClass
 
 <SUBSECTION>
-goo_canvas_item_simple_check_style
 goo_canvas_item_simple_get_line_width
 goo_canvas_item_simple_get_path_bounds
 goo_canvas_item_simple_user_bounds_to_device
@@ -306,6 +303,9 @@ goo_canvas_item_simple_user_bounds_to_parent
 goo_canvas_item_simple_check_in_path
 goo_canvas_item_simple_paint_path
 goo_canvas_item_simple_changed
+goo_canvas_item_simple_set_fill_options
+goo_canvas_item_simple_set_stroke_options
+goo_canvas_item_simple_set_style
 
 <SUBSECTION Standard>
 GOO_CANVAS_ITEM_SIMPLE
@@ -380,37 +380,13 @@ GooCanvasWidgetClass
 <FILE>goocanvasstyle</FILE>
 <TITLE>GooCanvasStyle</TITLE>
 GooCanvasStyle
-GooCanvasStyleProperty
 
 <SUBSECTION>
 goo_canvas_style_new
-goo_canvas_style_copy
-
-<SUBSECTION>
-goo_canvas_style_get_parent
-goo_canvas_style_set_parent
-
-<SUBSECTION>
-goo_canvas_style_get_property
-goo_canvas_style_set_property
-
-<SUBSECTION>
-goo_canvas_style_set_fill_options
-goo_canvas_style_set_stroke_options
 
 <SUBSECTION>
-goo_canvas_style_antialias_id
-goo_canvas_style_fill_pattern_id
-goo_canvas_style_fill_rule_id
-goo_canvas_style_font_desc_id
-goo_canvas_style_hint_metrics_id
-goo_canvas_style_line_cap_id
-goo_canvas_style_line_dash_id
-goo_canvas_style_line_join_id
-goo_canvas_style_line_join_miter_limit_id
-goo_canvas_style_line_width_id
-goo_canvas_style_operator_id
-goo_canvas_style_stroke_pattern_id
+goo_canvas_style_set_fill_pattern
+goo_canvas_style_set_stroke_pattern
 
 <SUBSECTION Standard>
 GOO_CANVAS_STYLE
diff --git a/src/goocanvasitemsimple.c b/src/goocanvasitemsimple.c
index 6581ea1..976ac08 100644
--- a/src/goocanvasitemsimple.c
+++ b/src/goocanvasitemsimple.c
@@ -1273,6 +1273,8 @@ goo_canvas_item_simple_paint_path (GooCanvasItemSimple *simple,
  * @item: a #GooCanvasItemSimple.
  * @cr: a cairo context.
  * @bounds: the #GooCanvasBounds struct to store the resulting bounding box.
+ * @add_tolerance: if the line width tolerance setting should be added to the
+ *  line width when calculating the bounds.
  * 
  * This function is intended to be used by subclasses of #GooCanvasItemSimple,
  * typically in their update() or get_requested_area() methods.
@@ -1466,6 +1468,8 @@ goo_canvas_item_simple_user_bounds_to_parent (GooCanvasItemSimple *simple,
  * @y: the y coordinate of the point.
  * @cr: a cairo context.
  * @pointer_events: specifies which parts of the path to check.
+ * @add_tolerance: if the line width tolerance setting should be added to
+ *  the line width for the check.
  * 
  * This function is intended to be used by subclasses of #GooCanvasItemSimple.
  *
diff --git a/src/goocanvasitemsimple.h b/src/goocanvasitemsimple.h
index 77dd4c0..21a27e6 100644
--- a/src/goocanvasitemsimple.h
+++ b/src/goocanvasitemsimple.h
@@ -31,6 +31,7 @@ typedef struct _GooCanvasItemSimpleClass  GooCanvasItemSimpleClass;
  * GooCanvasItemSimple
  * @canvas: the canvas.
  * @parent: the parent item.
+ * @children: the children of the item.
  * @bounds: the bounds of the item, in device space.
  * @need_update: if the item needs to recompute its bounds and redraw.
  * @need_entire_subtree_update: if all descendants need to be updated.



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