diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-08-11 15:49:27 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-08-11 20:39:14 -0400 |
commit | c9809629caf8ceda767b81b1aacfb045e3514119 (patch) | |
tree | 70a92f89c456cd48333bceb6138b9aaf32ec2dd9 /docs | |
parent | 9f44c20b3ca62f0de2cc9adc64c14109174c3a8a (diff) | |
download | pango-c9809629caf8ceda767b81b1aacfb045e3514119.tar.gz |
Support alpha in markupwip/matthiasc/alpha
Support alpha and background_alpha attributes on span elements.
The value can either be a plain integer between 1 and 65536 or
a percentage like 50%.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/pango_markup.sgml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/docs/pango_markup.sgml b/docs/pango_markup.sgml index 913ece66..8fa38c42 100644 --- a/docs/pango_markup.sgml +++ b/docs/pango_markup.sgml @@ -124,7 +124,7 @@ One of 'ultracondensed', 'extracondensed', 'condensed', </varlistentry> <varlistentry> -<term>font_features<footnote><para>Since 1.38</para></footnote></term> +<term>font_features<footnote id='since_1_38'><para>Since 1.38</para></footnote></term> <listitem><para> A comma separated list of OpenType font feature settings, in the same syntax as accepted by CSS. E.g: <literal>font_features='dlig=1, -kern, afrc on'</literal> @@ -150,6 +150,24 @@ An RGB color specification such as '#00FF00' or a color name such as </para></listitem> </varlistentry> +<varlistentry> +<term>alpha</term> +<term>fgalpha<footnoteref linkend='since_1_38'/></term> +<listitem><para> +An alpha value for the foreground color, either a plain integer between 1 and 65536 +or a percentage value like '50%'. +</para></listitem> +</varlistentry> + +<varlistentry> +<term>background_alpha</term> +<term>bgalpha<footnoteref linkend='since_1_38'/></term> +<listitem><para> +An alpha value for the background color, either a plain integer between 1 and 65536 +or a percentage value like '50%'. +</para></listitem> +</varlistentry> + <varlistentry><term>underline</term> <listitem><para> One of 'none', 'single', 'double', 'low', 'error' |