[pango/line-underline] Add an PangoUnderline value for overlining



commit c90db974356cf96808f03cca072b4c3eea4a30f9
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Aug 20 01:18:12 2019 +0200

    Add an PangoUnderline value for overlining

 pango/pango-attributes.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h
index c0e44ab5..bcf77eb9 100644
--- a/pango/pango-attributes.h
+++ b/pango/pango-attributes.h
@@ -216,6 +216,9 @@ typedef enum
  * @PANGO_UNDERLINE_ERROR_LINE: Like @PANGO_UNDERLINE_ERROR, but
  *     drawn continuously across multiple runs. This type
  *     of underlining is available since Pango 1.45.
+ * @PANGO_UNDERLINE_OVER_LINE: Draw a single line above the ink
+ *     extents of the text being underlined. This type
+ *     of underlining is available since Pango 1.45.
  *
  * The #PangoUnderline enumeration is used to specify
  * whether text should be underlined, and if so, the type
@@ -229,7 +232,8 @@ typedef enum {
   PANGO_UNDERLINE_ERROR,
   PANGO_UNDERLINE_SINGLE_LINE,
   PANGO_UNDERLINE_DOUBLE_LINE,
-  PANGO_UNDERLINE_ERROR_LINE
+  PANGO_UNDERLINE_ERROR_LINE,
+  PANGO_UNDERLINE_OVER_LINE
 } PangoUnderline;
 
 /**


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