File: classCairo_1_1PsSurface.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 (678 lines) | stat: -rw-r--r-- 65,551 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
<!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::PsSurface 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_1PsSurface.html">PsSurface</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classCairo_1_1PsSurface-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Cairo::PsSurface Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A <a class="el" href="classCairo_1_1PsSurface.html" title="A PsSurface provides a way to render PostScript documents from cairo. ">PsSurface</a> provides a way to render PostScript documents from cairo.  
 <a href="classCairo_1_1PsSurface.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Cairo::PsSurface:</div>
<div class="dyncontent">
<div class="center"><img src="classCairo_1_1PsSurface__inherit__graph.png" border="0" usemap="#Cairo_1_1PsSurface_inherit__map" alt="Inheritance graph"/></div>
<map name="Cairo_1_1PsSurface_inherit__map" id="Cairo_1_1PsSurface_inherit__map">
<area shape="rect" id="node2" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh..." alt="" coords="13,5,125,32"/></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-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0b84b39dd7188da7e785ee8af85374f1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1PsSurface.html#a0b84b39dd7188da7e785ee8af85374f1">PsSurface</a> (cairo_surface_t*<a class="el" href="classCairo_1_1Surface.html#ad176eb7343b5902df3c19f9f56e59fb4">cobject</a>, bool has_reference=false)</td></tr>
<tr class="memdesc:a0b84b39dd7188da7e785ee8af85374f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a C++ wrapper for the C instance.  <a href="#a0b84b39dd7188da7e785ee8af85374f1">More...</a><br /></td></tr>
<tr class="separator:a0b84b39dd7188da7e785ee8af85374f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a654a7fb11162e78093aced541154b91c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1PsSurface.html#a654a7fb11162e78093aced541154b91c">~PsSurface</a> () override</td></tr>
<tr class="separator:a654a7fb11162e78093aced541154b91c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9de17b1a3db7227a4f16fbf08a4cef2a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1PsSurface.html#a9de17b1a3db7227a4f16fbf08a4cef2a">set_size</a> (double width_in_points, double height_in_points)</td></tr>
<tr class="memdesc:a9de17b1a3db7227a4f16fbf08a4cef2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the size of a PostScript surface for the current (and subsequent) pages.  <a href="#a9de17b1a3db7227a4f16fbf08a4cef2a">More...</a><br /></td></tr>
<tr class="separator:a9de17b1a3db7227a4f16fbf08a4cef2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cd275173ea5dd88eeb485aab614cf92"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1PsSurface.html#a9cd275173ea5dd88eeb485aab614cf92">dsc_comment</a> (<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> comment)</td></tr>
<tr class="memdesc:a9cd275173ea5dd88eeb485aab614cf92"><td class="mdescLeft">&#160;</td><td class="mdescRight">Emit a comment into the PostScript output for the given surface.  <a href="#a9cd275173ea5dd88eeb485aab614cf92">More...</a><br /></td></tr>
<tr class="separator:a9cd275173ea5dd88eeb485aab614cf92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c72ddaa92aaf109511586e445309131"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1PsSurface.html#a2c72ddaa92aaf109511586e445309131">dsc_begin_setup</a> ()</td></tr>
<tr class="memdesc:a2c72ddaa92aaf109511586e445309131"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function indicates that subsequent calls to <a class="el" href="classCairo_1_1PsSurface.html#a9cd275173ea5dd88eeb485aab614cf92" title="Emit a comment into the PostScript output for the given surface. ">dsc_comment()</a> should direct comments to the Setup section of the PostScript output.  <a href="#a2c72ddaa92aaf109511586e445309131">More...</a><br /></td></tr>
<tr class="separator:a2c72ddaa92aaf109511586e445309131"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcaaa1cf7f554e71f85039424726f6c9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1PsSurface.html#adcaaa1cf7f554e71f85039424726f6c9">dsc_begin_page_setup</a> ()</td></tr>
<tr class="memdesc:adcaaa1cf7f554e71f85039424726f6c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function indicates that subsequent calls to <a class="el" href="classCairo_1_1PsSurface.html#a9cd275173ea5dd88eeb485aab614cf92" title="Emit a comment into the PostScript output for the given surface. ">dsc_comment()</a> should direct comments to the PageSetup section of the PostScript output.  <a href="#adcaaa1cf7f554e71f85039424726f6c9">More...</a><br /></td></tr>
<tr class="separator:adcaaa1cf7f554e71f85039424726f6c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2424e42623eb0c410573b465f7b0f00"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1PsSurface.html#aa2424e42623eb0c410573b465f7b0f00">set_eps</a> (bool eps)</td></tr>
<tr class="memdesc:aa2424e42623eb0c410573b465f7b0f00"><td class="mdescLeft">&#160;</td><td class="mdescRight">If eps is true, the PostScript surface will output Encapsulated PostScript.  <a href="#aa2424e42623eb0c410573b465f7b0f00">More...</a><br /></td></tr>
<tr class="separator:aa2424e42623eb0c410573b465f7b0f00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af31ab624b15d1d8a36ee6e06e3980cc9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1PsSurface.html#af31ab624b15d1d8a36ee6e06e3980cc9">get_eps</a> () const </td></tr>
<tr class="memdesc:af31ab624b15d1d8a36ee6e06e3980cc9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check whether the PostScript surface will output Encapsulated PostScript.  <a href="#af31ab624b15d1d8a36ee6e06e3980cc9">More...</a><br /></td></tr>
<tr class="separator:af31ab624b15d1d8a36ee6e06e3980cc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2db7043f9b80e2d2082a66ba419b5d46"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1PsSurface.html#a2db7043f9b80e2d2082a66ba419b5d46">restrict_to_level</a> (<a class="el" href="namespaceCairo.html#a452db49f19542c791e4a331f052a9a00">PsLevel</a> level)</td></tr>
<tr class="memdesc:a2db7043f9b80e2d2082a66ba419b5d46"><td class="mdescLeft">&#160;</td><td class="mdescRight">Restricts the generated PostSript file to .  <a href="#a2db7043f9b80e2d2082a66ba419b5d46">More...</a><br /></td></tr>
<tr class="separator:a2db7043f9b80e2d2082a66ba419b5d46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classCairo_1_1Surface"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classCairo_1_1Surface')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classCairo_1_1Surface.html">Cairo::Surface</a></td></tr>
<tr class="memitem:a47b90669a5a85d187cc0d28dc99915c8 inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a47b90669a5a85d187cc0d28dc99915c8">Surface</a> (cairo_surface_t*<a class="el" href="classCairo_1_1Surface.html#ad176eb7343b5902df3c19f9f56e59fb4">cobject</a>, bool has_reference=false)</td></tr>
<tr class="memdesc:a47b90669a5a85d187cc0d28dc99915c8 inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a C++ wrapper for the C instance.  <a href="#a47b90669a5a85d187cc0d28dc99915c8">More...</a><br /></td></tr>
<tr class="separator:a47b90669a5a85d187cc0d28dc99915c8 inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d0d7fe23fdbf6aeab62cf240a1fb434 inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a7d0d7fe23fdbf6aeab62cf240a1fb434">Surface</a> (const <a class="el" href="classCairo_1_1Surface.html">Surface</a>&amp;)=delete</td></tr>
<tr class="separator:a7d0d7fe23fdbf6aeab62cf240a1fb434 inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcbdb807ef3cb8dae9181eb4f230d87e inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1Surface.html">Surface</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#afcbdb807ef3cb8dae9181eb4f230d87e">operator=</a> (const <a class="el" href="classCairo_1_1Surface.html">Surface</a>&amp;)=delete</td></tr>
<tr class="separator:afcbdb807ef3cb8dae9181eb4f230d87e inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64ca52e9e8e9a64358ff85e6ef0d93c1 inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a64ca52e9e8e9a64358ff85e6ef0d93c1">~Surface</a> ()</td></tr>
<tr class="separator:a64ca52e9e8e9a64358ff85e6ef0d93c1 inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a998e72aa2c251f96f450a168e16c87b6 inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">const unsigned char*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a998e72aa2c251f96f450a168e16c87b6">get_mime_data</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; mime_type, unsigned long&amp; length)</td></tr>
<tr class="memdesc:a998e72aa2c251f96f450a168e16c87b6 inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return mime data previously attached to surface using the specified mime type.  <a href="#a998e72aa2c251f96f450a168e16c87b6">More...</a><br /></td></tr>
<tr class="separator:a998e72aa2c251f96f450a168e16c87b6 inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c572103fe56f7c6d0b83f2986338f82 inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a7c572103fe56f7c6d0b83f2986338f82">set_mime_data</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; mime_type, unsigned char* data, unsigned long length, const <a class="el" href="classCairo_1_1Surface.html#a150d8ae84fa994f8e2032caa525c166a">SlotDestroy</a>&amp; slot_destroy)</td></tr>
<tr class="memdesc:a7c572103fe56f7c6d0b83f2986338f82 inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attach an image in the format mime_type to surface.  <a href="#a7c572103fe56f7c6d0b83f2986338f82">More...</a><br /></td></tr>
<tr class="separator:a7c572103fe56f7c6d0b83f2986338f82 inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5074b0c28c547802824d6d6cd2b0b8b5 inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a5074b0c28c547802824d6d6cd2b0b8b5">unset_mime_data</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; mime_type)</td></tr>
<tr class="memdesc:a5074b0c28c547802824d6d6cd2b0b8b5 inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove the data from a surface.  <a href="#a5074b0c28c547802824d6d6cd2b0b8b5">More...</a><br /></td></tr>
<tr class="separator:a5074b0c28c547802824d6d6cd2b0b8b5 inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e3dd712e398719315bbd89efe9af0b2 inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a7e3dd712e398719315bbd89efe9af0b2">get_font_options</a> (<a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>&amp; options) const </td></tr>
<tr class="memdesc:a7e3dd712e398719315bbd89efe9af0b2 inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the default font rendering options for the surface.  <a href="#a7e3dd712e398719315bbd89efe9af0b2">More...</a><br /></td></tr>
<tr class="separator:a7e3dd712e398719315bbd89efe9af0b2 inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d8afee4ddb4935b85698f27099646a0 inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a8d8afee4ddb4935b85698f27099646a0">finish</a> ()</td></tr>
<tr class="memdesc:a8d8afee4ddb4935b85698f27099646a0 inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function finishes the surface and drops all references to external resources.  <a href="#a8d8afee4ddb4935b85698f27099646a0">More...</a><br /></td></tr>
<tr class="separator:a8d8afee4ddb4935b85698f27099646a0 inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f95678918fb40bae15f8aad2adb6ef2 inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a8f95678918fb40bae15f8aad2adb6ef2">flush</a> ()</td></tr>
<tr class="memdesc:a8f95678918fb40bae15f8aad2adb6ef2 inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Do any pending drawing for the surface and also restore any temporary modifications cairo has made to the surface's state.  <a href="#a8f95678918fb40bae15f8aad2adb6ef2">More...</a><br /></td></tr>
<tr class="separator:a8f95678918fb40bae15f8aad2adb6ef2 inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77b1f860cc55f4ad168e100108e0b7bb inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a77b1f860cc55f4ad168e100108e0b7bb">mark_dirty</a> ()</td></tr>
<tr class="memdesc:a77b1f860cc55f4ad168e100108e0b7bb inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells cairo to consider the data buffer dirty.  <a href="#a77b1f860cc55f4ad168e100108e0b7bb">More...</a><br /></td></tr>
<tr class="separator:a77b1f860cc55f4ad168e100108e0b7bb inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dbf3a036b7dc7c09fc86996ea1ee61f inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a1dbf3a036b7dc7c09fc86996ea1ee61f">mark_dirty</a> (int x, int y, int width, int height)</td></tr>
<tr class="memdesc:a1dbf3a036b7dc7c09fc86996ea1ee61f inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Marks a rectangular area of the given surface dirty.  <a href="#a1dbf3a036b7dc7c09fc86996ea1ee61f">More...</a><br /></td></tr>
<tr class="separator:a1dbf3a036b7dc7c09fc86996ea1ee61f inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a957e290a548d3cba65aa9e3fd0c86180 inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a957e290a548d3cba65aa9e3fd0c86180">set_device_offset</a> (double x_offset, double y_offset)</td></tr>
<tr class="memdesc:a957e290a548d3cba65aa9e3fd0c86180 inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets an offset that is added to the device coordinates determined by the CTM when drawing to surface.  <a href="#a957e290a548d3cba65aa9e3fd0c86180">More...</a><br /></td></tr>
<tr class="separator:a957e290a548d3cba65aa9e3fd0c86180 inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5861783d0f5f3b396f52791a93e668fe inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a5861783d0f5f3b396f52791a93e668fe">get_device_offset</a> (double&amp; x_offset, double&amp; y_offset) const </td></tr>
<tr class="memdesc:a5861783d0f5f3b396f52791a93e668fe inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a previous device offset set by <a class="el" href="classCairo_1_1Surface.html#a957e290a548d3cba65aa9e3fd0c86180" title="Sets an offset that is added to the device coordinates determined by the CTM when drawing to surface...">set_device_offset()</a>.  <a href="#a5861783d0f5f3b396f52791a93e668fe">More...</a><br /></td></tr>
<tr class="separator:a5861783d0f5f3b396f52791a93e668fe inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8caca30702fe2bd69ae89929ee784e8 inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#ac8caca30702fe2bd69ae89929ee784e8">set_fallback_resolution</a> (double x_pixels_per_inch, double y_pixels_per_inch)</td></tr>
<tr class="memdesc:ac8caca30702fe2bd69ae89929ee784e8 inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the horizontal and vertical resolution for image fallbacks.  <a href="#ac8caca30702fe2bd69ae89929ee784e8">More...</a><br /></td></tr>
<tr class="separator:ac8caca30702fe2bd69ae89929ee784e8 inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3a8d5a2b5c91d11f7758d0a67f6093a inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#aa3a8d5a2b5c91d11f7758d0a67f6093a">get_fallback_resolution</a> (double&amp; x_pixels_per_inch, double&amp; y_pixels_per_inch) const </td></tr>
<tr class="memdesc:aa3a8d5a2b5c91d11f7758d0a67f6093a inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the previous fallback resolution set by <a class="el" href="classCairo_1_1Surface.html#ac8caca30702fe2bd69ae89929ee784e8" title="Set the horizontal and vertical resolution for image fallbacks. ">set_fallback_resolution()</a>, or default fallback resolution if never set.  <a href="#aa3a8d5a2b5c91d11f7758d0a67f6093a">More...</a><br /></td></tr>
<tr class="separator:aa3a8d5a2b5c91d11f7758d0a67f6093a inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ee0760ea1895f5e6c8f6673f83cc072 inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceCairo.html#af11d962e38a38a2d92fc1473fbe92549">SurfaceType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a7ee0760ea1895f5e6c8f6673f83cc072">get_type</a> () const </td></tr>
<tr class="separator:a7ee0760ea1895f5e6c8f6673f83cc072 inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fe39669b1d4239f3e4f73a8bf5105a5 inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceCairo.html#a1f0f5d82599dfeabbeb2396dbfd767d0">Content</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a5fe39669b1d4239f3e4f73a8bf5105a5">get_content</a> () const </td></tr>
<tr class="memdesc:a5fe39669b1d4239f3e4f73a8bf5105a5 inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the content type of surface which indicates whether the surface contains color and/or alpha information.  <a href="#a5fe39669b1d4239f3e4f73a8bf5105a5">More...</a><br /></td></tr>
<tr class="separator:a5fe39669b1d4239f3e4f73a8bf5105a5 inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae22bcaa9becbf3ca703a380f70c2c0a inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#aae22bcaa9becbf3ca703a380f70c2c0a">copy_page</a> ()</td></tr>
<tr class="memdesc:aae22bcaa9becbf3ca703a380f70c2c0a inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Emits the current page for backends that support multiple pages, but doesn't clear it, so that the contents of the current page will be retained for the next page.  <a href="#aae22bcaa9becbf3ca703a380f70c2c0a">More...</a><br /></td></tr>
<tr class="separator:aae22bcaa9becbf3ca703a380f70c2c0a inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad318acd86c1875854ef4e1e2867052c3 inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#ad318acd86c1875854ef4e1e2867052c3">show_page</a> ()</td></tr>
<tr class="memdesc:ad318acd86c1875854ef4e1e2867052c3 inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Emits and clears the current page for backends that support multiple pages.  <a href="#ad318acd86c1875854ef4e1e2867052c3">More...</a><br /></td></tr>
<tr class="separator:ad318acd86c1875854ef4e1e2867052c3 inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4e133bf758c85195db6d3ccfbe1d54a inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#ae4e133bf758c85195db6d3ccfbe1d54a">has_show_text_glyphs</a> () const </td></tr>
<tr class="memdesc:ae4e133bf758c85195db6d3ccfbe1d54a inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the surface supports sophisticated <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> operations.  <a href="#ae4e133bf758c85195db6d3ccfbe1d54a">More...</a><br /></td></tr>
<tr class="separator:ae4e133bf758c85195db6d3ccfbe1d54a inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a153405d271814ab4d47b90a1c36d2370 inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a153405d271814ab4d47b90a1c36d2370">write_to_png</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; filename)</td></tr>
<tr class="memdesc:a153405d271814ab4d47b90a1c36d2370 inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the contents of surface to a new file filename as a PNG image.  <a href="#a153405d271814ab4d47b90a1c36d2370">More...</a><br /></td></tr>
<tr class="separator:a153405d271814ab4d47b90a1c36d2370 inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3eca5bc13abe27f470fdf08134269bb inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#ab3eca5bc13abe27f470fdf08134269bb">write_to_png_stream</a> (const <a class="el" href="classCairo_1_1Surface.html#a02fb9416d466b762bc5845b0ae204f49">SlotWriteFunc</a>&amp; write_func)</td></tr>
<tr class="memdesc:ab3eca5bc13abe27f470fdf08134269bb inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the <a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh...">Surface</a> to the write function.  <a href="#ab3eca5bc13abe27f470fdf08134269bb">More...</a><br /></td></tr>
<tr class="separator:ab3eca5bc13abe27f470fdf08134269bb inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83763b7906a666b095ce376271455457 inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a83763b7906a666b095ce376271455457">write_to_png</a> (cairo_write_func_t write_func, void* closure)</td></tr>
<tr class="separator:a83763b7906a666b095ce376271455457 inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d1f19c2210e0e7a4aa3d3053b90107f inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1Device.html">Device</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a3d1f19c2210e0e7a4aa3d3053b90107f">get_device</a> ()</td></tr>
<tr class="memdesc:a3d1f19c2210e0e7a4aa3d3053b90107f inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the device for a surface.  <a href="#a3d1f19c2210e0e7a4aa3d3053b90107f">More...</a><br /></td></tr>
<tr class="separator:a3d1f19c2210e0e7a4aa3d3053b90107f inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17d8f600aedba416bb640ac841494bde inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1Surface.html#ad176eb7343b5902df3c19f9f56e59fb4">cobject</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a17d8f600aedba416bb640ac841494bde">cobj</a> ()</td></tr>
<tr class="memdesc:a17d8f600aedba416bb640ac841494bde inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides acces to the underlying C cairo surface.  <a href="#a17d8f600aedba416bb640ac841494bde">More...</a><br /></td></tr>
<tr class="separator:a17d8f600aedba416bb640ac841494bde inherit pub_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af45e0ec675af4bb7259df99d202ac83c inherit pub_methods_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classCairo_1_1Surface.html#ad176eb7343b5902df3c19f9f56e59fb4">cobject</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#af45e0ec675af4bb7259df99d202ac83c">cobj</a> () const </td></tr>
<tr class="memdesc:af45e0ec675af4bb7259df99d202ac83c inherit pub_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides acces to the underlying C cairo surface.  <a href="#af45e0ec675af4bb7259df99d202ac83c">More...</a><br /></td></tr>
<tr class="separator:af45e0ec675af4bb7259df99d202ac83c inherit pub_methods_classCairo_1_1Surface"><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:a0d7a34b58211563e2b1f2f4f85818e90"><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_1PsSurface.html">PsSurface</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1PsSurface.html#a0d7a34b58211563e2b1f2f4f85818e90">create</a> (<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> filename, double width_in_points, double height_in_points)</td></tr>
<tr class="memdesc:a0d7a34b58211563e2b1f2f4f85818e90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classCairo_1_1PsSurface.html" title="A PsSurface provides a way to render PostScript documents from cairo. ">PsSurface</a> with a specified dimensions that will be saved as the given filename.  <a href="#a0d7a34b58211563e2b1f2f4f85818e90">More...</a><br /></td></tr>
<tr class="separator:a0d7a34b58211563e2b1f2f4f85818e90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa633e9ca0c424eae66d63826684f4d4"><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_1PsSurface.html">PsSurface</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1PsSurface.html#aaa633e9ca0c424eae66d63826684f4d4">create_for_stream</a> (const <a class="el" href="classCairo_1_1Surface.html#a02fb9416d466b762bc5845b0ae204f49">SlotWriteFunc</a>&amp; write_func, double width_in_points, double height_in_points)</td></tr>
<tr class="memdesc:aaa633e9ca0c424eae66d63826684f4d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classCairo_1_1PsSurface.html" title="A PsSurface provides a way to render PostScript documents from cairo. ">PsSurface</a> with a specified dimensions that will be written to the given write function instead of saved directly to disk.  <a href="#aaa633e9ca0c424eae66d63826684f4d4">More...</a><br /></td></tr>
<tr class="separator:aaa633e9ca0c424eae66d63826684f4d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a108e885033a7a6c2697f7a94b40bb113"><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_1PsSurface.html">PsSurface</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1PsSurface.html#a108e885033a7a6c2697f7a94b40bb113">create</a> (cairo_write_func_t write_func, void* closure, double width_in_points, double height_in_points)</td></tr>
<tr class="separator:a108e885033a7a6c2697f7a94b40bb113"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63de398067f3af5e6179e057063cc76d"><td class="memItemLeft" align="right" valign="top">static 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#a452db49f19542c791e4a331f052a9a00">PsLevel</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1PsSurface.html#a63de398067f3af5e6179e057063cc76d">get_levels</a> ()</td></tr>
<tr class="memdesc:a63de398067f3af5e6179e057063cc76d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to retrieve the list of supported levels.  <a href="#a63de398067f3af5e6179e057063cc76d">More...</a><br /></td></tr>
<tr class="separator:a63de398067f3af5e6179e057063cc76d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7afd98b03c189f1761cbe7e90db334dc"><td class="memItemLeft" align="right" valign="top">static <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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1PsSurface.html#a7afd98b03c189f1761cbe7e90db334dc">level_to_string</a> (<a class="el" href="namespaceCairo.html#a452db49f19542c791e4a331f052a9a00">PsLevel</a> level)</td></tr>
<tr class="memdesc:a7afd98b03c189f1761cbe7e90db334dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the string representation of the given level id.  <a href="#a7afd98b03c189f1761cbe7e90db334dc">More...</a><br /></td></tr>
<tr class="separator:a7afd98b03c189f1761cbe7e90db334dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classCairo_1_1Surface"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classCairo_1_1Surface')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classCairo_1_1Surface.html">Cairo::Surface</a></td></tr>
<tr class="memitem:ac471fbf586ba579565c6d876f9164717 inherit pub_static_methods_classCairo_1_1Surface"><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_1Surface.html">Surface</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#ac471fbf586ba579565c6d876f9164717">create</a> (const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1Surface.html">Surface</a> &gt; other, <a class="el" href="namespaceCairo.html#a1f0f5d82599dfeabbeb2396dbfd767d0">Content</a> content, int width, int height)</td></tr>
<tr class="memdesc:ac471fbf586ba579565c6d876f9164717 inherit pub_static_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new surface that is as compatible as possible with an existing surface.  <a href="#ac471fbf586ba579565c6d876f9164717">More...</a><br /></td></tr>
<tr class="separator:ac471fbf586ba579565c6d876f9164717 inherit pub_static_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d9616c09e08857cef6f771545e55274 inherit pub_static_methods_classCairo_1_1Surface"><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_1Surface.html">Surface</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a7d9616c09e08857cef6f771545e55274">create</a> (const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1Surface.html">Surface</a> &gt;&amp; target, double x, double y, double width, double height)</td></tr>
<tr class="memdesc:a7d9616c09e08857cef6f771545e55274 inherit pub_static_methods_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new surface that is a rectangle within the target surface.  <a href="#a7d9616c09e08857cef6f771545e55274">More...</a><br /></td></tr>
<tr class="separator:a7d9616c09e08857cef6f771545e55274 inherit pub_static_methods_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classCairo_1_1Surface"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classCairo_1_1Surface')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classCairo_1_1Surface.html">Cairo::Surface</a></td></tr>
<tr class="memitem:a02fb9416d466b762bc5845b0ae204f49 inherit pub_types_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; ErrorStatus, const unsigned char*, unsigned int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a02fb9416d466b762bc5845b0ae204f49">SlotWriteFunc</a></td></tr>
<tr class="memdesc:a02fb9416d466b762bc5845b0ae204f49 inherit pub_types_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">For example: <code> ErrorStatus my_write_func(unsigned char* data, unsigned int length); </code>  <a href="#a02fb9416d466b762bc5845b0ae204f49">More...</a><br /></td></tr>
<tr class="separator:a02fb9416d466b762bc5845b0ae204f49 inherit pub_types_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af66be8453e3fc558ea1282a911bf60e2 inherit pub_types_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; ErrorStatus, unsigned char*, unsigned int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#af66be8453e3fc558ea1282a911bf60e2">SlotReadFunc</a></td></tr>
<tr class="memdesc:af66be8453e3fc558ea1282a911bf60e2 inherit pub_types_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the type of function which is called when a backend needs to read data from an input stream.  <a href="#af66be8453e3fc558ea1282a911bf60e2">More...</a><br /></td></tr>
<tr class="separator:af66be8453e3fc558ea1282a911bf60e2 inherit pub_types_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a150d8ae84fa994f8e2032caa525c166a inherit pub_types_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a150d8ae84fa994f8e2032caa525c166a">SlotDestroy</a></td></tr>
<tr class="memdesc:a150d8ae84fa994f8e2032caa525c166a inherit pub_types_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">For instance, void on_destroy();.  <a href="#a150d8ae84fa994f8e2032caa525c166a">More...</a><br /></td></tr>
<tr class="separator:a150d8ae84fa994f8e2032caa525c166a inherit pub_types_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad176eb7343b5902df3c19f9f56e59fb4 inherit pub_types_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top">typedef cairo_surface_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#ad176eb7343b5902df3c19f9f56e59fb4">cobject</a></td></tr>
<tr class="memdesc:ad176eb7343b5902df3c19f9f56e59fb4 inherit pub_types_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">The underlying C cairo surface type.  <a href="#ad176eb7343b5902df3c19f9f56e59fb4">More...</a><br /></td></tr>
<tr class="separator:ad176eb7343b5902df3c19f9f56e59fb4 inherit pub_types_classCairo_1_1Surface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classCairo_1_1Surface"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classCairo_1_1Surface')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classCairo_1_1Surface.html">Cairo::Surface</a></td></tr>
<tr class="memitem:a8c9aea28f0d1f6c2dcb507a2c7bb027c inherit pro_attribs_classCairo_1_1Surface"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1Surface.html#ad176eb7343b5902df3c19f9f56e59fb4">cobject</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Surface.html#a8c9aea28f0d1f6c2dcb507a2c7bb027c">m_cobject</a></td></tr>
<tr class="memdesc:a8c9aea28f0d1f6c2dcb507a2c7bb027c inherit pro_attribs_classCairo_1_1Surface"><td class="mdescLeft">&#160;</td><td class="mdescRight">The underlying C cairo surface type that is wrapped by this <a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh...">Surface</a>.  <a href="#a8c9aea28f0d1f6c2dcb507a2c7bb027c">More...</a><br /></td></tr>
<tr class="separator:a8c9aea28f0d1f6c2dcb507a2c7bb027c inherit pro_attribs_classCairo_1_1Surface"><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_1PsSurface.html" title="A PsSurface provides a way to render PostScript documents from cairo. ">PsSurface</a> provides a way to render PostScript documents from cairo. </p>
<p>This surface is not rendered to the screen but instead renders the drawing to a PostScript file on disk.</p>
<dl class="section note"><dt>Note</dt><dd>For this <a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh...">Surface</a> to be available, cairo must have been compiled with PostScript support </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0b84b39dd7188da7e785ee8af85374f1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Cairo::PsSurface::PsSurface </td>
          <td>(</td>
          <td class="paramtype">cairo_surface_t *&#160;</td>
          <td class="paramname"><em>cobject</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 for the C instance. </p>
<p>This C++ instance 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>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cobject</td><td>The C instance. </td></tr>
    <tr><td class="paramname">has_reference</td><td>whether we already have a reference. Otherwise, the constructor will take an extra reference. </td></tr>
  </table>
  </dd>
</dl>

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

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a0d7a34b58211563e2b1f2f4f85818e90"></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_1PsSurface.html">PsSurface</a>&gt; Cairo::PsSurface::create </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/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>width_in_points</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>height_in_points</em>&#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_1PsSurface.html" title="A PsSurface provides a way to render PostScript documents from cairo. ">PsSurface</a> with a specified dimensions that will be saved as the given filename. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>The name of the PostScript file to save the surface to </td></tr>
    <tr><td class="paramname">width_in_points</td><td>The width of the PostScript document in points </td></tr>
    <tr><td class="paramname">height_in_points</td><td>The height of the PostScript document in points </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="ps-surface_8cc-example.html#a1">ps-surface.cc</a>.</dd>
</dl>
</div>
</div>
<a class="anchor" id="a108e885033a7a6c2697f7a94b40bb113"></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_1PsSurface.html">PsSurface</a>&gt; Cairo::PsSurface::create </td>
          <td>(</td>
          <td class="paramtype">cairo_write_func_t&#160;</td>
          <td class="paramname"><em>write_func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>closure</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>width_in_points</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>height_in_points</em>&#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">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000016">Deprecated:</a></b></dt><dd>use <a class="el" href="classCairo_1_1PsSurface.html#aaa633e9ca0c424eae66d63826684f4d4" title="Creates a PsSurface with a specified dimensions that will be written to the given write function inst...">PsSurface::create_for_stream()</a> instead </dd></dl>

</div>
</div>
<a class="anchor" id="aaa633e9ca0c424eae66d63826684f4d4"></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_1PsSurface.html">PsSurface</a>&gt; Cairo::PsSurface::create_for_stream </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1Surface.html#a02fb9416d466b762bc5845b0ae204f49">SlotWriteFunc</a>&amp;&#160;</td>
          <td class="paramname"><em>write_func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>width_in_points</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>height_in_points</em>&#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_1PsSurface.html" title="A PsSurface provides a way to render PostScript documents from cairo. ">PsSurface</a> with a specified dimensions that will be written to the given write function instead of saved directly to disk. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">write_func</td><td>The function to be called when the backend needs to write data to an output stream </td></tr>
    <tr><td class="paramname">width_in_points</td><td>The width of the PostScript document in points </td></tr>
    <tr><td class="paramname">height_in_points</td><td>The height of the PostScript document in points</td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

</div>
</div>
<a class="anchor" id="adcaaa1cf7f554e71f85039424726f6c9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::PsSurface::dsc_begin_page_setup </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function indicates that subsequent calls to <a class="el" href="classCairo_1_1PsSurface.html#a9cd275173ea5dd88eeb485aab614cf92" title="Emit a comment into the PostScript output for the given surface. ">dsc_comment()</a> should direct comments to the PageSetup section of the PostScript output. </p>
<p>This function call is only needed for the first page of a surface. It should be called after any call to <a class="el" href="classCairo_1_1PsSurface.html#a2c72ddaa92aaf109511586e445309131" title="This function indicates that subsequent calls to dsc_comment() should direct comments to the Setup se...">dsc_begin_setup()</a> and before any drawing is performed to the surface. </p>

</div>
</div>
<a class="anchor" id="a2c72ddaa92aaf109511586e445309131"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::PsSurface::dsc_begin_setup </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function indicates that subsequent calls to <a class="el" href="classCairo_1_1PsSurface.html#a9cd275173ea5dd88eeb485aab614cf92" title="Emit a comment into the PostScript output for the given surface. ">dsc_comment()</a> should direct comments to the Setup section of the PostScript output. </p>
<p>This function should be called at most once per surface, and must be called before any call to <a class="el" href="classCairo_1_1PsSurface.html#adcaaa1cf7f554e71f85039424726f6c9" title="This function indicates that subsequent calls to dsc_comment() should direct comments to the PageSetu...">dsc_begin_page_setup()</a> and before any drawing is performed to the surface. </p>

</div>
</div>
<a class="anchor" id="a9cd275173ea5dd88eeb485aab614cf92"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::PsSurface::dsc_comment </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/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&#160;</td>
          <td class="paramname"><em>comment</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Emit a comment into the PostScript output for the given surface. </p>
<p>See the cairo reference documentation for more information.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">comment</td><td>a comment string to be emitted into the PostScript output </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af31ab624b15d1d8a36ee6e06e3980cc9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Cairo::PsSurface::get_eps </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check whether the PostScript surface will output Encapsulated PostScript. </p>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a63de398067f3af5e6179e057063cc76d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static 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#a452db49f19542c791e4a331f052a9a00">PsLevel</a>&gt; Cairo::PsSurface::get_levels </td>
          <td>(</td>
          <td class="paramname"></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>Used to retrieve the list of supported levels. </p>
<p>See <a class="el" href="classCairo_1_1PsSurface.html#a2db7043f9b80e2d2082a66ba419b5d46" title="Restricts the generated PostSript file to . ">restrict_to_level()</a>.</p>
<dl class="section since"><dt>Since</dt><dd>1.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a7afd98b03c189f1761cbe7e90db334dc"></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="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> Cairo::PsSurface::level_to_string </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#a452db49f19542c791e4a331f052a9a00">PsLevel</a>&#160;</td>
          <td class="paramname"><em>level</em></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>Get the string representation of the given level id. </p>
<p>This function will return an empty string if level id isn't valid. See <a class="el" href="classCairo_1_1PsSurface.html#a63de398067f3af5e6179e057063cc76d" title="Used to retrieve the list of supported levels. ">get_levels()</a> for a way to get the list of valid level ids.</p>
<dl class="section return"><dt>Returns</dt><dd>the string associated to given level.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">level</td><td>a level id</td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a2db7043f9b80e2d2082a66ba419b5d46"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::PsSurface::restrict_to_level </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#a452db49f19542c791e4a331f052a9a00">PsLevel</a>&#160;</td>
          <td class="paramname"><em>level</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Restricts the generated PostSript file to . </p>
<p>See <a class="el" href="classCairo_1_1PsSurface.html#a63de398067f3af5e6179e057063cc76d" title="Used to retrieve the list of supported levels. ">get_levels()</a> for a list of available level values that can be used here.</p>
<p>This function should only be called before any drawing operations have been performed on the given surface. The simplest way to do this is to call this function immediately after creating the surface.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">level</td><td>PostScript level</td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.6 </dd></dl>

</div>
</div>
<a class="anchor" id="aa2424e42623eb0c410573b465f7b0f00"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::PsSurface::set_eps </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>eps</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>If eps is true, the PostScript surface will output Encapsulated PostScript. </p>
<p>This function should only be called before any drawing operations have been performed on the current page. The simplest way to do this is to call this function immediately after creating the surface. An Encapsulated Postscript file should never contain more than one page.</p>
<dl class="section since"><dt>Since</dt><dd>1.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a9de17b1a3db7227a4f16fbf08a4cef2a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::PsSurface::set_size </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>width_in_points</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>height_in_points</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Changes the size of a PostScript surface for the current (and subsequent) pages. </p>
<p>This function should only be called before any drawing operations have been performed on the current page. The simplest way to do this is to call this function immediately after creating the surface or immediately after completing a page with either <a class="el" href="classCairo_1_1Context.html#a525cac95b4d4c2abea12b82c433adba9" title="Emits and clears the current page for backends that support multiple pages. ">Context::show_page()</a> or <a class="el" href="classCairo_1_1Context.html#a7ccbeacb2a7f2d787b3daf31a69383fd" title="Emits the current page for backends that support multiple pages, but doesn&#39;t clear it...">Context::copy_page()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width_in_points</td><td>new surface width, in points (1 point == 1/72.0 inch) </td></tr>
    <tr><td class="paramname">height_in_points</td><td>new surface height, in points (1 point == 1/72.0 inch) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>cairomm/surface.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>