<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.4"/> <title>ClanLib: css_box_font_style.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">ClanLib  <span id="projectnumber">2.3.7</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.4 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</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> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_14852d208b69b5a1926f5d908b4903da.html">Sources</a></li><li class="navelem"><a class="el" href="dir_66cde9167ab84f7398e86467706d8b82.html">API</a></li><li class="navelem"><a class="el" href="dir_84159c86a4302b72fb92fe709de3c624.html">CSSLayout</a></li><li class="navelem"><a class="el" href="dir_08301c5b918ab10558e34200ed989757.html">PropertyTypes</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">css_box_font_style.h</div> </div> </div><!--header--> <div class="contents"> <a href="css__box__font__style_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">** ClanLib SDK</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">** Copyright (c) 1997-2011 The ClanLib Team</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">**</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">** This software is provided 'as-is', without any express or implied</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">** warranty. In no event will the authors be held liable for any damages</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">** arising from the use of this software.</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">**</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">** Permission is granted to anyone to use this software for any purpose,</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">** including commercial applications, and to alter it and redistribute it</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">** freely, subject to the following restrictions:</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">**</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">** 1. The origin of this software must not be misrepresented; you must not</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">** claim that you wrote the original software. If you use this software</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">** in a product, an acknowledgment in the product documentation would be</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">** appreciated but is not required.</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">** 2. Altered source versions must be plainly marked as such, and must not be</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">** misrepresented as being the original software.</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">** 3. This notice may not be removed or altered from any source distribution.</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment">**</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">** Note: Some of the libraries ClanLib may link to may have additional</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">** requirements or restrictions.</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">**</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">** File Author(s):</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">**</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">** Magnus Norddahl</span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">*/</span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#pragma once</span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "../css_box_property.h"</span></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div> <div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="classCL__CSSBoxFontStyle.html"> 33</a></span> <span class="keyword">class </span><a class="code" href="classCL__CSSBoxFontStyle.html">CL_CSSBoxFontStyle</a> : <span class="keyword">public</span> <a class="code" href="classCL__CSSBoxProperty.html">CL_CSSBoxProperty</a></div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> {</div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <a class="code" href="classCL__CSSBoxFontStyle.html#a5e66c22f7542ac0e647c1b69b5c7441b">CL_CSSBoxFontStyle</a>();</div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordtype">void</span> <a class="code" href="classCL__CSSBoxFontStyle.html#a8b49f7aeeb3995eafed3d151331c9307">compute</a>(<span class="keyword">const</span> <a class="code" href="classCL__CSSBoxFontStyle.html">CL_CSSBoxFontStyle</a> *parent, CL_CSSResourceCache *layout, <span class="keywordtype">float</span> em_size, <span class="keywordtype">float</span> ex_size);</div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <a class="code" href="classCL__String8.html" title="String container template. ">CL_String</a> <a class="code" href="classCL__CSSBoxFontStyle.html#a10336b17bd6db016e8e868bbd8541ffe">to_string</a>() <span class="keyword">const</span>;</div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div> <div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="classCL__CSSBoxFontStyle.html#a80608e7423e40366c35fd7885e062fa6"> 40</a></span>  <span class="keyword">enum</span> <a class="code" href="classCL__CSSBoxFontStyle.html#a80608e7423e40366c35fd7885e062fa6">Type</a></div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  {</div> <div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="classCL__CSSBoxFontStyle.html#a80608e7423e40366c35fd7885e062fa6a7ff2162940020f2e668bf78130ce9b18"> 42</a></span>  <a class="code" href="classCL__CSSBoxFontStyle.html#a80608e7423e40366c35fd7885e062fa6a7ff2162940020f2e668bf78130ce9b18">type_normal</a>,</div> <div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="classCL__CSSBoxFontStyle.html#a80608e7423e40366c35fd7885e062fa6ab0cd21b5acd82813c33d846d88f459a0"> 43</a></span>  <a class="code" href="classCL__CSSBoxFontStyle.html#a80608e7423e40366c35fd7885e062fa6ab0cd21b5acd82813c33d846d88f459a0">type_italic</a>,</div> <div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="classCL__CSSBoxFontStyle.html#a80608e7423e40366c35fd7885e062fa6af067002710781375a3d6205f7ce136cb"> 44</a></span>  <a class="code" href="classCL__CSSBoxFontStyle.html#a80608e7423e40366c35fd7885e062fa6af067002710781375a3d6205f7ce136cb">type_oblique</a>,</div> <div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="classCL__CSSBoxFontStyle.html#a80608e7423e40366c35fd7885e062fa6a1b3fa33b33b7606a1a81a451ba9003cb"> 45</a></span>  <a class="code" href="classCL__CSSBoxFontStyle.html#a80608e7423e40366c35fd7885e062fa6a1b3fa33b33b7606a1a81a451ba9003cb">type_inherit</a></div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  };</div> <div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="classCL__CSSBoxFontStyle.html#a5f2aaad6f975de92c208f0c424dcb6b1"> 47</a></span>  <a class="code" href="classCL__CSSBoxFontStyle.html#a80608e7423e40366c35fd7885e062fa6">Type</a> <a class="code" href="classCL__CSSBoxFontStyle.html#a5f2aaad6f975de92c208f0c424dcb6b1">type</a>;</div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span> };</div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Jun 14 2013 13:05:44 for ClanLib by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.4 </small></address> </body> </html>