summaryrefslogtreecommitdiff
path: root/pango/pango-item.h
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-item.h')
-rw-r--r--pango/pango-item.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/pango/pango-item.h b/pango/pango-item.h
index b8e8ab67..4f84dc9b 100644
--- a/pango/pango-item.h
+++ b/pango/pango-item.h
@@ -29,7 +29,6 @@ G_BEGIN_DECLS
typedef struct _PangoAnalysis PangoAnalysis;
typedef struct _PangoItem PangoItem;
-/* TODO: if more flags are needed, turn this into a real PangoAnalysisFlags enum */
/**
* PANGO_ANALYSIS_FLAG_CENTERED_BASELINE:
*
@@ -41,6 +40,16 @@ typedef struct _PangoItem PangoItem;
#define PANGO_ANALYSIS_FLAG_CENTERED_BASELINE (1 << 0)
/**
+ * PANGO_ANALYSIS_FLAG_IS_ELLIPSIS:
+ *
+ * This flag is used to mark runs that hold ellipsized text,
+ * in an ellipsized layout.
+ *
+ * Since: 1.36.7
+ */
+#define PANGO_ANALYSIS_FLAG_IS_ELLIPSIS (1 << 1)
+
+/**
* PangoAnalysis:
* @shape_engine: the engine for doing rendering-system-dependent processing.
* @lang_engine: the engine for doing rendering-system-independent processing.
@@ -74,7 +83,7 @@ struct _PangoAnalysis
/**
* PangoItem:
*
- * The #PangoItem structure stores information abouta segment of text.
+ * The #PangoItem structure stores information about a segment of text.
*/
struct _PangoItem
{