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 347 348 349 350 351 352 353 354 355 356 357
|
<!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>layout.hh</h1><a href="pango_2layout_8hh.html">Go to the documentation of this file.</a><pre class="fragment"><div>00001 <span class="comment">/* GFC-UI: GTK+ Foundation Classes (User Interface Library)</span>
00002 <span class="comment"> * Copyright (C) 2002-2004 The GFC Development Team.</span>
00003 <span class="comment"> *</span>
00004 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span>
00005 <span class="comment"> * it under the terms of the GNU General Public License as published by</span>
00006 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span>
00007 <span class="comment"> * (at your option) any later version.</span>
00008 <span class="comment"> *</span>
00009 <span class="comment"> * This program is distributed in the hope that it will be useful,</span>
00010 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
00011 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span>
00012 <span class="comment"> * GNU Library General Public License for more details.</span>
00013 <span class="comment"> *</span>
00014 <span class="comment"> * You should have received a copy of the GNU Library General Public License</span>
00015 <span class="comment"> * along with this program; if not, write to the Free Software</span>
00016 <span class="comment"> * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</span>
00017 <span class="comment"> */</span>
00018
00027
00028 <span class="preprocessor">#ifndef GFC_PANGO_LAYOUT_HH</span>
00029 <span class="preprocessor"></span><span class="preprocessor">#define GFC_PANGO_LAYOUT_HH</span>
00030 <span class="preprocessor"></span>
00031 <span class="preprocessor">#ifndef GFC_PANGO_ATTRIBUTES_HH</span>
00032 <span class="preprocessor"></span><span class="preprocessor">#include <<a class="code" href="attributes_8hh.html">gfc/pango/attributes.hh</a>></span>
00033 <span class="preprocessor">#endif</span>
00034 <span class="preprocessor"></span>
00035 <span class="preprocessor">#ifndef GFC_PANGO_CONTEXT_HH</span>
00036 <span class="preprocessor"></span><span class="preprocessor">#include <<a class="code" href="context_8hh.html">gfc/pango/context.hh</a>></span>
00037 <span class="preprocessor">#endif</span>
00038 <span class="preprocessor"></span>
00039 <span class="preprocessor">#ifndef GFC_PANGO_ITEM_HH</span>
00040 <span class="preprocessor"></span><span class="preprocessor">#include <<a class="code" href="pango_2item_8hh.html">gfc/pango/item.hh</a>></span>
00041 <span class="preprocessor">#endif</span>
00042 <span class="preprocessor"></span>
00043 <span class="preprocessor">#ifndef GFC_PANGO_TABS_HH</span>
00044 <span class="preprocessor"></span><span class="preprocessor">#include <<a class="code" href="tabs_8hh.html">gfc/pango/tabs.hh</a>></span>
00045 <span class="preprocessor">#endif</span>
00046 <span class="preprocessor"></span>
00047 <span class="preprocessor">#ifndef __PANGO_LAYOUT_H__</span>
00048 <span class="preprocessor"></span><span class="preprocessor">#include <pango/pango-layout.h></span>
00049 <span class="preprocessor">#endif</span>
00050 <span class="preprocessor"></span>
00051 <span class="preprocessor">#ifndef _CPP_UTILITY</span>
00052 <span class="preprocessor"></span><span class="preprocessor">#include <utility></span>
00053 <span class="preprocessor">#endif</span>
00054 <span class="preprocessor"></span>
00055 <span class="keyword">namespace </span>GFC {
00056
00057 <span class="keyword">namespace </span>Gdk {
00058 <span class="keyword">class </span>Region;
00059 }
00060
00061 <span class="keyword">namespace </span>Pango {
00062
00063 <span class="keyword">class </span>LogAttr;
00064 <span class="keyword">class </span>GlyphString;
00065
00070
<a name="l00071"></a><a class="code" href="namespaceGFC_1_1Pango.html#a141">00071</a> <span class="keyword">enum</span> <a class="code" href="namespaceGFC_1_1Pango.html#a141">Alignment</a>
00072 {
00073 <a class="code" href="namespaceGFC_1_1Pango.html#a141a54">ALIGN_LEFT</a> = PANGO_ALIGN_LEFT,
00074 <a class="code" href="namespaceGFC_1_1Pango.html#a141a55">ALIGN_CENTER</a> = PANGO_ALIGN_CENTER,
00075 <a class="code" href="namespaceGFC_1_1Pango.html#a141a56">ALIGN_RIGHT</a> = PANGO_ALIGN_RIGHT
00076 };
00077
00080
<a name="l00081"></a><a class="code" href="namespaceGFC_1_1Pango.html#a142">00081</a> <span class="keyword">enum</span> WrapMode
00082 {
00083 WRAP_WORD = PANGO_WRAP_WORD,
00085
00086 WRAP_CHAR = PANGO_WRAP_CHAR,
00088
00089 WRAP_WORD_CHAR = PANGO_WRAP_WORD_CHAR
00092 };
00093
00101
<a name="l00102"></a><a class="code" href="classGFC_1_1Pango_1_1LayoutRun.html">00102</a> <span class="keyword">class </span><a class="code" href="classGFC_1_1Pango_1_1LayoutRun.html">LayoutRun</a>
00103 {
00104 PangoLayoutRun run_;
00105
00106 <span class="keyword">public</span>:
00109
00110 PangoLayoutRun* <a class="code" href="classGFC_1_1Pango_1_1LayoutRun.html#z1187_0">pango_layout_run</a>() <span class="keyword">const</span>;
00112
00113 <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer<Item></a> <a class="code" href="classGFC_1_1Pango_1_1LayoutRun.html#z1187_1">item</a>() <span class="keyword">const</span>;
00115
00116 <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer<GlyphString></a> <a class="code" href="classGFC_1_1Pango_1_1LayoutRun.html#z1187_2">glyphs</a>() <span class="keyword">const</span>;
00118
00120 };
00121
00130
<a name="l00131"></a><a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html">00131</a> <span class="keyword">class </span><a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html">LayoutLine</a> : <span class="keyword">public</span> GFC::<a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Object.html">Object</a>
00132 {
00133 PangoLayoutLine *layout_line_;
00134
00135 <span class="keyword">public</span>:
00138
00139 <span class="keyword">explicit</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html#z1188_0">LayoutLine</a>(PangoLayoutLine *layout_line);
00142
00143 <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html#z1188_0">LayoutLine</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html">LayoutLine</a>& src);
00146
00147 <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html#z1188_2">~LayoutLine</a>();
00149
00150 <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html">LayoutLine</a>& <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html#z1188_3">operator=</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html">LayoutLine</a>& src);
00153
00157
00158 PangoLayoutLine* <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html#z1189_0">pango_layout_line</a>() <span class="keyword">const</span>;
00160
00161 <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html#z1189_1">operator PangoLayoutLine* </a>() <span class="keyword">const</span>;
00163
00164 <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html#z1189_2">start_index</a>() <span class="keyword">const</span>;
00166
00167 <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html#z1189_3">length</a>() <span class="keyword">const</span>;
00169
00170 <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html#z1189_4">is_paragraph_start</a>() <span class="keyword">const</span>;
00173
00174 std::vector<std::pair<int, int> > <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html#z1189_5">get_x_ranges</a>(<span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html#z1189_2">start_index</a>, <span class="keywordtype">int</span> end_index) <span class="keyword">const</span>;
00210
00211 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html#z1189_6">get_extents</a>(<a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *ink_rect, <a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *logical_rect) <span class="keyword">const</span>;
00220
00221 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html#z1189_7">get_pixel_extents</a>(<a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *ink_rect, <a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *logical_rect) <span class="keyword">const</span>;
00232
00233 <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer<Gdk::Region></a> <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html#z1189_8">get_clip_region</a>(<span class="keywordtype">int</span> x_origin, <span class="keywordtype">int</span> y_origin, <span class="keyword">const</span> std::vector<std::pair<int, int> >& index_ranges) <span class="keyword">const</span>;
00252
00256
00257 <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html#z1190_0">x_to_index</a>(<span class="keywordtype">int</span> x_pos, <span class="keywordtype">int</span> *index, <span class="keywordtype">int</span> *trailing);
00269
00270 <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutLine.html#z1190_1">index_to_x</a>(<span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> trailing);
00275
00277 };
00278
00283
<a name="l00284"></a><a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html">00284</a> <span class="keyword">class </span><a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html">LayoutIter</a> : <span class="keyword">public</span> GFC::<a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Object.html">Object</a>
00285 {
00286 <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1191_0">LayoutIter</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html">LayoutIter</a>&);
00287 <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html">LayoutIter</a>& operator=(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html">LayoutIter</a>&);
00288
00289 PangoLayoutIter *iter_;
00290
00291 <span class="keyword">public</span>:
00294
00295 <span class="keyword">explicit</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1191_0">LayoutIter</a>(PangoLayoutIter *iter);
00301
00302 <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1191_1">~LayoutIter</a>();
00304
00308
00309 PangoLayoutIter* <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1192_0">pango_layout_iter</a>() <span class="keyword">const</span>;
00311
00312 <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1192_1">operator PangoLayoutIter* </a>() <span class="keyword">const</span>;
00314
00315 <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1192_2">get_index</a>() <span class="keyword">const</span>;
00322
00323 <a class="code" href="classGFC_1_1Pango_1_1LayoutRun.html">LayoutRun</a>* <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1192_3">get_run</a>() <span class="keyword">const</span>;
00330
00331 <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer<LayoutLine></a> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1192_4">get_line</a>() <span class="keyword">const</span>;
00333
00334 <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1192_5">at_last_line</a>() <span class="keyword">const</span>;
00336
00337 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1192_7">get_char_extents</a>(<a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a>& logical_rect) <span class="keyword">const</span>;
00345
00346 <a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1192_7">get_char_extents</a>() <span class="keyword">const</span>;
00349
00350 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1192_8">get_cluster_extents</a>(<a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *ink_rect, <a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *logical_rect) <span class="keyword">const</span>;
00355
00356 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1192_9">get_run_extents</a>(<a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *ink_rect, <a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *logical_rect) <span class="keyword">const</span>;
00361
00362 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1192_10">get_line_extents</a>(<a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *ink_rect, <a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *logical_rect) <span class="keyword">const</span>;
00372
00373 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1192_11">get_line_yrange</a>(<span class="keywordtype">int</span> *y0, <span class="keywordtype">int</span> *y1) <span class="keyword">const</span>;
00383
00384 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1192_12">get_layout_extents</a>(<a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *ink_rect, <a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *logical_rect) <span class="keyword">const</span>;
00391
00392 <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1192_13">get_baseline</a>() <span class="keyword">const</span>;
00396
00400
00401 <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1193_0">next_char</a>();
00406
00407 <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1193_1">next_cluster</a>();
00412
00413 <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1193_2">next_run</a>();
00418
00419 <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1LayoutIter.html#z1193_3">next_line</a>();
00424
00426 };
00427
00453
<a name="l00454"></a><a class="code" href="classGFC_1_1Pango_1_1Layout.html">00454</a> <span class="keyword">class </span><a class="code" href="classGFC_1_1Pango_1_1Layout.html">Layout</a> : <span class="keyword">public</span> G::<a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Object.html">Object</a>
00455 {
00456 <span class="keyword">friend</span> <span class="keyword">class </span><a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1G_1_1Object.html">G::Object</a>;
00457
00458 <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1194_0">Layout</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html">Layout</a>&);
00459 <a class="code" href="classGFC_1_1Pango_1_1Layout.html">Layout</a>& operator=(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html">Layout</a>&);
00460
00461 <span class="keyword">protected</span>:
00464
00465 <span class="keyword">explicit</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1194_0">Layout</a>(PangoLayout *layout, <span class="keywordtype">bool</span> owns_reference = <span class="keyword">true</span>);
00472
00474
00475 <span class="keyword">public</span>:
00478
00479 <span class="keyword">explicit</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1194_0">Layout</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1Context.html">Context</a>& context);
00483
00484 <span class="keyword">virtual</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1195_1">~Layout</a>();
00486
00490
00491 PangoLayout* <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_0">pango_layout</a>() <span class="keyword">const</span>;
00493
00494 <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_1">operator PangoLayout* </a>() <span class="keyword">const</span>;
00496
00497 <a class="code" href="classGFC_1_1Pango_1_1Context.html">Context</a>* <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_2">get_context</a>() <span class="keyword">const</span>;
00501
00502 <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer<AttrList></a> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_3">get_attributes</a>() <span class="keyword">const</span>;
00504
00505 <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_4">get_text</a>() <span class="keyword">const</span>;
00508
00509 <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_5">get_width</a>() <span class="keyword">const</span>;
00512
00513 WrapMode <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_6">get_wrap</a>() <span class="keyword">const</span>;
00515
00516 <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_7">get_indent</a>() <span class="keyword">const</span>;
00518
00519 <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_8">get_spacing</a>() <span class="keyword">const</span>;
00521
00522 <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_9">get_justify</a>() <span class="keyword">const</span>;
00525
00526 <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_10">get_auto_dir</a>() <span class="keyword">const</span>;
00530
00531 <a class="code" href="namespaceGFC_1_1Pango.html#a141">Alignment</a> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_11">get_alignment</a>() <span class="keyword">const</span>;
00535
00536 <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer<TabArray></a> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_12">get_tabs</a>() <span class="keyword">const</span>;
00542
00543 <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_13">get_single_paragraph_mode</a>() <span class="keyword">const</span>;
00546
00547 <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_14">get_logical_attributes</a>(std::vector<LogAttr>& attrs) <span class="keyword">const</span>;
00553
00554 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_15">get_cursor_pos</a>(<span class="keywordtype">int</span> index, <a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *strong_pos, <a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *weak_pos) <span class="keyword">const</span>;
00566
00567 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_16">get_extents</a>(<a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *ink_rect, <a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *logical_rect) <span class="keyword">const</span>;
00577
00578 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_17">get_pixel_extents</a>(<a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *ink_rect, <a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a> *logical_rect) <span class="keyword">const</span>;
00587
00588 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_18">get_size</a>(<span class="keywordtype">int</span> *width, <span class="keywordtype">int</span> *height) <span class="keyword">const</span>;
00595
00596 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_19">get_pixel_size</a>(<span class="keywordtype">int</span> *width, <span class="keywordtype">int</span> *height) <span class="keyword">const</span>;
00603
00604 <span class="keywordtype">int</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_20">get_line_count</a>() <span class="keyword">const</span>;
00607
00608 <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer<LayoutLine></a> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_21">get_line</a>(<span class="keywordtype">int</span> line) <span class="keyword">const</span>;
00614
00615 <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_22">get_lines</a>(std::vector<<a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer<LayoutLine></a> >& lines) <span class="keyword">const</span>;
00621
00622 <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer<LayoutIter></a> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_23">get_iter</a>() <span class="keyword">const</span>;
00625
00626 <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1Pointer.html">Pointer<Gdk::Region></a> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1196_24">get_clip_region</a>(<span class="keywordtype">int</span> x_origin, <span class="keywordtype">int</span> y_origin, <span class="keyword">const</span> std::vector<std::pair<int, int> >& index_ranges) <span class="keyword">const</span>;
00657
00661
00662 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_0">set_attributes</a>(<a class="code" href="classGFC_1_1Pango_1_1AttrList.html">AttrList</a>& attrs);
00665
00666 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_2">set_text</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *text);
00667 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_2">set_text</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a>& text);
00670
00671 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_4">set_markup</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *markup);
00672 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_4">set_markup</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a>& markup);
00679
00680 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_4">set_markup</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *markup, gunichar accel_marker, gunichar *accel_char);
00681 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_4">set_markup</a>(<span class="keyword">const</span> <a class="codeRef" doxygen="gfccore.tag:" href="classGFC_1_1String.html">String</a>& markup, gunichar accel_marker, gunichar *accel_char);
00695
00696 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_7">set_font_description</a>(<span class="keyword">const</span> <a class="code" href="classGFC_1_1Pango_1_1FontDescription.html">FontDescription</a> *desc);
00702
00703 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_8">set_width</a>(<span class="keywordtype">int</span> width);
00706
00707 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_9">set_wrap</a>(WrapMode wrap);
00713
00714 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_10">set_indent</a>(<span class="keywordtype">int</span> indent);
00721
00722 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_11">set_spacing</a>(<span class="keywordtype">int</span> spacing);
00725
00726 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_12">set_justify</a>(<span class="keywordtype">bool</span> justify);
00733
00734 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_13">set_auto_dir</a>(<span class="keywordtype">bool</span> auto_dir);
00752
00753 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_14">set_alignment</a>(<a class="code" href="namespaceGFC_1_1Pango.html#a141">Alignment</a> alignment);
00757
00758 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_15">set_tabs</a>(<a class="code" href="classGFC_1_1Pango_1_1TabArray.html">TabArray</a> *tabs);
00766
00767 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_16">set_single_paragraph_mode</a>(<span class="keywordtype">bool</span> setting);
00774
00775 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_17">context_changed</a>();
00779
00780 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_18">index_to_pos</a>(<span class="keywordtype">int</span> index, <a class="code" href="classGFC_1_1Pango_1_1Rectangle.html">Rectangle</a>& pos);
00790
00791 <span class="keywordtype">void</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_19">move_cursor_visually</a>(<span class="keywordtype">bool</span> strong, <span class="keywordtype">int</span> old_index, <span class="keywordtype">int</span> old_trailing, <span class="keywordtype">int</span> direction, <span class="keywordtype">int</span> *new_index, <span class="keywordtype">int</span> *new_trailing);
00822
00823 <span class="keywordtype">bool</span> <a class="code" href="classGFC_1_1Pango_1_1Layout.html#z1197_20">xy_to_index</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> *index, <span class="keywordtype">int</span> *trailing);
00839
00841 };
00842
00843 } <span class="comment">// namespace Pango</span>
00844
00845 } <span class="comment">// namespace GFC</span>
00846
00847 <span class="preprocessor">#include <gfc/pango/inline/layout.inl></span>
00848
00849 <span class="preprocessor">#endif // GFC_PANGO_LAYOUT_HH</span>
00850 <span class="preprocessor"></span>
</div></pre><hr size="1"><address style="align: right;"><small>Generated on Tue Aug 24 00:34:31 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>
|