[gtk+/wip/ebassi/gsk-renderer: 103/135] Small documentation additions



commit bf4c44fbf1ed891431f1bc0dbf15124821672082
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 6 23:19:40 2016 -0400

    Small documentation additions

 gsk/gskrenderer.c   |   28 ++++++++++++++++++++++++++++
 gsk/gskrendernode.c |   12 ++++++++++++
 2 files changed, 40 insertions(+), 0 deletions(-)
---
diff --git a/gsk/gskrenderer.c b/gsk/gskrenderer.c
index 1b341a6..926ad03 100644
--- a/gsk/gskrenderer.c
+++ b/gsk/gskrenderer.c
@@ -716,6 +716,15 @@ gsk_renderer_get_scaling_filters (GskRenderer      *renderer,
     *mag_filter = priv->mag_filter;
 }
 
+/**
+ * gsk_renderer_set_scale_factor:
+ * @renderer: a #GskRenderer
+ * @scale_factor: the new scale factor
+ *
+ * Sets the scale factor for the renderer.
+ *
+ * Since: 3.22
+ */
 void
 gsk_renderer_set_scale_factor (GskRenderer *renderer,
                                int          scale_factor)
@@ -732,6 +741,16 @@ gsk_renderer_set_scale_factor (GskRenderer *renderer,
     }
 }
 
+/**
+ * gsk_renderer_get_scale_factor:
+ * @renderer: a #GskRenderer
+ *
+ * Gets the scale factor for the @renderer.
+ *
+ * Returns: the scale factor
+ *
+ * Since: 3.22
+ */
 int
 gsk_renderer_get_scale_factor (GskRenderer *renderer)
 {
@@ -742,6 +761,15 @@ gsk_renderer_get_scale_factor (GskRenderer *renderer)
   return priv->scale_factor;
 }
 
+/**
+ * gsk_renderer_set_window:
+ * @renderer: a #GskRenderer
+ * @window: the window to set
+ *
+ * Sets the window on which the @renderer is rendering.
+ *
+ * Since: 3.22
+ */
 void
 gsk_renderer_set_window (GskRenderer *renderer,
                          GdkWindow   *window)
diff --git a/gsk/gskrendernode.c b/gsk/gskrendernode.c
index ead499d..716ecfa 100644
--- a/gsk/gskrendernode.c
+++ b/gsk/gskrendernode.c
@@ -331,6 +331,7 @@ gsk_render_node_get_first_child (GskRenderNode *node)
 
 /**
  * gsk_render_node_get_last_child:
+ * @node: a #GskRenderNode
  *
  * Returns the last child of @node.
  *
@@ -348,6 +349,7 @@ gsk_render_node_get_last_child (GskRenderNode *node)
 
 /**
  * gsk_render_node_get_next_sibling:
+ * @node: a #GskRenderNode
  *
  * Returns the next sibling of @node.
  *
@@ -365,6 +367,7 @@ gsk_render_node_get_next_sibling (GskRenderNode *node)
 
 /**
  * gsk_render_node_get_previous_sibling:
+ * @node: a #GskRenderNode
  *
  * Returns the previous sibling of @node.
  *
@@ -939,6 +942,15 @@ gsk_render_node_set_transform (GskRenderNode           *node,
   node->transform_set = !graphene_matrix_is_identity (&node->transform);
 }
 
+/**
+ * gsk_render_node_set_anchor_point:
+ * @node: a #GskRenderNode
+ * @offset: the anchor point
+ *
+ * Set the anchor point used when rendering the @node.
+ *
+ * Since: 3.22
+ */
 void
 gsk_render_node_set_anchor_point (GskRenderNode            *node,
                                   const graphene_point3d_t *offset)


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