diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-02-08 14:08:25 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-02-13 14:30:32 -0600 |
commit | 5b4d403b325afef41db811ce21f541933541b56a (patch) | |
tree | 98d62ae2646b60c933ae75148d25160a87e894eb /pango/pango-attributes.c | |
parent | 47d07d41137ee206a5fd9b8041dccbec5ab60411 (diff) | |
download | pango-5b4d403b325afef41db811ce21f541933541b56a.tar.gz |
Add alpha to PangoColorredo-attrs
Adapt all users. This drops the alpha attributes
and alpha in markup, and adds alpha support to
underlines, overlines and strikethroughs.
Diffstat (limited to 'pango/pango-attributes.c')
-rw-r--r-- | pango/pango-attributes.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c index 5d40e5c8..6e965983 100644 --- a/pango/pango-attributes.c +++ b/pango/pango-attributes.c @@ -594,42 +594,6 @@ pango_attr_font_features_new (const char *features) } /** - * pango_attr_foreground_alpha_new: - * @alpha: the alpha value, between 1 and 65536 - * - * Create a new foreground alpha attribute. - * - * Return value: (transfer full): the newly allocated - * `PangoAttribute`, which should be freed with - * [method@Pango.Attribute.destroy] - * - * Since: 1.38 - */ -PangoAttribute * -pango_attr_foreground_alpha_new (guint16 alpha) -{ - return pango_attr_int_new (PANGO_ATTR_FOREGROUND_ALPHA, (int)alpha); -} - -/** - * pango_attr_background_alpha_new: - * @alpha: the alpha value, between 1 and 65536 - * - * Create a new background alpha attribute. - * - * Return value: (transfer full): the newly allocated - * `PangoAttribute`, which should be freed with - * [method@Pango.Attribute.destroy] - * - * Since: 1.38 - */ -PangoAttribute * -pango_attr_background_alpha_new (guint16 alpha) -{ - return pango_attr_int_new (PANGO_ATTR_BACKGROUND_ALPHA, (int)alpha); -} - -/** * pango_attr_allow_breaks_new: * @allow_breaks: %TRUE if we line breaks are allowed * |