File: classPango_1_1Rectangle.html

package info (click to toggle)
gtkmm2.4 1%3A2.12.7-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 97,528 kB
  • ctags: 33,749
  • sloc: xml: 121,487; cpp: 17,100; sh: 8,982; makefile: 1,150; perl: 161
file content (658 lines) | stat: -rw-r--r-- 31,430 bytes parent folder | download
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
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>gtkmm 2.4: Pango::Rectangle Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
    <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
</tr>
</table>
<center>
  <a class="qindex" href="../../index.html">Main Page</a> &nbsp;
  <a href="group__Widgets.html">Widgets</a> &nbsp;
  <a class="qindex" href="namespaces.html"> Namespaces</a> &nbsp;
  <a href="../../tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>
<!-- begin main content -->
<div id="content">
<!-- Generated by Doxygen 1.5.1 -->
<div class="nav">
<a class="el" href="namespacePango.html">Pango</a>::<a class="el" href="classPango_1_1Rectangle.html">Rectangle</a></div>
<h1>Pango::Rectangle Class Reference</h1><!-- doxytag: class="Pango::Rectangle" --><a href="classPango_1_1Rectangle-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
A <a class="el" href="classPango_1_1Rectangle.html">Pango::Rectangle</a> represents a rectangle. 
<p>
It is frequently used to represent the logical or ink extents of a single glyph or section of text. The coordinate system for each rectangle has its origin at the base line and the horizontal origin of the character with increasing coordinates extending to the right and down. <a class="el" href="classPango_1_1Rectangle.html#48ebf3bf5cdf67a5d0d1aa3e35b16b60">get_ascent()</a>, <a class="el" href="classPango_1_1Rectangle.html#fe53ed044f3398ddc9fdf58c17280a35">get_descent()</a>, <a class="el" href="classPango_1_1Rectangle.html#6b9ed005c5ba648dc45fdfd5023e38ac">get_lbearing()</a>, and <a class="el" href="classPango_1_1Rectangle.html#1d7e890e491b31839e4e9e4dc42f3007">get_rbearing()</a> can be used to convert from the extents rectangle to more traditional font metrics. The units of rectangles usually are in 1/Pango<a class="el" href="namespacePango.html#20d9629a369a6a5ab40ed9c01f879730">SCALE</a> of a device unit. 
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#4056c9f398ae224f7f7f09802c8adad4">equal</a> (const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp; rhs) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks for equality of two Pango::Rectangles.  <a href="#4056c9f398ae224f7f7f09802c8adad4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#48ebf3bf5cdf67a5d0d1aa3e35b16b60">get_ascent</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Extracts the ascent from a <a class="el" href="classPango_1_1Rectangle.html">Pango::Rectangle</a> representing glyph extents.  <a href="#48ebf3bf5cdf67a5d0d1aa3e35b16b60"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#fe53ed044f3398ddc9fdf58c17280a35">get_descent</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Extracts the descent from a <a class="el" href="classPango_1_1Rectangle.html">Pango::Rectangle</a> representing glyph extents.  <a href="#fe53ed044f3398ddc9fdf58c17280a35"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#0d1c774fd1e3cd158ea4eac83d1deca6">get_height</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the height of the rectangle.  <a href="#0d1c774fd1e3cd158ea4eac83d1deca6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#6b9ed005c5ba648dc45fdfd5023e38ac">get_lbearing</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Extracts the left bearing from a <a class="el" href="classPango_1_1Rectangle.html">Pango::Rectangle</a> representing glyph extents.  <a href="#6b9ed005c5ba648dc45fdfd5023e38ac"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#1d7e890e491b31839e4e9e4dc42f3007">get_rbearing</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Extracts the right bearing from a <a class="el" href="classPango_1_1Rectangle.html">Pango::Rectangle</a> representing glyph extents.  <a href="#1d7e890e491b31839e4e9e4dc42f3007"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#4e964ecbd829ec02d481dbd54c8bbb87">get_width</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the width of the rectangle.  <a href="#4e964ecbd829ec02d481dbd54c8bbb87"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#23dbeafbbe059433cf7a7886451fb9a7">get_x</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the X coordinate of the left side of the rectangle.  <a href="#23dbeafbbe059433cf7a7886451fb9a7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#c48c8fe0f9525c4acff01b0c275fdf27">get_y</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the Y coordinate of the top side of the rectangle.  <a href="#c48c8fe0f9525c4acff01b0c275fdf27"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const PangoRectangle*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#be89bacbe73ac6a66992e6c5bb120358">gobj</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#be89bacbe73ac6a66992e6c5bb120358"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PangoRectangle*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#8994a2806f267bfa0602453fdf83697e">gobj</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#8994a2806f267bfa0602453fdf83697e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#7a59cf722b8458c93a5046500e78841b">Rectangle</a> (const PangoRectangle* src)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#29b5e133f9693e5f9b8a111f4ed3a2f1">Rectangle</a> (int x, int y, int width, int height)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#0cd6ca53607a895953f891eed13c0cc3">Rectangle</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#8461f50b432118ced8405e335bc10e76">set_height</a> (int h)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the height of the rectangle.  <a href="#8461f50b432118ced8405e335bc10e76"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#af32fdb284d28c5f9ec8c2441e8c36fb">set_width</a> (int w)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the width of the rectangle.  <a href="#af32fdb284d28c5f9ec8c2441e8c36fb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#35bcd9f759a6b10360214c5a62acee85">set_x</a> (int x)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the X coordinate of the left side of the rectangle.  <a href="#35bcd9f759a6b10360214c5a62acee85"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#78150db0769e7efdcb844b8c4120156f">set_y</a> (int y)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the Y coordinate of the top side of the rectangle.  <a href="#78150db0769e7efdcb844b8c4120156f"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PangoRectangle&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#cf0f80fce5c7b8c36682884a24d3c27e">gobject_</a></td></tr>

