⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fonts.xml

📁 GTK+-2.0源码之pango-1.15.6.tar.gz
💻 XML
📖 第 1 页 / 共 5 页
字号:
<para>The <link linkend="GObject"><type>GObject</type></link> type for <link linkend="PangoWeight"><type>PangoWeight</type></link>.</para></refsect2><refsect2><title><anchor id="PangoVariant" role="enum"/>enum PangoVariant</title><indexterm><primary>PangoVariant</primary></indexterm><programlisting>typedef enum {  PANGO_VARIANT_NORMAL,  PANGO_VARIANT_SMALL_CAPS} PangoVariant;</programlisting><para>An enumeration specifying capitalization variant of the font.</para><variablelist role="enum"><varlistentry><term><anchor id="PANGO-VARIANT-NORMAL:CAPS" role="constant"/><literal>PANGO_VARIANT_NORMAL</literal></term><listitem><simpara>A normal font.</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-VARIANT-SMALL-CAPS:CAPS" role="constant"/><literal>PANGO_VARIANT_SMALL_CAPS</literal></term><listitem><simpara>A font with the lower case characters  replaced by smaller variants of the capital characters.</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="PANGO-TYPE-VARIANT:CAPS" role="macro"/>PANGO_TYPE_VARIANT</title><indexterm><primary>PANGO_TYPE_VARIANT</primary></indexterm><programlisting>#define PANGO_TYPE_VARIANT (pango_variant_get_type())</programlisting><para>The <link linkend="GObject"><type>GObject</type></link> type for <link linkend="PangoVariant"><type>PangoVariant</type></link>.</para></refsect2><refsect2><title><anchor id="PangoStretch" role="enum"/>enum PangoStretch</title><indexterm><primary>PangoStretch</primary></indexterm><programlisting>typedef enum {  PANGO_STRETCH_ULTRA_CONDENSED,  PANGO_STRETCH_EXTRA_CONDENSED,  PANGO_STRETCH_CONDENSED,  PANGO_STRETCH_SEMI_CONDENSED,  PANGO_STRETCH_NORMAL,  PANGO_STRETCH_SEMI_EXPANDED,  PANGO_STRETCH_EXPANDED,  PANGO_STRETCH_EXTRA_EXPANDED,  PANGO_STRETCH_ULTRA_EXPANDED} PangoStretch;</programlisting><para>An enumeration specifying the width of the font relative to other designswithin a family.</para><variablelist role="enum"><varlistentry><term><anchor id="PANGO-STRETCH-ULTRA-CONDENSED:CAPS" role="constant"/><literal>PANGO_STRETCH_ULTRA_CONDENSED</literal></term><listitem><simpara>ultra condensed width</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-STRETCH-EXTRA-CONDENSED:CAPS" role="constant"/><literal>PANGO_STRETCH_EXTRA_CONDENSED</literal></term><listitem><simpara>extra condensed width</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-STRETCH-CONDENSED:CAPS" role="constant"/><literal>PANGO_STRETCH_CONDENSED</literal></term><listitem><simpara>condensed width</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-STRETCH-SEMI-CONDENSED:CAPS" role="constant"/><literal>PANGO_STRETCH_SEMI_CONDENSED</literal></term><listitem><simpara>semi condensed width</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-STRETCH-NORMAL:CAPS" role="constant"/><literal>PANGO_STRETCH_NORMAL</literal></term><listitem><simpara>the normal width</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-STRETCH-SEMI-EXPANDED:CAPS" role="constant"/><literal>PANGO_STRETCH_SEMI_EXPANDED</literal></term><listitem><simpara>semi expanded width</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-STRETCH-EXPANDED:CAPS" role="constant"/><literal>PANGO_STRETCH_EXPANDED</literal></term><listitem><simpara>expanded width</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-STRETCH-EXTRA-EXPANDED:CAPS" role="constant"/><literal>PANGO_STRETCH_EXTRA_EXPANDED</literal></term><listitem><simpara>extra expanded width</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-STRETCH-ULTRA-EXPANDED:CAPS" role="constant"/><literal>PANGO_STRETCH_ULTRA_EXPANDED</literal></term><listitem><simpara>ultra expanded width</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="PANGO-TYPE-STRETCH:CAPS" role="macro"/>PANGO_TYPE_STRETCH</title><indexterm><primary>PANGO_TYPE_STRETCH</primary></indexterm><programlisting>#define PANGO_TYPE_STRETCH (pango_stretch_get_type())</programlisting><para>The <link linkend="GObject"><type>GObject</type></link> type for <link linkend="PangoStretch"><type>PangoStretch</type></link>.</para></refsect2><refsect2><title><anchor id="PangoFontMask" role="enum"/>enum PangoFontMask</title><indexterm><primary>PangoFontMask</primary></indexterm><programlisting>typedef enum {  PANGO_FONT_MASK_FAMILY  = 1 &lt;&lt; 0,  PANGO_FONT_MASK_STYLE   = 1 &lt;&lt; 1,  PANGO_FONT_MASK_VARIANT = 1 &lt;&lt; 2,  PANGO_FONT_MASK_WEIGHT  = 1 &lt;&lt; 3,  PANGO_FONT_MASK_STRETCH = 1 &lt;&lt; 4,  PANGO_FONT_MASK_SIZE    = 1 &lt;&lt; 5,  PANGO_FONT_MASK_GRAVITY = 1 &lt;&lt; 6} PangoFontMask;</programlisting><para>The bits in a <link linkend="PangoFontMask"><type>PangoFontMask</type></link> correspond to fields in a  <link linkend="PangoFontDescription"><type>PangoFontDescription</type></link> that have been set.</para><variablelist role="enum"><varlistentry><term><anchor id="PANGO-FONT-MASK-FAMILY:CAPS" role="constant"/><literal>PANGO_FONT_MASK_FAMILY</literal></term><listitem><simpara>the font family is specified.</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-FONT-MASK-STYLE:CAPS" role="constant"/><literal>PANGO_FONT_MASK_STYLE</literal></term><listitem><simpara>the font style is specified.</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-FONT-MASK-VARIANT:CAPS" role="constant"/><literal>PANGO_FONT_MASK_VARIANT</literal></term><listitem><simpara>the font variant is specified.</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-FONT-MASK-WEIGHT:CAPS" role="constant"/><literal>PANGO_FONT_MASK_WEIGHT</literal></term><listitem><simpara>the font weight is specified.</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-FONT-MASK-STRETCH:CAPS" role="constant"/><literal>PANGO_FONT_MASK_STRETCH</literal></term><listitem><simpara>the font stretch is specified.</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-FONT-MASK-SIZE:CAPS" role="constant"/><literal>PANGO_FONT_MASK_SIZE</literal></term><listitem><simpara>the font size is specified.</simpara></listitem></varlistentry><varlistentry><term><anchor id="PANGO-FONT-MASK-GRAVITY:CAPS" role="constant"/><literal>PANGO_FONT_MASK_GRAVITY</literal></term><listitem><simpara>the font gravity is specified (Since: 1.16.)</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="PANGO-TYPE-FONT-MASK:CAPS" role="macro"/>PANGO_TYPE_FONT_MASK</title><indexterm><primary>PANGO_TYPE_FONT_MASK</primary></indexterm><programlisting>#define PANGO_TYPE_FONT_MASK (pango_font_mask_get_type())</programlisting><para>The <link linkend="GObject"><type>GObject</type></link> type for <link linkend="PangoFontMask"><type>PangoFontMask</type></link>.</para></refsect2><refsect2><title><anchor id="pango-font-description-new" role="function"/>pango_font_description_new ()</title><indexterm><primary>pango_font_description_new</primary></indexterm><programlisting><link linkend="PangoFontDescription">PangoFontDescription</link>* pango_font_description_new                                            (void);</programlisting><para>Creates a new font description structure with all fields unset.</para><para></para><variablelist role="params"><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the newly allocated <link linkend="PangoFontDescription"><type>PangoFontDescription</type></link>, which              should be freed using <link linkend="pango-font-description-free"><function>pango_font_description_free()</function></link>.</simpara></listitem></varlistentry></variablelist></refsect2><refsect2><title><anchor id="pango-font-description-copy" role="function"/>pango_font_description_copy ()</title><indexterm><primary>pango_font_description_copy</primary></indexterm><programlisting><link linkend="PangoFontDescription">PangoFontDescription</link>* pango_font_description_copy                                            (const <link linkend="PangoFontDescription">PangoFontDescription</link> *desc);</programlisting><para>Make a copy of a <link linkend="PangoFontDescription"><type>PangoFontDescription</type></link>.</para><para></para><variablelist role="params"><varlistentry><term><parameter>desc</parameter>&nbsp;:</term><listitem><simpara> a <link linkend="PangoFontDescription"><type>PangoFontDescription</type></link></simpara></listitem></varlistentry><varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the newly allocated <link linkend="PangoFontDescription"><type>PangoFontDescription</type></link>, which should              be freed with <link linkend="pango-font-description-free"><function>pango_font_description_free()</function></link>.</simpara></listitem></varlistentry></variablelist></refsect2>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -