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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Crazy Eddies GUI System: CEGUIFont.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript">
function hasClass(ele,cls) {
return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}
function addClass(ele,cls) {
if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}
function removeClass(ele,cls) {
if (hasClass(ele,cls)) {
var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
ele.className=ele.className.replace(reg,' ');
}
}
function toggleVisibility(linkObj) {
var base = linkObj.getAttribute('id');
var summary = document.getElementById(base + '-summary');
var content = document.getElementById(base + '-content');
var trigger = document.getElementById(base + '-trigger');
if ( hasClass(linkObj,'closed') ) {
summary.style.display = 'none';
content.style.display = 'block';
trigger.src = 'open.png';
removeClass(linkObj,'closed');
addClass(linkObj,'opened');
} else if ( hasClass(linkObj,'opened') ) {
summary.style.display = 'block';
content.style.display = 'none';
trigger.src = 'closed.png';
removeClass(linkObj,'opened');
addClass(linkObj,'closed');
}
return false;
}
</script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Crazy Eddies GUI System <span id="projectnumber">0.7.6</span></div>
</td>
</tr>
</tbody>
</table>
</div>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
</ul>
</div>
<div class="header">
<div class="headertitle">
<div class="title">CEGUIFont.h</div> </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/***********************************************************************</span>
<a name="l00002"></a>00002 <span class="comment"> filename: CEGUIFont.h</span>
<a name="l00003"></a>00003 <span class="comment"> created: 21/2/2004</span>
<a name="l00004"></a>00004 <span class="comment"> author: Paul D Turner <paul@cegui.org.uk></span>
<a name="l00005"></a>00005 <span class="comment">*************************************************************************/</span>
<a name="l00006"></a>00006 <span class="comment">/***************************************************************************</span>
<a name="l00007"></a>00007 <span class="comment"> * Copyright (C) 2004 - 2009 Paul D Turner & The CEGUI Development Team</span>
<a name="l00008"></a>00008 <span class="comment"> *</span>
<a name="l00009"></a>00009 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining</span>
<a name="l00010"></a>00010 <span class="comment"> * a copy of this software and associated documentation files (the</span>
<a name="l00011"></a>00011 <span class="comment"> * "Software"), to deal in the Software without restriction, including</span>
<a name="l00012"></a>00012 <span class="comment"> * without limitation the rights to use, copy, modify, merge, publish,</span>
<a name="l00013"></a>00013 <span class="comment"> * distribute, sublicense, and/or sell copies of the Software, and to</span>
<a name="l00014"></a>00014 <span class="comment"> * permit persons to whom the Software is furnished to do so, subject to</span>
<a name="l00015"></a>00015 <span class="comment"> * the following conditions:</span>
<a name="l00016"></a>00016 <span class="comment"> *</span>
<a name="l00017"></a>00017 <span class="comment"> * The above copyright notice and this permission notice shall be</span>
<a name="l00018"></a>00018 <span class="comment"> * included in all copies or substantial portions of the Software.</span>
<a name="l00019"></a>00019 <span class="comment"> *</span>
<a name="l00020"></a>00020 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,</span>
<a name="l00021"></a>00021 <span class="comment"> * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF</span>
<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.</span>
<a name="l00023"></a>00023 <span class="comment"> * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR</span>
<a name="l00024"></a>00024 <span class="comment"> * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,</span>
<a name="l00025"></a>00025 <span class="comment"> * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR</span>
<a name="l00026"></a>00026 <span class="comment"> * OTHER DEALINGS IN THE SOFTWARE.</span>
<a name="l00027"></a>00027 <span class="comment"> ***************************************************************************/</span>
<a name="l00028"></a>00028 <span class="preprocessor">#ifndef _CEGUIFont_h_</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define _CEGUIFont_h_</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span>
<a name="l00031"></a>00031 <span class="preprocessor">#include "CEGUIBase.h"</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include "CEGUIPropertySet.h"</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include "CEGUIString.h"</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include "CEGUIXMLSerializer.h"</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include "CEGUIFontGlyph.h"</span>
<a name="l00036"></a>00036
<a name="l00037"></a>00037 <span class="preprocessor">#include <map></span>
<a name="l00038"></a>00038
<a name="l00039"></a>00039 <span class="preprocessor">#if defined(_MSC_VER)</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor"># pragma warning(push)</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor"># pragma warning(disable : 4251)</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span>
<a name="l00044"></a>00044 <span class="comment">// Start of CEGUI namespace section</span>
<a name="l00045"></a>00045 <span class="keyword">namespace </span>CEGUI
<a name="l00046"></a>00046 {
<a name="l00058"></a><a class="code" href="classCEGUI_1_1Font.html">00058</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1Font.html" title="Class that encapsulates a typeface.">Font</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1PropertySet.html" title="Class that contains a collection of Property objects.">PropertySet</a>
<a name="l00059"></a>00059 {
<a name="l00060"></a>00060 <span class="keyword">public</span>:
<a name="l00062"></a><a class="code" href="classCEGUI_1_1Font.html#a207da35fb7ddb61eb796d0170b703bfe">00062</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="namespaceCEGUI.html#a67e3e55e2e397221393cda1efd0d7c7e" title="32 bit ARGB representation of a colour.">argb_t</a> <a class="code" href="classCEGUI_1_1Font.html#a207da35fb7ddb61eb796d0170b703bfe" title="Colour value used whenever a colour is not specified.">DefaultColour</a>;
<a name="l00063"></a>00063
<a name="l00065"></a>00065 <span class="keyword">virtual</span> ~<a class="code" href="classCEGUI_1_1Font.html" title="Class that encapsulates a typeface.">Font</a>();
<a name="l00066"></a>00066
<a name="l00068"></a>00068 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& getName() <span class="keyword">const</span>;
<a name="l00069"></a>00069
<a name="l00071"></a>00071 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& getTypeName() <span class="keyword">const</span>;
<a name="l00072"></a>00072
<a name="l00084"></a><a class="code" href="classCEGUI_1_1Font.html#a28c1e8a5f868df284545633649e48d2a">00084</a> <span class="keywordtype">bool</span> isCodepointAvailable(utf32 cp)<span class="keyword"> const</span>
<a name="l00085"></a>00085 <span class="keyword"> </span>{ <span class="keywordflow">return</span> (d_cp_map.find(cp) != d_cp_map.end()); }
<a name="l00086"></a>00086
<a name="l00124"></a>00124 <span class="keywordtype">void</span> drawText(<a class="code" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a>& buffer, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& text,
<a name="l00125"></a>00125 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Vector2.html" title="Class used as a two dimensional vector (aka a Point)">Vector2</a>& position, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a>* clip_rect,
<a name="l00126"></a>00126 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1ColourRect.html" title="Class that holds details of colours for the four corners of a rectangle.">ColourRect</a>& colours, <span class="keyword">const</span> <span class="keywordtype">float</span> space_extra = 0.0f,
<a name="l00127"></a>00127 <span class="keyword">const</span> <span class="keywordtype">float</span> x_scale = 1.0f, <span class="keyword">const</span> <span class="keywordtype">float</span> y_scale = 1.0f);
<a name="l00128"></a>00128
<a name="l00136"></a>00136 <span class="keywordtype">void</span> setNativeResolution(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Size.html" title="Class that holds the size (width & height) of something.">Size</a>& size);
<a name="l00137"></a>00137
<a name="l00146"></a>00146 <a class="code" href="classCEGUI_1_1Size.html" title="Class that holds the size (width & height) of something.">Size</a> getNativeResolution() <span class="keyword">const</span>;
<a name="l00147"></a>00147
<a name="l00156"></a>00156 <span class="keywordtype">void</span> setAutoScaled(<span class="keyword">const</span> <span class="keywordtype">bool</span> auto_scaled);
<a name="l00157"></a>00157
<a name="l00166"></a>00166 <span class="keywordtype">bool</span> isAutoScaled() <span class="keyword">const</span>;
<a name="l00167"></a>00167
<a name="l00175"></a>00175 <span class="keyword">virtual</span> <span class="keywordtype">void</span> notifyDisplaySizeChanged(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Size.html" title="Class that holds the size (width & height) of something.">Size</a>& size);
<a name="l00176"></a>00176
<a name="l00189"></a><a class="code" href="classCEGUI_1_1Font.html#a7eed3fc2a74643cffe7e3e8ab33c814d">00189</a> <span class="keywordtype">float</span> getLineSpacing(<span class="keywordtype">float</span> y_scale = 1.0f)<span class="keyword"> const</span>
<a name="l00190"></a>00190 <span class="keyword"> </span>{ <span class="keywordflow">return</span> d_height * y_scale; }
<a name="l00191"></a>00191
<a name="l00204"></a><a class="code" href="classCEGUI_1_1Font.html#ae01a49e2d37aa6e5792af9a5cadc835d">00204</a> <span class="keywordtype">float</span> getFontHeight(<span class="keywordtype">float</span> y_scale = 1.0f)<span class="keyword"> const</span>
<a name="l00205"></a>00205 <span class="keyword"> </span>{ <span class="keywordflow">return</span> (d_ascender - d_descender) * y_scale; }
<a name="l00206"></a>00206
<a name="l00219"></a><a class="code" href="classCEGUI_1_1Font.html#a62e64ecf6e22073ac7730dcd0bc6a747">00219</a> <span class="keywordtype">float</span> getBaseline(<span class="keywordtype">float</span> y_scale = 1.0f)<span class="keyword"> const</span>
<a name="l00220"></a>00220 <span class="keyword"> </span>{ <span class="keywordflow">return</span> d_ascender * y_scale; }
<a name="l00221"></a>00221
<a name="l00239"></a>00239 <span class="keywordtype">float</span> getTextExtent(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& text, <span class="keywordtype">float</span> x_scale = 1.0f) <span class="keyword">const</span>;
<a name="l00240"></a>00240
<a name="l00264"></a><a class="code" href="classCEGUI_1_1Font.html#a8242dd1e3e74c578831379405e227a31">00264</a> <span class="keywordtype">size_t</span> getCharAtPixel(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& text, <span class="keywordtype">float</span> pixel,
<a name="l00265"></a>00265 <span class="keywordtype">float</span> x_scale = 1.0f)<span class="keyword"> const</span>
<a name="l00266"></a>00266 <span class="keyword"> </span>{ <span class="keywordflow">return</span> <a class="code" href="classCEGUI_1_1Font.html#a8242dd1e3e74c578831379405e227a31" title="Return the index of the closest text character in String text that corresponds to pixel location pixe...">getCharAtPixel</a>(text, 0, pixel, x_scale); }
<a name="l00267"></a>00267
<a name="l00296"></a>00296 <span class="keywordtype">size_t</span> getCharAtPixel(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& text, <span class="keywordtype">size_t</span> start_char, <span class="keywordtype">float</span> pixel,
<a name="l00297"></a>00297 <span class="keywordtype">float</span> x_scale = 1.0f) <span class="keyword">const</span>;
<a name="l00298"></a>00298
<a name="l00309"></a><a class="code" href="classCEGUI_1_1Font.html#aeacd6cb9b090f66544a17817207adb7f">00309</a> <span class="keyword">static</span> <span class="keywordtype">void</span> setDefaultResourceGroup(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& resourceGroup)
<a name="l00310"></a>00310 { d_defaultResourceGroup = resourceGroup; }
<a name="l00311"></a>00311
<a name="l00320"></a><a class="code" href="classCEGUI_1_1Font.html#ab247e8cdab4b74caf606d989786f4a2d">00320</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& getDefaultResourceGroup()
<a name="l00321"></a>00321 { <span class="keywordflow">return</span> d_defaultResourceGroup; }
<a name="l00322"></a>00322
<a name="l00333"></a>00333 <span class="keywordtype">void</span> writeXMLToStream(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>& xml_stream) <span class="keyword">const</span>;
<a name="l00334"></a>00334
<a name="l00347"></a>00347 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1FontGlyph.html" title="internal class representing a single font glyph.">FontGlyph</a>* getGlyphData(utf32 codepoint) <span class="keyword">const</span>;
<a name="l00348"></a>00348
<a name="l00349"></a>00349 <span class="keyword">protected</span>:
<a name="l00351"></a>00351 <a class="code" href="classCEGUI_1_1Font.html" title="Class that encapsulates a typeface.">Font</a>(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& name, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& type_name, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& filename,
<a name="l00352"></a>00352 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& resource_group, <span class="keyword">const</span> <span class="keywordtype">bool</span> auto_scaled,
<a name="l00353"></a>00353 <span class="keyword">const</span> <span class="keywordtype">float</span> native_horz_res, <span class="keyword">const</span> <span class="keywordtype">float</span> native_vert_res);
<a name="l00354"></a>00354
<a name="l00369"></a>00369 <span class="keyword">virtual</span> <span class="keywordtype">void</span> rasterise(utf32 start_codepoint, utf32 end_codepoint) <span class="keyword">const</span>;
<a name="l00370"></a>00370
<a name="l00372"></a>00372 <span class="keyword">virtual</span> <span class="keywordtype">void</span> updateFont() = 0;
<a name="l00373"></a>00373
<a name="l00375"></a>00375 <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeXMLToStream_impl(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>& xml_stream) <span class="keyword">const</span> = 0;
<a name="l00376"></a>00376
<a name="l00378"></a>00378 <span class="keywordtype">void</span> addFontProperties();
<a name="l00379"></a>00379
<a name="l00385"></a>00385 <span class="keywordtype">void</span> setMaxCodepoint(utf32 codepoint);
<a name="l00386"></a>00386
<a name="l00388"></a><a class="code" href="classCEGUI_1_1Font.html#abee06c506208837d14d91f9dc9b91828">00388</a> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1Font.html#abee06c506208837d14d91f9dc9b91828" title="Name of this font.">d_name</a>;
<a name="l00390"></a><a class="code" href="classCEGUI_1_1Font.html#a4fe01b7187f886df9bac7c77b69bc2a3">00390</a> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1Font.html#a4fe01b7187f886df9bac7c77b69bc2a3" title="Type name string for this font (not used internally)">d_type</a>;
<a name="l00392"></a><a class="code" href="classCEGUI_1_1Font.html#ae7024cf020257ee2371501d0cdeba401">00392</a> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1Font.html#ae7024cf020257ee2371501d0cdeba401" title="Name of the file used to create this font (font file or imagset)">d_filename</a>;
<a name="l00394"></a><a class="code" href="classCEGUI_1_1Font.html#a94864b32c027e6f23f52528067ac405d">00394</a> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1Font.html#a94864b32c027e6f23f52528067ac405d" title="Name of the font file's resource group.">d_resourceGroup</a>;
<a name="l00396"></a><a class="code" href="classCEGUI_1_1Font.html#aa219ac7ac81369c8acc112dbbf1bc5eb">00396</a> <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1Font.html#aa219ac7ac81369c8acc112dbbf1bc5eb" title="Holds default resource group for font loading.">d_defaultResourceGroup</a>;
<a name="l00397"></a>00397
<a name="l00399"></a><a class="code" href="classCEGUI_1_1Font.html#aeaee0329e945407b392e11de31f53222">00399</a> <span class="keywordtype">float</span> <a class="code" href="classCEGUI_1_1Font.html#aeaee0329e945407b392e11de31f53222" title="maximal font ascender (pixels above the baseline)">d_ascender</a>;
<a name="l00401"></a><a class="code" href="classCEGUI_1_1Font.html#abb8ea4a4d3554df2ee3adaccaf5a31e9">00401</a> <span class="keywordtype">float</span> <a class="code" href="classCEGUI_1_1Font.html#abb8ea4a4d3554df2ee3adaccaf5a31e9" title="maximal font descender (negative pixels below the baseline)">d_descender</a>;
<a name="l00403"></a><a class="code" href="classCEGUI_1_1Font.html#acaec00ac7a272e1992bb73b04ca192a0">00403</a> <span class="keywordtype">float</span> <a class="code" href="classCEGUI_1_1Font.html#acaec00ac7a272e1992bb73b04ca192a0" title="(ascender - descender) + linegap">d_height</a>;
<a name="l00404"></a>00404
<a name="l00406"></a><a class="code" href="classCEGUI_1_1Font.html#aafe473ab610de164fccb6d3d5d06bc9a">00406</a> <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1Font.html#aafe473ab610de164fccb6d3d5d06bc9a" title="true when auto-scaling is enabled.">d_autoScale</a>;
<a name="l00408"></a><a class="code" href="classCEGUI_1_1Font.html#a09814307a04e9831be1b89ab0f09a643">00408</a> <span class="keywordtype">float</span> <a class="code" href="classCEGUI_1_1Font.html#a09814307a04e9831be1b89ab0f09a643" title="native horizontal resolution for this Imageset.">d_nativeHorzRes</a>;
<a name="l00410"></a><a class="code" href="classCEGUI_1_1Font.html#a45d4df5db4a38200e6f909253a80969b">00410</a> <span class="keywordtype">float</span> <a class="code" href="classCEGUI_1_1Font.html#a45d4df5db4a38200e6f909253a80969b" title="native vertical resolution for this Imageset.">d_nativeVertRes</a>;
<a name="l00412"></a><a class="code" href="classCEGUI_1_1Font.html#a517fb5e7722be43840149ddfdca3a637">00412</a> <span class="keywordtype">float</span> <a class="code" href="classCEGUI_1_1Font.html#a517fb5e7722be43840149ddfdca3a637" title="current horizontal scaling factor.">d_horzScaling</a>;
<a name="l00414"></a><a class="code" href="classCEGUI_1_1Font.html#a1e5ab18bb223bda50f8061f1520f9c52">00414</a> <span class="keywordtype">float</span> <a class="code" href="classCEGUI_1_1Font.html#a1e5ab18bb223bda50f8061f1520f9c52" title="current vertical scaling factor.">d_vertScaling</a>;
<a name="l00415"></a>00415
<a name="l00417"></a><a class="code" href="classCEGUI_1_1Font.html#af14f911ad6ddaba67ede2a6c20935053">00417</a> utf32 <a class="code" href="classCEGUI_1_1Font.html#af14f911ad6ddaba67ede2a6c20935053" title="Maximal codepoint for font glyphs.">d_maxCodepoint</a>;
<a name="l00418"></a>00418
<a name="l00432"></a><a class="code" href="classCEGUI_1_1Font.html#ad252c8c32e94f99dc7cca8f4049d4464">00432</a> uint* <a class="code" href="classCEGUI_1_1Font.html#ad252c8c32e94f99dc7cca8f4049d4464" title="This bitmap holds information about loaded 'pages' of glyphs. A glyph page is a set of 256 codepoints...">d_glyphPageLoaded</a>;
<a name="l00433"></a>00433
<a name="l00435"></a><a class="code" href="classCEGUI_1_1Font.html#a8c6681d4d9434fbc7f5934d8d1d3fbe9">00435</a> <span class="keyword">typedef</span> std::map<utf32, FontGlyph> <a class="code" href="classCEGUI_1_1Font.html#a8c6681d4d9434fbc7f5934d8d1d3fbe9" title="Definition of CodepointMap type.">CodepointMap</a>;
<a name="l00437"></a><a class="code" href="classCEGUI_1_1Font.html#a54d083c97f276a15a3c2c70afc589614">00437</a> <a class="code" href="classCEGUI_1_1Font.html#a8c6681d4d9434fbc7f5934d8d1d3fbe9" title="Definition of CodepointMap type.">CodepointMap</a> <a class="code" href="classCEGUI_1_1Font.html#a54d083c97f276a15a3c2c70afc589614" title="Contains mappings from code points to Image objects.">d_cp_map</a>;
<a name="l00438"></a>00438 };
<a name="l00439"></a>00439
<a name="l00440"></a>00440 } <span class="comment">// End of CEGUI namespace section</span>
<a name="l00441"></a>00441
<a name="l00442"></a>00442 <span class="preprocessor">#if defined(_MSC_VER)</span>
<a name="l00443"></a>00443 <span class="preprocessor"></span><span class="preprocessor"># pragma warning(pop)</span>
<a name="l00444"></a>00444 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00445"></a>00445 <span class="preprocessor"></span>
<a name="l00446"></a>00446
<a name="l00447"></a>00447 <span class="preprocessor">#endif // end of guard _CEGUIFont_h_</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Sun Jan 22 2012 16:07:39 for Crazy Eddies GUI System by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
|