summaryrefslogtreecommitdiff
path: root/pango/pango-matrix.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-03-11 19:46:05 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-03-11 19:46:05 +0000
commit2b261300543b6cc673ca09509f9ace1bbb4a6c06 (patch)
tree816f1c0554ddb3eaf5c406d17711c834ba78ea54 /pango/pango-matrix.h
parent9be0d6e411c5d4540438fcc8ada287a65b15fb8e (diff)
parente32063114243e4bec0f5f3cfa63981cb96c0f7f1 (diff)
downloadpango-2b261300543b6cc673ca09509f9ace1bbb4a6c06.tar.gz
Merge branch 'gi-docs' into 'master'
Gi docs See merge request GNOME/pango!281
Diffstat (limited to 'pango/pango-matrix.h')
-rw-r--r--pango/pango-matrix.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/pango/pango-matrix.h b/pango/pango-matrix.h
index 9ec37042..c3ff5414 100644
--- a/pango/pango-matrix.h
+++ b/pango/pango-matrix.h
@@ -38,17 +38,18 @@ typedef struct _PangoMatrix PangoMatrix;
* @x0: x translation
* @y0: y translation
*
- * A structure specifying a transformation between user-space
- * coordinates and device coordinates. The transformation
- * is given by
+ * A `PangoMatrix` specifies a transformation between user-space
+ * and device coordinates.
*
- * <programlisting>
+ * The transformation is given by
+ *
+ * ```
* x_device = x_user * matrix->xx + y_user * matrix->xy + matrix->x0;
* y_device = x_user * matrix->yx + y_user * matrix->yy + matrix->y0;
- * </programlisting>
+ * ```
*
* Since: 1.6
- **/
+ */
struct _PangoMatrix
{
double xx;
@@ -72,10 +73,10 @@ struct _PangoMatrix
* Constant that can be used to initialize a PangoMatrix to
* the identity transform.
*
- * <informalexample><programlisting>
+ * ```
* PangoMatrix matrix = PANGO_MATRIX_INIT;
- * pango_matrix_rotate (&amp;matrix, 45.);
- * </programlisting></informalexample>
+ * pango_matrix_rotate (&matrix, 45.);
+ * ```
*
* Since: 1.6
**/