[pangomm/pangomm-2-42] Renderer: Document get_matrix()
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pangomm/pangomm-2-42] Renderer: Document get_matrix()
- Date: Sun, 17 Jan 2021 09:50:38 +0000 (UTC)
commit 0c8369fb9079b6714f3bb10cae514dba7c732e7d
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]