<!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>libkate: Format - style</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.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li class="current"><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> </div> <div class="contents"> <h1><a class="anchor" id="format_style">Format - style </a></h1><p>A style definition consists of:</p> <ul> <li>a <a class="el" href="format_fp.html">floating point value</a> for the horizontal alignment. </li> <li>a <a class="el" href="format_fp.html">floating point value</a> for the vertical alignment. </li> <li>a <a class="el" href="format_fp.html">floating point value</a> for the font width. </li> <li>a <a class="el" href="format_fp.html">floating point value</a> for the font height. </li> <li>a <a class="el" href="format_fp.html">floating point value</a> for the left margin. </li> <li>a <a class="el" href="format_fp.html">floating point value</a> for the top margin. </li> <li>a <a class="el" href="format_fp.html">floating point value</a> for the right margin. </li> <li>a <a class="el" href="format_fp.html">floating point value</a> for the bottom margin. </li> <li>a <a class="el" href="format_color.html">color</a>, being the text color. </li> <li>a <a class="el" href="format_color.html">color</a>, being the background color. </li> <li>a <a class="el" href="format_color.html">color</a>, being the draw color. </li> <li>8 bits being the metric for the font width and height. </li> <li>8 bits being the metric for the margin sizes. </li> <li>1 bit for the bold flag. </li> <li>1 bit for the italics flag. </li> <li>1 bit for the underline flag. </li> <li>1 bit for the strike flag.</li> </ul> <p>Next, we have a <a class="el" href="format_warp.html">warp</a>.</p> <p>Kate bitstream 0.2 makes use of this warp to add:</p> <ul> <li>1 bit for the justify flag. </li> <li>a <a class="el" href="format_32v.html">variable length integer</a>, followed by this number of bytes being a name of a font to use for text using this style.</li> </ul> <p>Next, the data ends. </p> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Wed Dec 23 04:05:07 2009 for libkate by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>