[pangomm/pangomm-2-46] Renderer: Document get_matrix()



commit 45196f5b55d2de868f7a4e424d068aa8de96e6c6
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Sat Jan 16 09:19:14 2021 +0100

    Renderer: Document get_matrix()

 pango/src/renderer.hg | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/pango/src/renderer.hg b/pango/src/renderer.hg
index 92aa616..a8cdecb 100644
--- a/pango/src/renderer.hg
+++ b/pango/src/renderer.hg
@@ -1,5 +1,3 @@
-/* $Id: renderer.hg,v 1.4 2006/06/10 15:26:24 murrayc Exp $ */
-
 /* renderer.h
  *
  * Copyright(C) 2004 The gtkmm Development Team
@@ -19,7 +17,6 @@
  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
 #include <glibmm/object.h>
 #include <pangomm/context.h>
 #include <pangomm/layoutrun.h> //Has a typedef for GlyphItem
@@ -73,7 +70,11 @@ public:
 
   _WRAP_METHOD(void set_matrix(const Matrix& matrix), pango_renderer_set_matrix)
 
-  //TODO: Documentation:
+  /** Gets the transformation matrix that will be applied when rendering.
+   * See set_matrix().
+   *
+   * @return The matrix. If no matrix has been set, an identity matrix is returned.
+   */
   Matrix get_matrix() const;
   _IGNORE(pango_renderer_get_matrix)
 
@@ -85,4 +86,3 @@ public:
 };
 
 } /* namespace Pango */
-


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