1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>GTK+ Foundation Classes</title>
<link href="gfc.css" rel="stylesheet" type="text/css">
<meta content="The GFC Development Team" name="author">
<meta content="Core Library Reference Manual" name="description">
</head>
<body style="color: rgb(0, 0, 0); background-color: rgb(243, 244, 248);"
alink="#000099" link="#000099" vlink="#990099">
<table style="text-align: left; width: 1227px; height: 117px;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td
style="text-align: center; background-color: rgb(255, 255, 255); width: 220px; vertical-align: top;"><img
alt="GFC Logo" src="../images/gfc.png"
style="width: 207px; height: 92px;"></td>
<td
style="text-align: center; background-color: rgb(87, 107, 152); vertical-align: middle;"><img
alt="GFC Title Logo" src="../images/gfc-title.png"
style="width: 418px; height: 76px;"><br>
</td>
</tr>
<tr>
<td
style="text-align: center; background-color: rgb(65, 77, 104); vertical-align: middle;"><big><span
style="color: rgb(255, 255, 153); font-weight: bold;">Reference Manual</span></big><br>
</td>
<td
style="text-align: center; background-color: rgb(148, 164, 200); vertical-align: middle;"><small
style="font-family: helvetica,arial,sans-serif;"><a
href="../html/index.html">Main Page</a> | <a
href="../html/namespaces.html">Namespace List</a> | <a
href="classes.html">Alphabetical List</a> | <a
href="../html/annotated.html">Class List</a> | <a
href="../html/files.html">File List</a></small><br>
</td>
</tr>
</tbody>
</table>
<small> </small>
</body>
</html>
<!-- Generated by Doxygen 1.3.8 -->
<h1>font.hh File Reference</h1>A C++ wrapper interface for Pango fonts. <a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="pango_2types_8hh-source.html">gfc/pango/types.hh</a>></code><br>
<code>#include <<a class="elRef" doxygen="gfccore.tag:" href="boxed_8hh.html">gfc/glib/boxed.hh</a>></code><br>
<code>#include <gfc/glib/object.hh></code><br>
<code>#include <pango/pango-font.h></code><br>
<code>#include <vector></code><br>
<code>#include <gfc/pango/inline/font.inl></code><br>
<p>
<a href="font_8hh-source.html">Go to the source code of this file.</a><h2>Namespaces</h2>
<ul>
<li>namespace <a class="elRef" doxygen="gfccore.tag:" href="namespaceGFC.html">GFC</a>
<li>namespace <a class="el" href="namespaceGFC_1_1Pango.html">GFC::Pango</a>
</ul>
<h2>Classes</h2>
<ul>
<li>class <a class="el" href="classGFC_1_1Pango_1_1FontDescription.html">GFC::Pango::FontDescription</a>
<dl class="el"><dd class="mdescRight">A PangoFontDescription C++ wrapper class. <a href="classGFC_1_1Pango_1_1FontDescription.html#_details">More...</a><br></dl><li>class <a class="el" href="classGFC_1_1Pango_1_1FontMetrics.html">GFC::Pango::FontMetrics</a>
<dl class="el"><dd class="mdescRight">A PangoFontMetrics C++ wrapper class. <a href="classGFC_1_1Pango_1_1FontMetrics.html#_details">More...</a><br></dl><li>class <a class="el" href="classGFC_1_1Pango_1_1FontFace.html">GFC::Pango::FontFace</a>
<dl class="el"><dd class="mdescRight">A PangoFontFace C++ wrapper class. <a href="classGFC_1_1Pango_1_1FontFace.html#_details">More...</a><br></dl><li>class <a class="el" href="classGFC_1_1Pango_1_1FontFamily.html">GFC::Pango::FontFamily</a>
<dl class="el"><dd class="mdescRight">A PangoFontFamily C++ wrapper class. <a href="classGFC_1_1Pango_1_1FontFamily.html#_details">More...</a><br></dl><li>class <a class="el" href="classGFC_1_1Pango_1_1Font.html">GFC::Pango::Font</a>
<dl class="el"><dd class="mdescRight">A PangoFont C++ wrapper class. <a href="classGFC_1_1Pango_1_1Font.html#_details">More...</a><br></dl></ul>
<h2>Typedefs</h2>
<ul>
<li><a class="anchor" name="a26" doxytag="font.hh::FontMaskField" ></a>
typedef unsigned int <a class="el" href="namespaceGFC_1_1Pango.html#a26">FontMaskField</a>
<dl class="el"><dd class="mdescRight">FontMaskField holds one or more values from the <a class="el" href="namespaceGFC_1_1Pango.html#a140">Pango::FontMask</a> enumeration OR'd together. <br></dl></ul>
<h2>Enumerations</h2>
<ul>
<li>enum <a class="el" href="namespaceGFC_1_1Pango.html#a136">Style</a> { <br>
<a class="el" href="namespaceGFC_1_1Pango.html#a136a27">STYLE_NORMAL</a> = PANGO_STYLE_NORMAL,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a136a28">STYLE_OBLIQUE</a> = PANGO_STYLE_OBLIQUE,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a136a29">STYLE_ITALIC</a> = PANGO_STYLE_ITALIC
<br>
}
<dl class="el"><dd class="mdescRight">Specifies the various slant styles possible for a font. <a href="#a136">More...</a><br></dl><li>enum <a class="el" href="namespaceGFC_1_1Pango.html#a137">Variant</a> { <br>
<a class="el" href="namespaceGFC_1_1Pango.html#a137a30">VARIANT_NORMAL</a> = PANGO_VARIANT_NORMAL,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a137a31">VARIANT_SMALL_CAPS</a> = PANGO_VARIANT_SMALL_CAPS
<br>
}
<dl class="el"><dd class="mdescRight">Specifies the capitalization variant of the font. <a href="#a137">More...</a><br></dl><li>enum <a class="el" href="namespaceGFC_1_1Pango.html#a138">Weight</a> { <br>
<a class="el" href="namespaceGFC_1_1Pango.html#a138a32">WEIGHT_ULTALIGHT</a> = PANGO_WEIGHT_ULTRALIGHT,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a138a33">WEIGHT_LIGHT</a> = PANGO_WEIGHT_LIGHT,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a138a34">WEIGHT_NORMAL</a> = PANGO_WEIGHT_NORMAL,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a138a35">WEIGHT_BOLD</a> = PANGO_WEIGHT_BOLD,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a138a36">WEIGHT_ULTRABOLD</a> = PANGO_WEIGHT_ULTRABOLD,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a138a37">WEIGHT_HEAVY</a> = PANGO_WEIGHT_HEAVY
<br>
}
<dl class="el"><dd class="mdescRight">Specifies the weight (boldness) of a font. <a href="#a138">More...</a><br></dl><li>enum <a class="el" href="namespaceGFC_1_1Pango.html#a139">Stretch</a> { <br>
<a class="el" href="namespaceGFC_1_1Pango.html#a139a38">STRETCH_UTLRA_CONDENSED</a> = PANGO_STRETCH_ULTRA_CONDENSED,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a139a39">STRETCH_EXTRA_CONDENSED</a> = PANGO_STRETCH_EXTRA_CONDENSED,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a139a40">STRETCH_CONDENSED</a> = PANGO_STRETCH_CONDENSED,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a139a41">STRETCH_SEMI_CONDENSED</a> = PANGO_STRETCH_SEMI_CONDENSED,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a139a42">STRETCH_NORMAL</a> = PANGO_STRETCH_NORMAL,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a139a43">STRETCH_SEMI_EXPANDED</a> = PANGO_STRETCH_SEMI_EXPANDED,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a139a44">STRETCH_EXPANDED</a> = PANGO_STRETCH_EXPANDED,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a139a45">STRETCH_EXTRA_EXPANDED</a> = PANGO_STRETCH_EXTRA_EXPANDED,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a139a46">STRETCH_ULTRA_EXPANDED</a> = PANGO_STRETCH_ULTRA_EXPANDED
<br>
}
<dl class="el"><dd class="mdescRight">Specifies the width of the font relative to other designs within a family. <a href="#a139">More...</a><br></dl><li>enum <a class="el" href="namespaceGFC_1_1Pango.html#a140">FontMask</a> { <br>
<a class="el" href="namespaceGFC_1_1Pango.html#a140a47">FONT_MASK_FAMILY</a> = PANGO_FONT_MASK_FAMILY,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a140a48">FONT_MASK_STYLE</a> = PANGO_FONT_MASK_STYLE,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a140a49">FONT_MASK_VARIANT</a> = PANGO_FONT_MASK_VARIANT,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a140a50">FONT_MASK_WEIGHT</a> = PANGO_FONT_MASK_WEIGHT,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a140a51">FONT_MASK_STRETCH</a> = PANGO_FONT_MASK_STRETCH,
<br>
<a class="el" href="namespaceGFC_1_1Pango.html#a140a52">FONT_MASK_SIZE</a> = PANGO_FONT_MASK_SIZE
<br>
}
<dl class="el"><dd class="mdescRight">The bit flags in a FontMask correspond to fields in a FontDescription that have been set. <a href="#a140">More...</a><br></dl></ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A C++ wrapper interface for Pango fonts.
<p>
Provides objects representing abstract fonts, such as FontDescription, Font, FontFace and FontFamily.<hr><h2>Enumeration Type Documentation</h2>
<a class="anchor" name="a140" doxytag="font.hh::FontMask" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> enum <a class="el" href="namespaceGFC_1_1Pango.html#a140">FontMask</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
The bit flags in a FontMask correspond to fields in a <a class="el" href="classGFC_1_1Pango_1_1FontDescription.html">FontDescription</a> that have been set.
<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a class="anchor" name="a140a47" doxytag="FONT_MASK_FAMILY" ></a>FONT_MASK_FAMILY</em> </td><td>
The font family is specified. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a140a48" doxytag="FONT_MASK_STYLE" ></a>FONT_MASK_STYLE</em> </td><td>
The font style is specified. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a140a49" doxytag="FONT_MASK_VARIANT" ></a>FONT_MASK_VARIANT</em> </td><td>
T font variant is specified. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a140a50" doxytag="FONT_MASK_WEIGHT" ></a>FONT_MASK_WEIGHT</em> </td><td>
The font weight is specified. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a140a51" doxytag="FONT_MASK_STRETCH" ></a>FONT_MASK_STRETCH</em> </td><td>
The font stretch is specified. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a140a52" doxytag="FONT_MASK_SIZE" ></a>FONT_MASK_SIZE</em> </td><td>
The font size is specified. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="a139" doxytag="font.hh::Stretch" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> enum <a class="el" href="namespaceGFC_1_1Pango.html#a139">Stretch</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Specifies the width of the font relative to other designs within a family.
<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a class="anchor" name="a139a38" doxytag="STRETCH_UTLRA_CONDENSED" ></a>STRETCH_UTLRA_CONDENSED</em> </td><td>
Ultra condensed width. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a139a39" doxytag="STRETCH_EXTRA_CONDENSED" ></a>STRETCH_EXTRA_CONDENSED</em> </td><td>
Extra condensed width. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a139a40" doxytag="STRETCH_CONDENSED" ></a>STRETCH_CONDENSED</em> </td><td>
Condensed width. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a139a41" doxytag="STRETCH_SEMI_CONDENSED" ></a>STRETCH_SEMI_CONDENSED</em> </td><td>
Semi condensed width. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a139a42" doxytag="STRETCH_NORMAL" ></a>STRETCH_NORMAL</em> </td><td>
Normal width. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a139a43" doxytag="STRETCH_SEMI_EXPANDED" ></a>STRETCH_SEMI_EXPANDED</em> </td><td>
Semi expanded width. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a139a44" doxytag="STRETCH_EXPANDED" ></a>STRETCH_EXPANDED</em> </td><td>
Expanded width. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a139a45" doxytag="STRETCH_EXTRA_EXPANDED" ></a>STRETCH_EXTRA_EXPANDED</em> </td><td>
Extra expanded width. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a139a46" doxytag="STRETCH_ULTRA_EXPANDED" ></a>STRETCH_ULTRA_EXPANDED</em> </td><td>
Ultra expanded width. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="a136" doxytag="font.hh::Style" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> enum <a class="el" href="namespaceGFC_1_1Pango.html#a136">Style</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Specifies the various slant styles possible for a font.
<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a class="anchor" name="a136a27" doxytag="STYLE_NORMAL" ></a>STYLE_NORMAL</em> </td><td>
The font is upright. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a136a28" doxytag="STYLE_OBLIQUE" ></a>STYLE_OBLIQUE</em> </td><td>
The font is slanted, but in a roman style. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a136a29" doxytag="STYLE_ITALIC" ></a>STYLE_ITALIC</em> </td><td>
The font is slanted in an italic style. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="a137" doxytag="font.hh::Variant" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> enum <a class="el" href="namespaceGFC_1_1Pango.html#a137">Variant</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Specifies the capitalization variant of the font.
<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a class="anchor" name="a137a30" doxytag="VARIANT_NORMAL" ></a>VARIANT_NORMAL</em> </td><td>
A normal font. </td></tr>
<tr><td valign=top><em><a class="anchor" name="a137a31" doxytag="VARIANT_SMALL_CAPS" ></a>VARIANT_SMALL_CAPS</em> </td><td>
A font with the lower case characters replaced by smaller variants of the capital characters. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="a138" doxytag="font.hh::Weight" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> enum <a class="el" href="namespaceGFC_1_1Pango.html#a138">Weight</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Specifies the weight (boldness) of a font.
<p>
This is a numerical value ranging from 100 to 900, but there are some predefined values: <dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a class="anchor" name="a138a32" doxytag="WEIGHT_ULTALIGHT" ></a>WEIGHT_ULTALIGHT</em> </td><td>
The ultralight weight (= 200). </td></tr>
<tr><td valign=top><em><a class="anchor" name="a138a33" doxytag="WEIGHT_LIGHT" ></a>WEIGHT_LIGHT</em> </td><td>
The light weight (=300). </td></tr>
<tr><td valign=top><em><a class="anchor" name="a138a34" doxytag="WEIGHT_NORMAL" ></a>WEIGHT_NORMAL</em> </td><td>
The default weight (= 400). </td></tr>
<tr><td valign=top><em><a class="anchor" name="a138a35" doxytag="WEIGHT_BOLD" ></a>WEIGHT_BOLD</em> </td><td>
The bold weight (= 700). </td></tr>
<tr><td valign=top><em><a class="anchor" name="a138a36" doxytag="WEIGHT_ULTRABOLD" ></a>WEIGHT_ULTRABOLD</em> </td><td>
The ultrabold weight (= 800). </td></tr>
<tr><td valign=top><em><a class="anchor" name="a138a37" doxytag="WEIGHT_HEAVY" ></a>WEIGHT_HEAVY</em> </td><td>
The heavy weight (= 900). </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Tue Aug 24 00:34:33 2004 for GFC-UI by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
</body>
</html>
|