File: classCairo_1_1ScaledFont.html

package info (click to toggle)
cairomm 1.12.2-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 6,836 kB
  • sloc: cpp: 5,924; sh: 4,228; perl: 236; makefile: 164
file content (901 lines) | stat: -rw-r--r-- 58,939 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
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
<!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.9.1"/>
<title>cairomm: Cairo::ScaledFont Class Reference</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">cairomm
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceCairo.html">Cairo</a></li><li class="navelem"><a class="el" href="classCairo_1_1ScaledFont.html">ScaledFont</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classCairo_1_1ScaledFont-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Cairo::ScaledFont Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a> is a font scaled to a particular size and device resolution.  
 <a href="classCairo_1_1ScaledFont.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Cairo::ScaledFont:</div>
<div class="dyncontent">
<div class="center"><img src="classCairo_1_1ScaledFont__inherit__graph.png" border="0" usemap="#Cairo_1_1ScaledFont_inherit__map" alt="Inheritance graph"/></div>
<map name="Cairo_1_1ScaledFont_inherit__map" id="Cairo_1_1ScaledFont_inherit__map">
<area shape="rect" id="node2" href="classCairo_1_1FtScaledFont.html" title="Cairo::FtScaledFont" alt="" coords="5,80,152,107"/><area shape="rect" id="node3" href="classCairo_1_1Win32ScaledFont.html" title="Scaled Font implementation for Microsoft Windows fonts. " alt="" coords="177,80,349,107"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a2d6be7ee16b4cbdcff67e6fdf3682b2a"><td class="memItemLeft" align="right" valign="top">typedef cairo_scaled_font_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#a2d6be7ee16b4cbdcff67e6fdf3682b2a">cobject</a></td></tr>
<tr class="memdesc:a2d6be7ee16b4cbdcff67e6fdf3682b2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The underlying C cairo object type.  <a href="#a2d6be7ee16b4cbdcff67e6fdf3682b2a">More...</a><br /></td></tr>
<tr class="separator:a2d6be7ee16b4cbdcff67e6fdf3682b2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:adb6a80b560e695f10e39810bfede01b4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1ScaledFont.html#a2d6be7ee16b4cbdcff67e6fdf3682b2a">cobject</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#adb6a80b560e695f10e39810bfede01b4">cobj</a> ()</td></tr>
<tr class="memdesc:adb6a80b560e695f10e39810bfede01b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides acces to the underlying C cairo object.  <a href="#adb6a80b560e695f10e39810bfede01b4">More...</a><br /></td></tr>
<tr class="separator:adb6a80b560e695f10e39810bfede01b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59b9ad6357e84be0e020ae163eeb7ffc"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classCairo_1_1ScaledFont.html#a2d6be7ee16b4cbdcff67e6fdf3682b2a">cobject</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#a59b9ad6357e84be0e020ae163eeb7ffc">cobj</a> () const </td></tr>
<tr class="memdesc:a59b9ad6357e84be0e020ae163eeb7ffc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides acces to the underlying C cairo object.  <a href="#a59b9ad6357e84be0e020ae163eeb7ffc">More...</a><br /></td></tr>
<tr class="separator:a59b9ad6357e84be0e020ae163eeb7ffc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4407baae7eda0bf820e7c38596edcf7f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#a4407baae7eda0bf820e7c38596edcf7f">ScaledFont</a> (<a class="el" href="classCairo_1_1ScaledFont.html#a2d6be7ee16b4cbdcff67e6fdf3682b2a">cobject</a>*<a class="el" href="classCairo_1_1ScaledFont.html#adb6a80b560e695f10e39810bfede01b4">cobj</a>, bool has_reference=false)</td></tr>
<tr class="memdesc:a4407baae7eda0bf820e7c38596edcf7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a C++ wrapper object from the C instance.  <a href="#a4407baae7eda0bf820e7c38596edcf7f">More...</a><br /></td></tr>
<tr class="separator:a4407baae7eda0bf820e7c38596edcf7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3ff6bbdce79b4920b7ee563a61f0202"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#ae3ff6bbdce79b4920b7ee563a61f0202">ScaledFont</a> (const <a class="el" href="classCairo_1_1ScaledFont.html">ScaledFont</a>&amp;)=delete</td></tr>
<tr class="separator:ae3ff6bbdce79b4920b7ee563a61f0202"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab83ba84de001949893523fc2f561a2f7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1ScaledFont.html">ScaledFont</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#ab83ba84de001949893523fc2f561a2f7">operator=</a> (const <a class="el" href="classCairo_1_1ScaledFont.html">ScaledFont</a>&amp;)=delete</td></tr>
<tr class="separator:ab83ba84de001949893523fc2f561a2f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6cfed04a0d3e4d4a0e63ddc1c6c76c4"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#ae6cfed04a0d3e4d4a0e63ddc1c6c76c4">~ScaledFont</a> ()</td></tr>
<tr class="separator:ae6cfed04a0d3e4d4a0e63ddc1c6c76c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd99255e4eb802e9350143ec81a197af"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#abd99255e4eb802e9350143ec81a197af">get_extents</a> (<a class="el" href="namespaceCairo.html#aa7da46c699a67bfbdd5400af7e6b7b39">FontExtents</a>&amp;<a class="el" href="classCairo_1_1ScaledFont.html#aa64969e519ce44fba35f2061594e6f81">extents</a>) const </td></tr>
<tr class="memdesc:abd99255e4eb802e9350143ec81a197af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the metrics for a <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a>.  <a href="#abd99255e4eb802e9350143ec81a197af">More...</a><br /></td></tr>
<tr class="separator:abd99255e4eb802e9350143ec81a197af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa64969e519ce44fba35f2061594e6f81"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#aa64969e519ce44fba35f2061594e6f81">extents</a> (<a class="el" href="namespaceCairo.html#aa7da46c699a67bfbdd5400af7e6b7b39">FontExtents</a>&amp; extents) const </td></tr>
<tr class="separator:aa64969e519ce44fba35f2061594e6f81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a757a8effcae445a5c46bf4501424abae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#a757a8effcae445a5c46bf4501424abae">get_text_extents</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; utf8, <a class="el" href="namespaceCairo.html#af6d8a4744616383984c99f8f052c7a5d">TextExtents</a>&amp;<a class="el" href="classCairo_1_1ScaledFont.html#aa64969e519ce44fba35f2061594e6f81">extents</a>) const </td></tr>
<tr class="memdesc:a757a8effcae445a5c46bf4501424abae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the extents for a string of text.  <a href="#a757a8effcae445a5c46bf4501424abae">More...</a><br /></td></tr>
<tr class="separator:a757a8effcae445a5c46bf4501424abae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a396afc516d53234a04e81693a75b0203"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#a396afc516d53234a04e81693a75b0203">text_extents</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; utf8, <a class="el" href="namespaceCairo.html#af6d8a4744616383984c99f8f052c7a5d">TextExtents</a>&amp;<a class="el" href="classCairo_1_1ScaledFont.html#aa64969e519ce44fba35f2061594e6f81">extents</a>) const </td></tr>
<tr class="separator:a396afc516d53234a04e81693a75b0203"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabfe38c6ca3e1c575b85aa7094e8601d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#aabfe38c6ca3e1c575b85aa7094e8601d">get_glyph_extents</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a2483f165322e844c095c7be95849fdc2">Glyph</a> &gt;&amp; glyphs, <a class="el" href="namespaceCairo.html#af6d8a4744616383984c99f8f052c7a5d">TextExtents</a>&amp;<a class="el" href="classCairo_1_1ScaledFont.html#aa64969e519ce44fba35f2061594e6f81">extents</a>)</td></tr>
<tr class="memdesc:aabfe38c6ca3e1c575b85aa7094e8601d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the extents for an array of glyphs.  <a href="#aabfe38c6ca3e1c575b85aa7094e8601d">More...</a><br /></td></tr>
<tr class="separator:aabfe38c6ca3e1c575b85aa7094e8601d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a859bbee5886b15e1d8ab599dabab9833"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#a859bbee5886b15e1d8ab599dabab9833">glyph_extents</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a2483f165322e844c095c7be95849fdc2">Glyph</a> &gt;&amp; glyphs, <a class="el" href="namespaceCairo.html#af6d8a4744616383984c99f8f052c7a5d">TextExtents</a>&amp;<a class="el" href="classCairo_1_1ScaledFont.html#aa64969e519ce44fba35f2061594e6f81">extents</a>)</td></tr>
<tr class="separator:a859bbee5886b15e1d8ab599dabab9833"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac20c70e78e70276842ab460bdc75513e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1FontFace.html">FontFace</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#ac20c70e78e70276842ab460bdc75513e">get_font_face</a> () const </td></tr>
<tr class="memdesc:ac20c70e78e70276842ab460bdc75513e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="classCairo_1_1FontFace.html" title="A FontFace represents a particular font at a particular weight, slant, and other characteristic but n...">FontFace</a> with which this <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a> was created.  <a href="#ac20c70e78e70276842ab460bdc75513e">More...</a><br /></td></tr>
<tr class="separator:ac20c70e78e70276842ab460bdc75513e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77b387d0cd3f23a71997d3719e270fd6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#a77b387d0cd3f23a71997d3719e270fd6">get_font_options</a> (<a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>&amp; options) const </td></tr>
<tr class="memdesc:a77b387d0cd3f23a71997d3719e270fd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="el" href="classCairo_1_1FontOptions.html" title="The font options specify how fonts should be rendered. ">FontOptions</a> with which the <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a> was created.  <a href="#a77b387d0cd3f23a71997d3719e270fd6">More...</a><br /></td></tr>
<tr class="separator:a77b387d0cd3f23a71997d3719e270fd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f4c3924cc10b3cffb025b6f6fa2e13b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#a3f4c3924cc10b3cffb025b6f6fa2e13b">get_font_matrix</a> (<a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp; font_matrix) const </td></tr>
<tr class="memdesc:a3f4c3924cc10b3cffb025b6f6fa2e13b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the font matrix with which the <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a> was created.  <a href="#a3f4c3924cc10b3cffb025b6f6fa2e13b">More...</a><br /></td></tr>
<tr class="separator:a3f4c3924cc10b3cffb025b6f6fa2e13b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba264e1844f7fe7704115a984a39f437"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#aba264e1844f7fe7704115a984a39f437">get_font_matrix</a> (<a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp; font_matrix) const </td></tr>
<tr class="separator:aba264e1844f7fe7704115a984a39f437"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ecb41822d51284c2f52a83b05cede8e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#a2ecb41822d51284c2f52a83b05cede8e">get_ctm</a> (<a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp; ctm) const </td></tr>
<tr class="memdesc:a2ecb41822d51284c2f52a83b05cede8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the CTM with which the <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a> was created.  <a href="#a2ecb41822d51284c2f52a83b05cede8e">More...</a><br /></td></tr>
<tr class="separator:a2ecb41822d51284c2f52a83b05cede8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86b6d3179b10491e2c755b886ef49b9e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#a86b6d3179b10491e2c755b886ef49b9e">get_ctm</a> (<a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp; ctm) const </td></tr>
<tr class="separator:a86b6d3179b10491e2c755b886ef49b9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeabb462f690ec9e22fc0096af38c46bc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceCairo.html#a23e1a9a5be49d16cf3871e841e8ab522">FontType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#aeabb462f690ec9e22fc0096af38c46bc">get_type</a> () const </td></tr>
<tr class="memdesc:aeabb462f690ec9e22fc0096af38c46bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the type of scaled Font.  <a href="#aeabb462f690ec9e22fc0096af38c46bc">More...</a><br /></td></tr>
<tr class="separator:aeabb462f690ec9e22fc0096af38c46bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf1bb0d07de65cc8d8f7e64d83f0be26"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#abf1bb0d07de65cc8d8f7e64d83f0be26">text_to_glyphs</a> (double x, double y, const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; utf8, <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a2483f165322e844c095c7be95849fdc2">Glyph</a> &gt;&amp; glyphs, <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a3c23510889078c8a75d66add004ab288">TextCluster</a> &gt;&amp; clusters, <a class="el" href="namespaceCairo.html#a61b770cf36c555a4098b5428e030542a">TextClusterFlags</a>&amp; cluster_flags)</td></tr>
<tr class="separator:abf1bb0d07de65cc8d8f7e64d83f0be26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac31d37dc06c1a95830cb9e30425f609c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#ac31d37dc06c1a95830cb9e30425f609c">get_scale_matrix</a> (<a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp; scale_matrix) const </td></tr>
<tr class="memdesc:ac31d37dc06c1a95830cb9e30425f609c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores the scale matrix of this scaled font into matrix.  <a href="#ac31d37dc06c1a95830cb9e30425f609c">More...</a><br /></td></tr>
<tr class="separator:ac31d37dc06c1a95830cb9e30425f609c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:adddf87ea689711ddbbee3028ed30e02b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1ScaledFont.html">ScaledFont</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#adddf87ea689711ddbbee3028ed30e02b">create</a> (const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1FontFace.html">FontFace</a> &gt;&amp; font_face, const <a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp; font_matrix, const <a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp; ctm, const <a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>&amp; options=<a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>())</td></tr>
<tr class="memdesc:adddf87ea689711ddbbee3028ed30e02b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a> object from a font face and matrices that describe the size of the font and the environment in which it will be used.  <a href="#adddf87ea689711ddbbee3028ed30e02b">More...</a><br /></td></tr>
<tr class="separator:adddf87ea689711ddbbee3028ed30e02b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d422798461d1ad67d0191b71df1c25e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1ScaledFont.html">ScaledFont</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#a2d422798461d1ad67d0191b71df1c25e">create</a> (const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1FontFace.html">FontFace</a> &gt;&amp; font_face, const <a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp; font_matrix, const <a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp; ctm, const <a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>&amp; options=<a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>())</td></tr>
<tr class="separator:a2d422798461d1ad67d0191b71df1c25e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:aca31f49f3121d2a6673205bebe7720c0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#aca31f49f3121d2a6673205bebe7720c0">ScaledFont</a> (const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1FontFace.html">FontFace</a> &gt;&amp; font_face, const <a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp; font_matrix, const <a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp; ctm, const <a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>&amp; options=<a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>())</td></tr>
<tr class="separator:aca31f49f3121d2a6673205bebe7720c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:aa6f45de0a89807dd6678029807227757"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1ScaledFont.html#a2d6be7ee16b4cbdcff67e6fdf3682b2a">cobject</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1ScaledFont.html#aa6f45de0a89807dd6678029807227757">m_cobject</a></td></tr>
<tr class="memdesc:aa6f45de0a89807dd6678029807227757"><td class="mdescLeft">&#160;</td><td class="mdescRight">The underlying C cairo object that is wrapped by this <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a>.  <a href="#aa6f45de0a89807dd6678029807227757">More...</a><br /></td></tr>
<tr class="separator:aa6f45de0a89807dd6678029807227757"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a> is a font scaled to a particular size and device resolution. </p>
<p>It is most useful for low-level font usage where a library or application wants to cache a reference to a scaled font to speed up the computation of metrics. </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a2d6be7ee16b4cbdcff67e6fdf3682b2a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef cairo_scaled_font_t <a class="el" href="classCairo_1_1ScaledFont.html#a2d6be7ee16b4cbdcff67e6fdf3682b2a">Cairo::ScaledFont::cobject</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The underlying C cairo object type. </p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a4407baae7eda0bf820e7c38596edcf7f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Cairo::ScaledFont::ScaledFont </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCairo_1_1ScaledFont.html#a2d6be7ee16b4cbdcff67e6fdf3682b2a">cobject</a>*&#160;</td>
          <td class="paramname"><em>cobj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>has_reference</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a C++ wrapper object from the C instance. </p>
<p>This C++ object should then be given to a <a class="el" href="classCairo_1_1RefPtr.html" title="RefPtr<> is a reference-counting shared smartpointer. ">RefPtr</a>. </p>

</div>
</div>
<a class="anchor" id="ae3ff6bbdce79b4920b7ee563a61f0202"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Cairo::ScaledFont::ScaledFont </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1ScaledFont.html">ScaledFont</a>&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ae6cfed04a0d3e4d4a0e63ddc1c6c76c4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Cairo::ScaledFont::~ScaledFont </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aca31f49f3121d2a6673205bebe7720c0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Cairo::ScaledFont::ScaledFont </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1FontFace.html">FontFace</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>font_face</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp;&#160;</td>
          <td class="paramname"><em>font_matrix</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp;&#160;</td>
          <td class="paramname"><em>ctm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>&amp;&#160;</td>
          <td class="paramname"><em>options</em> = <code><a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="adb6a80b560e695f10e39810bfede01b4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1ScaledFont.html#a2d6be7ee16b4cbdcff67e6fdf3682b2a">cobject</a>* Cairo::ScaledFont::cobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provides acces to the underlying C cairo object. </p>

</div>
</div>
<a class="anchor" id="a59b9ad6357e84be0e020ae163eeb7ffc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classCairo_1_1ScaledFont.html#a2d6be7ee16b4cbdcff67e6fdf3682b2a">cobject</a>* Cairo::ScaledFont::cobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provides acces to the underlying C cairo object. </p>

</div>
</div>
<a class="anchor" id="adddf87ea689711ddbbee3028ed30e02b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt;<a class="el" href="classCairo_1_1ScaledFont.html">ScaledFont</a>&gt; Cairo::ScaledFont::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1FontFace.html">FontFace</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>font_face</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp;&#160;</td>
          <td class="paramname"><em>font_matrix</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp;&#160;</td>
          <td class="paramname"><em>ctm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>&amp;&#160;</td>
          <td class="paramname"><em>options</em> = <code><a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a> object from a font face and matrices that describe the size of the font and the environment in which it will be used. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">font_face</td><td>A font face. </td></tr>
    <tr><td class="paramname">font_matrix</td><td>font space to user space transformation matrix for the font. In the simplest case of a N point font, this matrix is just a scale by N, but it can also be used to shear the font or stretch it unequally along the two axes. See <a class="el" href="classCairo_1_1Context.html#a7981bd1109ec5538fb505b36ec377757" title="Sets the current font matrix to . ">Context::set_font_matrix()</a>. </td></tr>
    <tr><td class="paramname">ctm</td><td>user to device transformation matrix with which the font will be used. </td></tr>
    <tr><td class="paramname">options</td><td>options to use when getting metrics for the font and rendering with it. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2d422798461d1ad67d0191b71df1c25e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt;<a class="el" href="classCairo_1_1ScaledFont.html">ScaledFont</a>&gt; Cairo::ScaledFont::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1FontFace.html">FontFace</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>font_face</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp;&#160;</td>
          <td class="paramname"><em>font_matrix</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp;&#160;</td>
          <td class="paramname"><em>ctm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>&amp;&#160;</td>
          <td class="paramname"><em>options</em> = <code><a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aa64969e519ce44fba35f2061594e6f81"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::ScaledFont::extents </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#aa7da46c699a67bfbdd5400af7e6b7b39">FontExtents</a>&amp;&#160;</td>
          <td class="paramname"><em>extents</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000010">Deprecated:</a></b></dt><dd>Use <a class="el" href="classCairo_1_1ScaledFont.html#abd99255e4eb802e9350143ec81a197af" title="Gets the metrics for a ScaledFont. ">get_extents()</a> instead <dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>
</dd></dl>

</div>
</div>
<a class="anchor" id="a2ecb41822d51284c2f52a83b05cede8e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::ScaledFont::get_ctm </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp;&#160;</td>
          <td class="paramname"><em>ctm</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the CTM with which the <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a> was created. </p>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a86b6d3179b10491e2c755b886ef49b9e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::ScaledFont::get_ctm </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp;&#160;</td>
          <td class="paramname"><em>ctm</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="abd99255e4eb802e9350143ec81a197af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::ScaledFont::get_extents </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#aa7da46c699a67bfbdd5400af7e6b7b39">FontExtents</a>&amp;&#160;</td>
          <td class="paramname"><em>extents</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the metrics for a <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a>. </p>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

</div>
</div>
<a class="anchor" id="ac20c70e78e70276842ab460bdc75513e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt;<a class="el" href="classCairo_1_1FontFace.html">FontFace</a>&gt; Cairo::ScaledFont::get_font_face </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The <a class="el" href="classCairo_1_1FontFace.html" title="A FontFace represents a particular font at a particular weight, slant, and other characteristic but n...">FontFace</a> with which this <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a> was created. </p>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a3f4c3924cc10b3cffb025b6f6fa2e13b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::ScaledFont::get_font_matrix </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp;&#160;</td>
          <td class="paramname"><em>font_matrix</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the font matrix with which the <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a> was created. </p>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>

</div>
</div>
<a class="anchor" id="aba264e1844f7fe7704115a984a39f437"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::ScaledFont::get_font_matrix </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp;&#160;</td>
          <td class="paramname"><em>font_matrix</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a77b387d0cd3f23a71997d3719e270fd6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::ScaledFont::get_font_options </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>&amp;&#160;</td>
          <td class="paramname"><em>options</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the <a class="el" href="classCairo_1_1FontOptions.html" title="The font options specify how fonts should be rendered. ">FontOptions</a> with which the <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a> was created. </p>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>

</div>
</div>
<a class="anchor" id="aabfe38c6ca3e1c575b85aa7094e8601d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::ScaledFont::get_glyph_extents </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a2483f165322e844c095c7be95849fdc2">Glyph</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>glyphs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#af6d8a4744616383984c99f8f052c7a5d">TextExtents</a>&amp;&#160;</td>
          <td class="paramname"><em>extents</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the extents for an array of glyphs. </p>
<p>The extents describe a user-space rectangle that encloses the "inked" portion of the glyphs, (as they would be drawn by <a class="el" href="classCairo_1_1Context.html#af51f2c2ff72e8af66abeea3d15d25553" title="A drawing operator that generates the shape from an array of glyphs, rendered according to the curren...">Context::show_glyphs()</a> if the cairo graphics state were set to the same font_face, font_matrix, ctm, and font_options as the <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a> object). Additionally, the x_advance and y_advance values indicate the amount by which the current point would be advanced by <a class="el" href="classCairo_1_1Context.html#af51f2c2ff72e8af66abeea3d15d25553" title="A drawing operator that generates the shape from an array of glyphs, rendered according to the curren...">Context::show_glyphs()</a>.</p>
<p>Note that whitespace glyphs do not contribute to the size of the rectangle (extents.width and extents.height).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">glyphs</td><td>A vector of glyphs to calculate the extents of. </td></tr>
    <tr><td class="paramname">extents</td><td>Returns the extents for the array of glyphs.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

</div>
</div>
<a class="anchor" id="ac31d37dc06c1a95830cb9e30425f609c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::ScaledFont::get_scale_matrix </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp;&#160;</td>
          <td class="paramname"><em>scale_matrix</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stores the scale matrix of this scaled font into matrix. </p>
<p>The scale matrix is product of the font matrix and the ctm associated with the scaled font, and hence is the matrix mapping from font space to device space.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">scale_matrix</td><td>return value for the matrix.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a757a8effcae445a5c46bf4501424abae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::ScaledFont::get_text_extents </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>utf8</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#af6d8a4744616383984c99f8f052c7a5d">TextExtents</a>&amp;&#160;</td>
          <td class="paramname"><em>extents</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the extents for a string of text. </p>
<p>The extents describe a user-space rectangle that encloses the "inked" portion of the text drawn at the origin (0,0) (as it would be drawn by <a class="el" href="classCairo_1_1Context.html#a584596d6f12dbea30519b908cacce038" title="A drawing operator that generates the shape from a string of UTF-8 characters, rendered according to ...">Context::show_text()</a> if the cairo graphics state were set to the same font_face, font_matrix, ctm, and font_options as the <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a> object). Additionally, the x_advance and y_advance values indicate the amount by which the current point would be advanced by <a class="el" href="classCairo_1_1Context.html#a584596d6f12dbea30519b908cacce038" title="A drawing operator that generates the shape from a string of UTF-8 characters, rendered according to ...">Context::show_text()</a>.</p>
<p>Note that whitespace characters do not directly contribute to the size of the rectangle (extents.width and extents.height). They do contribute indirectly by changing the position of non-whitespace characters. In particular, trailing whitespace characters are likely to not affect the size of the rectangle, though they will affect the x_advance and y_advance values.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">utf8</td><td>a string of text, encoded in UTF-8. </td></tr>
    <tr><td class="paramname">extents</td><td>Returns the extents of the given string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

</div>
</div>
<a class="anchor" id="aeabb462f690ec9e22fc0096af38c46bc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceCairo.html#a23e1a9a5be49d16cf3871e841e8ab522">FontType</a> Cairo::ScaledFont::get_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the type of scaled Font. </p>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a859bbee5886b15e1d8ab599dabab9833"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::ScaledFont::glyph_extents </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a2483f165322e844c095c7be95849fdc2">Glyph</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>glyphs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#af6d8a4744616383984c99f8f052c7a5d">TextExtents</a>&amp;&#160;</td>
          <td class="paramname"><em>extents</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000012">Deprecated:</a></b></dt><dd>Use <a class="el" href="classCairo_1_1ScaledFont.html#aabfe38c6ca3e1c575b85aa7094e8601d" title="Gets the extents for an array of glyphs. ">get_glyph_extents()</a> instead <dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>
</dd></dl>

</div>
</div>
<a class="anchor" id="ab83ba84de001949893523fc2f561a2f7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1ScaledFont.html">ScaledFont</a>&amp; Cairo::ScaledFont::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1ScaledFont.html">ScaledFont</a>&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a396afc516d53234a04e81693a75b0203"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::ScaledFont::text_extents </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>utf8</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#af6d8a4744616383984c99f8f052c7a5d">TextExtents</a>&amp;&#160;</td>
          <td class="paramname"><em>extents</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000011">Deprecated:</a></b></dt><dd>Use <a class="el" href="classCairo_1_1ScaledFont.html#a757a8effcae445a5c46bf4501424abae" title="Gets the extents for a string of text. ">get_text_extents()</a> instead <dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>
</dd></dl>

</div>
</div>
<a class="anchor" id="abf1bb0d07de65cc8d8f7e64d83f0be26"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::ScaledFont::text_to_glyphs </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>utf8</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a2483f165322e844c095c7be95849fdc2">Glyph</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>glyphs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a3c23510889078c8a75d66add004ab288">TextCluster</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>clusters</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#a61b770cf36c555a4098b5428e030542a">TextClusterFlags</a>&amp;&#160;</td>
          <td class="paramname"><em>cluster_flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>X position to place first glyph. </td></tr>
    <tr><td class="paramname">y</td><td>Y position to place first glyph. </td></tr>
    <tr><td class="paramname">utf8</td><td>a string of text encoded in UTF-8. </td></tr>
    <tr><td class="paramname">glyphs</td><td>pointer to array of glyphs to fill. </td></tr>
    <tr><td class="paramname">clusters</td><td>pointer to array of cluster mapping information to fill.  cluster mapping flags</td></tr>
  </table>
  </dd>
</dl>
<p>Converts UTF-8 text to an array of glyphs, with cluster mapping, that can be used to render later.</p>
<p>For details of how (<em>clusters</em> and <em>cluster_flags</em> map input UTF-8 text to the output glyphs see <a class="el" href="classCairo_1_1Context.html#a45723fd605cc2343ab46cf603d330002" title="This operation has rendering effects similar to show_glyphs() but, if the target surface supports it...">Context::show_text_glyphs()</a>.</p>
<p>The output values can be readily passed to <a class="el" href="classCairo_1_1Context.html#a45723fd605cc2343ab46cf603d330002" title="This operation has rendering effects similar to show_glyphs() but, if the target surface supports it...">Context::show_text_glyphs()</a> <a class="el" href="classCairo_1_1Context.html#af51f2c2ff72e8af66abeea3d15d25553" title="A drawing operator that generates the shape from an array of glyphs, rendered according to the curren...">Context::show_glyphs()</a>, or related functions, assuming that the exact same scaled font is used for the operation.</p>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="aa6f45de0a89807dd6678029807227757"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1ScaledFont.html#a2d6be7ee16b4cbdcff67e6fdf3682b2a">cobject</a>* Cairo::ScaledFont::m_cobject</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The underlying C cairo object that is wrapped by this <a class="el" href="classCairo_1_1ScaledFont.html" title="A ScaledFont is a font scaled to a particular size and device resolution. ">ScaledFont</a>. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>cairomm/scaledfont.h</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Nov 15 2016 12:52:12 for cairomm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>