[pango/layout-docs: 3/7] gravity: Correct the documentation
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/layout-docs: 3/7] gravity: Correct the documentation
- Date: Sun, 8 Aug 2021 21:50:43 +0000 (UTC)
commit f412687ca16bb8eeb09a94b6416959914fb3c035
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Aug 8 15:51:50 2021 -0400
gravity: Correct the documentation
There was a cw vs ccw mixup here.
Adding example images made it obvious.
pango/pango-gravity.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pango/pango-gravity.h b/pango/pango-gravity.h
index 96875047..12e8d689 100644
--- a/pango/pango-gravity.h
+++ b/pango/pango-gravity.h
@@ -29,9 +29,9 @@ G_BEGIN_DECLS
/**
* PangoGravity:
* @PANGO_GRAVITY_SOUTH: Glyphs stand upright (default) <img align="right" valign="center" src="m-south.png">
- * @PANGO_GRAVITY_EAST: Glyphs are rotated 90 degrees clockwise. <img align="right" valign="center"
src="m-east.png">
+ * @PANGO_GRAVITY_EAST: Glyphs are rotated 90 degrees counter-clockwise. <img align="right" valign="center"
src="m-east.png">
* @PANGO_GRAVITY_NORTH: Glyphs are upside-down. <img align="right" valign="cener" src="m-north.png">
- * @PANGO_GRAVITY_WEST: Glyphs are rotated 90 degrees counter-clockwise. <img align="right" valign="center"
src="m-west.png">
+ * @PANGO_GRAVITY_WEST: Glyphs are rotated 90 degrees clockwise. <img align="right" valign="center"
src="m-west.png">
* @PANGO_GRAVITY_AUTO: Gravity is resolved from the context matrix
*
* `PangoGravity` represents the orientation of glyphs in a segment
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]