[pango/line-underline: 52/59] Add new PangoUnderline values



commit 58cb52a561c689c9b58ccb9b08eff1e6cec32bfd
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Aug 19 23:52:27 2019 +0200

    Add new PangoUnderline values
    
    These will be used for 'line-wide' continuous underlines,
    as opposed to the current values, wich are per-run and
    jump up and down.

 pango/pango-attributes.h | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h
index 6202861a..ceb3236a 100644
--- a/pango/pango-attributes.h
+++ b/pango/pango-attributes.h
@@ -207,6 +207,15 @@ typedef enum
  *     as a possible mispelling; in some cases a contrasting color
  *     may automatically be used. This type of underlining is
  *     available since Pango 1.4.
+ * @PANGO_UNDERLINE_SINGLE_LINE: Like @PANGO_UNDERLINE_SINGLE, but
+ *     drawn continuously across multiple runs. This type
+ *     of underlining is available since Pango 1.46.
+ * @PANGO_UNDERLINE_DOUBLE_LINE: Like @PANGO_UNDERLINE_DOUBLE, but
+ *     drawn continuously across multiple runs. This type
+ *     of underlining is available since Pango 1.46.
+ * @PANGO_UNDERLINE_ERROR_LINE: Like @PANGO_UNDERLINE_ERROR, but
+ *     drawn continuously across multiple runs. This type
+ *     of underlining is available since Pango 1.46.
  *
  * The #PangoUnderline enumeration is used to specify
  * whether text should be underlined, and if so, the type
@@ -217,7 +226,10 @@ typedef enum {
   PANGO_UNDERLINE_SINGLE,
   PANGO_UNDERLINE_DOUBLE,
   PANGO_UNDERLINE_LOW,
-  PANGO_UNDERLINE_ERROR
+  PANGO_UNDERLINE_ERROR,
+  PANGO_UNDERLINE_SINGLE_LINE,
+  PANGO_UNDERLINE_DOUBLE_LINE,
+  PANGO_UNDERLINE_ERROR_LINE
 } PangoUnderline;
 
 /**


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