Debian Codegraph @

doc/kate-format-style.doc

raw
1 /* Copyright (C) 2008 Vincent Penquerc'h.
2 This file is part of the Kate codec library.
3 Written by Vincent Penquerc'h.
4
5 Use, distribution and reproduction of this library is governed
6 by a BSD style source license included with this source in the
7 file 'COPYING'. Please read these terms before distributing. */
8
9
10 /**
11
12 \page format_style Format - style
13
14 A style definition consists of:
15
16 \li a \ref format_fp "floating point value" for the horizontal alignment.
17 \li a \ref format_fp "floating point value" for the vertical alignment.
18 \li a \ref format_fp "floating point value" for the font width.
19 \li a \ref format_fp "floating point value" for the font height.
20 \li a \ref format_fp "floating point value" for the left margin.
21 \li a \ref format_fp "floating point value" for the top margin.
22 \li a \ref format_fp "floating point value" for the right margin.
23 \li a \ref format_fp "floating point value" for the bottom margin.
24 \li a \ref format_color "color", being the text color.
25 \li a \ref format_color "color", being the background color.
26 \li a \ref format_color "color", being the draw color.
27 \li 8 bits being the metric for the font width and height.
28 \li 8 bits being the metric for the margin sizes.
29 \li 1 bit for the bold flag.
30 \li 1 bit for the italics flag.
31 \li 1 bit for the underline flag.
32 \li 1 bit for the strike flag.
33
34 Next, we have a \ref format_warp "warp".
35
36 Kate bitstream 0.2 makes use of this warp to add:
37
38 \li 1 bit for the justify flag.
39 \li a \ref format_32v "variable length integer", followed by this number of bytes being
40 a name of a font to use for text using this style.
41
42 Kate bitstream 0.6 makes further use of this warp to add:
43
44 \li a \ref format_metadata "metadata" set.
45
46 Next, the data ends.
47
48 */
49