<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#888f0ec4c91e085c42ea8c7a72d45dbe">operator!=</a> (const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp; lhs, const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp; rhs)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#09abfed52b7865bf069edadf2905ad86">operator==</a> (const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp; lhs, const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp; rhs)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classPango_1_1Rectangle.html">Pango::Rectangle</a>&amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#92bbf3009397ad205adb28c1053707fc">wrap</a> (const PangoRectangle* object)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPango_1_1Rectangle.html">Pango::Rectangle</a>&amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Rectangle.html#6ff94b931b4d1ecb9d42296b0973fb69">wrap</a> (PangoRectangle* object)</td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="0cd6ca53607a895953f891eed13c0cc3"></a><!-- doxytag: member="Pango::Rectangle::Rectangle" ref="0cd6ca53607a895953f891eed13c0cc3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::Rectangle::Rectangle           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="29b5e133f9693e5f9b8a111f4ed3a2f1"></a><!-- doxytag: member="Pango::Rectangle::Rectangle" ref="29b5e133f9693e5f9b8a111f4ed3a2f1" args="(int x, int y, int width, int height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::Rectangle::Rectangle           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>height</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="7a59cf722b8458c93a5046500e78841b"></a><!-- doxytag: member="Pango::Rectangle::Rectangle" ref="7a59cf722b8458c93a5046500e78841b" args="(const PangoRectangle *src)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::Rectangle::Rectangle           </td>
          <td>(</td>
          <td class="paramtype">const PangoRectangle *&nbsp;</td>
          <td class="paramname"> <em>src</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="4056c9f398ae224f7f7f09802c8adad4"></a><!-- doxytag: member="Pango::Rectangle::equal" ref="4056c9f398ae224f7f7f09802c8adad4" args="(const Rectangle &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Pango::Rectangle::equal           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Checks for equality of two Pango::Rectangles. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>rhs</em>&nbsp;</td><td>The <a class="el" href="classPango_1_1Rectangle.html">Pango::Rectangle</a> to compare with. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if <em>rhs</em> is equal with the rectangle. </dd></dl>

</div>
</div><p>
<a class="anchor" name="48ebf3bf5cdf67a5d0d1aa3e35b16b60"></a><!-- doxytag: member="Pango::Rectangle::get_ascent" ref="48ebf3bf5cdf67a5d0d1aa3e35b16b60" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::Rectangle::get_ascent           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Extracts the ascent from a <a class="el" href="classPango_1_1Rectangle.html">Pango::Rectangle</a> representing glyph extents. 
<p>
The ascent is the distance from the baseline to the highest point of the character. This is positive if the glyph ascends above the baseline. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The ascent of the character. </dd></dl>

</div>
</div><p>
<a class="anchor" name="fe53ed044f3398ddc9fdf58c17280a35"></a><!-- doxytag: member="Pango::Rectangle::get_descent" ref="fe53ed044f3398ddc9fdf58c17280a35" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::Rectangle::get_descent           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Extracts the descent from a <a class="el" href="classPango_1_1Rectangle.html">Pango::Rectangle</a> representing glyph extents. 
<p>
The descent is the distance from the baseline to the lowest point of the character. This is positive if the glyph descends below the baseline. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The descent of the character. </dd></dl>

</div>
</div><p>
<a class="anchor" name="0d1c774fd1e3cd158ea4eac83d1deca6"></a><!-- doxytag: member="Pango::Rectangle::get_height" ref="0d1c774fd1e3cd158ea4eac83d1deca6" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::Rectangle::get_height           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the height of the rectangle. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The height. </dd></dl>

</div>
</div><p>
<a class="anchor" name="6b9ed005c5ba648dc45fdfd5023e38ac"></a><!-- doxytag: member="Pango::Rectangle::get_lbearing" ref="6b9ed005c5ba648dc45fdfd5023e38ac" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::Rectangle::get_lbearing           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Extracts the left bearing from a <a class="el" href="classPango_1_1Rectangle.html">Pango::Rectangle</a> representing glyph extents. 
<p>
The left bearing is the distance from the horizontal origin to the farthest left point of the character. This is positive for characters drawn completely to the right of the glyph origin. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The left bearing of the character. </dd></dl>

</div>
</div><p>
<a class="anchor" name="1d7e890e491b31839e4e9e4dc42f3007"></a><!-- doxytag: member="Pango::Rectangle::get_rbearing" ref="1d7e890e491b31839e4e9e4dc42f3007" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::Rectangle::get_rbearing           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Extracts the right bearing from a <a class="el" href="classPango_1_1Rectangle.html">Pango::Rectangle</a> representing glyph extents. 
<p>
The right bearing is the distance from the horizontal origin to the farthest right point of the character. This is positive except for characters drawn completely to the left of the horizontal origin. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The right bearing of the character. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4e964ecbd829ec02d481dbd54c8bbb87"></a><!-- doxytag: member="Pango::Rectangle::get_width" ref="4e964ecbd829ec02d481dbd54c8bbb87" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::Rectangle::get_width           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the width of the rectangle. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The width. </dd></dl>

</div>
</div><p>
<a class="anchor" name="23dbeafbbe059433cf7a7886451fb9a7"></a><!-- doxytag: member="Pango::Rectangle::get_x" ref="23dbeafbbe059433cf7a7886451fb9a7" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::Rectangle::get_x           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the X coordinate of the left side of the rectangle. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The X coordinate. </dd></dl>

</div>
</div><p>
<a class="anchor" name="c48c8fe0f9525c4acff01b0c275fdf27"></a><!-- doxytag: member="Pango::Rectangle::get_y" ref="c48c8fe0f9525c4acff01b0c275fdf27" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Pango::Rectangle::get_y           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the Y coordinate of the top side of the rectangle. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The Y coordinate. </dd></dl>

</div>
</div><p>
<a class="anchor" name="be89bacbe73ac6a66992e6c5bb120358"></a><!-- doxytag: member="Pango::Rectangle::gobj" ref="be89bacbe73ac6a66992e6c5bb120358" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const PangoRectangle* Pango::Rectangle::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C GObject. 
<p>

</div>
</div><p>
<a class="anchor" name="8994a2806f267bfa0602453fdf83697e"></a><!-- doxytag: member="Pango::Rectangle::gobj" ref="8994a2806f267bfa0602453fdf83697e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PangoRectangle* Pango::Rectangle::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C GObject. 
<p>

</div>
</div><p>
<a class="anchor" name="8461f50b432118ced8405e335bc10e76"></a><!-- doxytag: member="Pango::Rectangle::set_height" ref="8461f50b432118ced8405e335bc10e76" args="(int h)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Rectangle::set_height           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>h</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the height of the rectangle. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>h</em>&nbsp;</td><td>The new height. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="af32fdb284d28c5f9ec8c2441e8c36fb"></a><!-- doxytag: member="Pango::Rectangle::set_width" ref="af32fdb284d28c5f9ec8c2441e8c36fb" args="(int w)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Rectangle::set_width           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>w</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the width of the rectangle. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>The new width. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="35bcd9f759a6b10360214c5a62acee85"></a><!-- doxytag: member="Pango::Rectangle::set_x" ref="35bcd9f759a6b10360214c5a62acee85" args="(int x)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Rectangle::set_x           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>x</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the X coordinate of the left side of the rectangle. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>The new X coordinate. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="78150db0769e7efdcb844b8c4120156f"></a><!-- doxytag: member="Pango::Rectangle::set_y" ref="78150db0769e7efdcb844b8c4120156f" args="(int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Rectangle::set_y           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>y</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the Y coordinate of the top side of the rectangle. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>The new Y coordinate. </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="888f0ec4c91e085c42ea8c7a72d45dbe"></a><!-- doxytag: member="Pango::Rectangle::operator!=" ref="888f0ec4c91e085c42ea8c7a72d45dbe" args="(const Rectangle &amp;lhs, const Rectangle &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool operator!=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="09abfed52b7865bf069edadf2905ad86"></a><!-- doxytag: member="Pango::Rectangle::operator==" ref="09abfed52b7865bf069edadf2905ad86" args="(const Rectangle &amp;lhs, const Rectangle &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool operator==           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="92bbf3009397ad205adb28c1053707fc"></a><!-- doxytag: member="Pango::Rectangle::wrap" ref="92bbf3009397ad205adb28c1053707fc" args="(const PangoRectangle *object)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classPango_1_1Rectangle.html">Pango::Rectangle</a>&amp; wrap           </td>
          <td>(</td>
          <td class="paramtype">const PangoRectangle *&nbsp;</td>
          <td class="paramname"> <em>object</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="6ff94b931b4d1ecb9d42296b0973fb69"></a><!-- doxytag: member="Pango::Rectangle::wrap" ref="6ff94b931b4d1ecb9d42296b0973fb69" args="(PangoRectangle *object)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Pango::Rectangle</a>&amp; wrap           </td>
          <td>(</td>
          <td class="paramtype">PangoRectangle *&nbsp;</td>
          <td class="paramname"> <em>object</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="cf0f80fce5c7b8c36682884a24d3c27e"></a><!-- doxytag: member="Pango::Rectangle::gobject_" ref="cf0f80fce5c7b8c36682884a24d3c27e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PangoRectangle <a class="el" href="classPango_1_1Rectangle.html#cf0f80fce5c7b8c36682884a24d3c27e">Pango::Rectangle::gobject_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="pango_2pangomm_2rectangle_8h.html">pango/pangomm/rectangle.h</a></ul>
</div>
<!-- end main content -->

<hr><address><small>
Generated for gtkmm 2.4 by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.5.1 &copy;&nbsp;1997-2001</small></address>
</body>
</html>