diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-02-19 08:08:01 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-03-11 13:17:36 -0500 |
commit | e57a4f57cea5343666ca60f9f3c4c40dc2162cac (patch) | |
tree | d0dab9bc41f7ad12f9af284537b5485da122b87e /pango | |
parent | 788c7cf41b5d09c579cd01a7211f8b39d1f78c6a (diff) | |
download | pango-e57a4f57cea5343666ca60f9f3c4c40dc2162cac.tar.gz |
docs: Tweak direction docs
Add summaries to doc comments, etc.
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-direction.h | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/pango/pango-direction.h b/pango/pango-direction.h index 6cbd5aa7..7da14175 100644 --- a/pango/pango-direction.h +++ b/pango/pango-direction.h @@ -38,26 +38,25 @@ G_BEGIN_DECLS * @PANGO_DIRECTION_WEAK_RTL: A weak right-to-left direction * @PANGO_DIRECTION_NEUTRAL: No direction specified * - * The #PangoDirection type represents a direction in the - * Unicode bidirectional algorithm; not every value in this - * enumeration makes sense for every usage of #PangoDirection; - * for example, the return value of pango_unichar_direction() - * and pango_find_base_dir() cannot be %PANGO_DIRECTION_WEAK_LTR - * or %PANGO_DIRECTION_WEAK_RTL, since every character is either - * neutral or has a strong direction; on the other hand - * %PANGO_DIRECTION_NEUTRAL doesn't make sense to pass - * to pango_itemize_with_base_dir(). + * `PangoDirection` represents a direction in the Unicode bidirectional + * algorithm. * - * The %PANGO_DIRECTION_TTB_LTR, %PANGO_DIRECTION_TTB_RTL - * values come from an earlier interpretation of this - * enumeration as the writing direction of a block of - * text and are no longer used; See #PangoGravity for how + * Not every value in this enumeration makes sense for every usage of + * `PangoDirection`; for example, the return value of [func@unichar_direction] + * and [func@find_base_dir] cannot be %PANGO_DIRECTION_WEAK_LTR or + * %PANGO_DIRECTION_WEAK_RTL, since every character is either neutral + * or has a strong direction; on the other hand %PANGO_DIRECTION_NEUTRAL + * doesn't make sense to pass to [func@itemize_with_base_dir]. + * + * The %PANGO_DIRECTION_TTB_LTR, %PANGO_DIRECTION_TTB_RTL values come from + * an earlier interpretation of this enumeration as the writing direction + * of a block of text and are no longer used; See `PangoGravity` for how * vertical text is handled in Pango. * - * If you are interested in text direction, you should - * really use fribidi directly. PangoDirection is only - * retained because it is used in some public apis. - **/ + * If you are interested in text direction, you should really use fribidi + * directly. `PangoDirection` is only retained because it is used in some + * public apis. + */ typedef enum { PANGO_DIRECTION_LTR, PANGO_DIRECTION_RTL, |