File: classGdk_1_1GC.html

package info (click to toggle)
gtkmm2.4 1%3A2.20.3-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 73,860 kB
  • ctags: 20,553
  • sloc: xml: 79,575; sh: 10,120; cpp: 8,347; makefile: 290
file content (976 lines) | stat: -rw-r--r-- 63,458 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
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
<!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"/>
<title>gtkmm: Gdk::GC Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <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="modules.html"><span>Modules</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>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGdk.html">Gdk</a>::<a class="el" href="classGdk_1_1GC.html">GC</a>
  </div>
</div>
<div class="contents">
<h1>Gdk::GC Class Reference</h1><!-- doxytag: class="Gdk::GC" --><!-- doxytag: inherits="Glib::Object" -->
<p>All drawing operations in GDK take a graphics context (<a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a>) argument. <a href="#_details">More...</a></p>

<p>Inherits <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html">Glib::Object</a>.</p>
<div class="dynheader">
Collaboration diagram for Gdk::GC:</div>
<div class="dynsection">
<div class="center"><img src="classGdk_1_1GC__coll__graph.png" border="0" usemap="#Gdk_1_1GC_coll__map" alt="Collaboration graph"/></div>
<map name="Gdk_1_1GC_coll__map" id="Gdk_1_1GC_coll__map">
<area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,160,111,189"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,125,112"/><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,119,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGdk_1_1GC-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a56dbf2a31cef26e837eccbf2dbb2e1f2">~GC</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkGC*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a8093f885d5735177424a426156b79f3a">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a8093f885d5735177424a426156b79f3a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GdkGC*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a390461c9f64f1df71b760325e45790b8">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a390461c9f64f1df71b760325e45790b8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkGC*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a55936486f1a0b55cfa08eb46bb27630e">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a55936486f1a0b55cfa08eb46bb27630e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#ae16759ef3ee9b3696021369f61d62fea">set_foreground</a> (const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp; color)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the foreground color for a graphics context. <a href="#ae16759ef3ee9b3696021369f61d62fea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#ada203718d98a1305eb8c93d5cd2b2356">set_background</a> (const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp; color)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the background color for a graphics context. <a href="#ada203718d98a1305eb8c93d5cd2b2356"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#ade0340da1088f4ecdde89e9180212e0b">set_function</a> (<a class="el" href="group__gdkmmEnums.html#gaf1365a8c559e749927e68d3ae723a47b">Function</a> function)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines how the current pixel values and the pixel values being drawn are combined to produce the final pixel values. <a href="#ade0340da1088f4ecdde89e9180212e0b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#ae95140c1494e4450ca22fccded72337c">set_fill</a> (<a class="el" href="group__gdkmmEnums.html#gaf945088bf264cc01bf858c3468d2a451">Fill</a> <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01161.html#gae3f9c9c748ac8e4b124a39bfd7adec40">fill</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the fill mode for a graphics context. <a href="#ae95140c1494e4450ca22fccded72337c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#aae51d032ddbea405bb177268cab521cc">set_tile</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixmap.html">Pixmap</a> &gt;&amp; tile)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a tile pixmap for a graphics context. <a href="#aae51d032ddbea405bb177268cab521cc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#af6c8c1f159ab300994417aa6d1a2ff4a">set_stipple</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixmap.html">Pixmap</a> &gt;&amp; stipple)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the stipple bitmap for a graphics context. <a href="#af6c8c1f159ab300994417aa6d1a2ff4a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a86994e1325f39ae18278cbd6c298bcac">set_ts_origin</a> (int x, int y)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the origin when using tiles or stipples with the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a>. <a href="#a86994e1325f39ae18278cbd6c298bcac"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#afa0f2fc8b4c78db4feed66b5806db1bf">set_clip_origin</a> (int x, int y)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the origin of the clip mask. <a href="#afa0f2fc8b4c78db4feed66b5806db1bf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#acc35c552632d7eb9a46d02de6be952f8">set_clip_mask</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Bitmap.html">Bitmap</a> &gt;&amp; mask)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the clip mask for a graphics context from a bitmap. <a href="#acc35c552632d7eb9a46d02de6be952f8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a9f83feb6a71dcea826f80f65f778eff8">set_clip_rectangle</a> (<a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>&amp; rectangle)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a8df6e778b7312f3f198842aea3f7bb43">set_clip_rectangle</a> (const <a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>&amp; rectangle)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the clip mask for a graphics context from a rectangle. <a href="#a8df6e778b7312f3f198842aea3f7bb43"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a6109789b4e63e62443fa9433c77525e8">set_clip_region</a> (const <a class="el" href="classGdk_1_1Region.html">Region</a>&amp; region)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the clip mask for a graphics context from a region structure. <a href="#a6109789b4e63e62443fa9433c77525e8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a2d1af56f1e93a7bc88340495e2cb3ffc">set_subwindow</a> (<a class="el" href="group__gdkmmEnums.html#gaae37637a79c9ee9822c925f30748eafd">SubwindowMode</a> mode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets how drawing with this <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> on a window will affect child windows of that window. <a href="#a2d1af56f1e93a7bc88340495e2cb3ffc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a8d45034c577e55fd350a8556a3c242ff">set_exposures</a> (bool exposures)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets whether copying non-visible portions of a drawable using this graphics context generate exposure events for the corresponding regions of the destination drawable. <a href="#a8d45034c577e55fd350a8556a3c242ff"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a6ffd36fdf941a6ee478c15b2d1ec0a10">set_line_attributes</a> (int line_width, <a class="el" href="group__gdkmmEnums.html#gac5dcb29dfe744e4e8b72693b392ac06e">LineStyle</a> line_style, <a class="el" href="group__gdkmmEnums.html#ga8cb10204a21a8576e6977249380ae9a6">CapStyle</a> cap_style, <a class="el" href="group__gdkmmEnums.html#ga91500dd25e90700bb632791263c7d9ec">JoinStyle</a> join_style)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets various attributes of how lines are drawn. <a href="#a6ffd36fdf941a6ee478c15b2d1ec0a10"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#aae81765dc15ad450d56f69219d73ffad">set_dashes</a> (int dash_offset, gint8* dash_list, int n)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the way dashed-lines are drawn. <a href="#aae81765dc15ad450d56f69219d73ffad"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a212a2bba5970500d0c6a1a9809b734b4">offset</a> (int x_offset, int y_offset)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Offset attributes such as the clip and tile-stipple origins of the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> so that drawing at x - x_offset, y - y_offset with the offset <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> has the same effect as drawing at x, y with the original <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a>. <a href="#a212a2bba5970500d0c6a1a9809b734b4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a123478ef0e9046f8ac1d0e1179ef4e04">set_colormap</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Colormap.html">Colormap</a> &gt;&amp; colormap)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the colormap for the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> to the given colormap. <a href="#a123478ef0e9046f8ac1d0e1179ef4e04"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Colormap.html">Colormap</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#aa2bed53c761acf6c8bcb80902961b303">get_colormap</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the colormap for a given <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a>, if it exists. <a href="#aa2bed53c761acf6c8bcb80902961b303"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#afeebd8928915e5836ed5a2c0d13dcd09">set_rgb_fg_color</a> (const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp; color)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the foreground color of a <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> using an unallocated color. <a href="#afeebd8928915e5836ed5a2c0d13dcd09"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#acd78b85d14212d71a1af38b8b1524c5d">set_rgb_bg_color</a> (const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp; color)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the background color of a <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> using an unallocated color. <a href="#acd78b85d14212d71a1af38b8b1524c5d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Screen.html">Screen</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a4f95a093fbc1c0f6c6da4e5d07aa35f4">get_screen</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> for which <em>gc</em> was created. <a href="#a4f95a093fbc1c0f6c6da4e5d07aa35f4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGdk_1_1Screen.html">Screen</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a95a7373f5631650dda36ea5854ffc631">get_screen</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> for which <em>gc</em> was created. <a href="#a95a7373f5631650dda36ea5854ffc631"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a64493d4701c3879afee14c44d7f55c60">create</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1GC.html">GC</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a9a9c71d678b9a34bebc851ddf71b1c57">create</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Drawable.html">Drawable</a> &gt;&amp; drawable)</td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#ae6cfa690ab8371f66aad8ba8cda66042">GC</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a0f6b3b842762fc7ff949cb3cfe8a21ad">GC</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Drawable.html">Drawable</a> &gt;&amp; drawable)</td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1GC.html">Gdk::GC</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1GC.html#a3f214c3e4eba764b69121a337c862bc1">wrap</a> (GdkGC* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a3f214c3e4eba764b69121a337c862bc1"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>All drawing operations in GDK take a graphics context (<a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a>) argument. </p>
<p>A graphics context encapsulates information about the way things are drawn, such as the foreground color or line width. By using graphics contexts, the number of arguments to each drawing call is greatly reduced, and communication overhead is minimized, since identical arguments do not need to be passed repeatedly. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a56dbf2a31cef26e837eccbf2dbb2e1f2"></a><!-- doxytag: member="Gdk::GC::~GC" ref="a56dbf2a31cef26e837eccbf2dbb2e1f2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gdk::GC::~GC </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae6cfa690ab8371f66aad8ba8cda66042"></a><!-- doxytag: member="Gdk::GC::GC" ref="ae6cfa690ab8371f66aad8ba8cda66042" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gdk::GC::GC </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0f6b3b842762fc7ff949cb3cfe8a21ad"></a><!-- doxytag: member="Gdk::GC::GC" ref="a0f6b3b842762fc7ff949cb3cfe8a21ad" args="(const Glib::RefPtr&lt; Drawable &gt; &amp;drawable)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gdk::GC::GC </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Drawable.html">Drawable</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>drawable</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [explicit, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9a9c71d678b9a34bebc851ddf71b1c57"></a><!-- doxytag: member="Gdk::GC::create" ref="a9a9c71d678b9a34bebc851ddf71b1c57" args="(const Glib::RefPtr&lt; Drawable &gt; &amp;drawable)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1GC.html">GC</a>&gt; Gdk::GC::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Drawable.html">Drawable</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>drawable</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a64493d4701c3879afee14c44d7f55c60"></a><!-- doxytag: member="Gdk::GC::create" ref="a64493d4701c3879afee14c44d7f55c60" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1GC.html">GC</a>&gt; Gdk::GC::create </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa2bed53c761acf6c8bcb80902961b303"></a><!-- doxytag: member="Gdk::GC::get_colormap" ref="aa2bed53c761acf6c8bcb80902961b303" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Colormap.html">Colormap</a>&gt; Gdk::GC::get_colormap </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the colormap for a given <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a>, if it exists. </p>
<p>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> will have a colormap if the drawable for which it was created has a colormap, or if a colormap was set explicitely with gdk_gc_set_colormap. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The colormap of <em>gc</em>, or <code>0</code> if <em>gc</em> doesn't have one. </dd></dl>

</div>
</div>
<a class="anchor" id="a95a7373f5631650dda36ea5854ffc631"></a><!-- doxytag: member="Gdk::GC::get_screen" ref="a95a7373f5631650dda36ea5854ffc631" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGdk_1_1Screen.html">Screen</a>&gt; Gdk::GC::get_screen </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> for which <em>gc</em> was created. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000055">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> for <em>gc</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="a4f95a093fbc1c0f6c6da4e5d07aa35f4"></a><!-- doxytag: member="Gdk::GC::get_screen" ref="a4f95a093fbc1c0f6c6da4e5d07aa35f4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGdk_1_1Screen.html">Screen</a>&gt; Gdk::GC::get_screen </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> for which <em>gc</em> was created. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000054">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> for <em>gc</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="a390461c9f64f1df71b760325e45790b8"></a><!-- doxytag: member="Gdk::GC::gobj" ref="a390461c9f64f1df71b760325e45790b8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GdkGC* Gdk::GC::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Reimplemented from <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="a8093f885d5735177424a426156b79f3a"></a><!-- doxytag: member="Gdk::GC::gobj" ref="a8093f885d5735177424a426156b79f3a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkGC* Gdk::GC::gobj </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>Reimplemented from <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="a55936486f1a0b55cfa08eb46bb27630e"></a><!-- doxytag: member="Gdk::GC::gobj_copy" ref="a55936486f1a0b55cfa08eb46bb27630e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkGC* Gdk::GC::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>

</div>
</div>
<a class="anchor" id="a212a2bba5970500d0c6a1a9809b734b4"></a><!-- doxytag: member="Gdk::GC::offset" ref="a212a2bba5970500d0c6a1a9809b734b4" args="(int x_offset, int y_offset)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::offset </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x_offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y_offset</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Offset attributes such as the clip and tile-stipple origins of the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> so that drawing at x - x_offset, y - y_offset with the offset <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> has the same effect as drawing at x, y with the original <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>x_offset</em>&#160;</td><td>Amount by which to offset the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> in the X direction. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y_offset</em>&#160;</td><td>Amount by which to offset the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> in the Y direction. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ada203718d98a1305eb8c93d5cd2b2356"></a><!-- doxytag: member="Gdk::GC::set_background" ref="ada203718d98a1305eb8c93d5cd2b2356" args="(const Color &amp;color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_background </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp;&#160;</td>
          <td class="paramname"> <em>color</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the background color for a graphics context. </p>
<p>Note that this function uses <em>color-&gt;pixel</em>, use <a class="el" href="classGdk_1_1GC.html#acd78b85d14212d71a1af38b8b1524c5d" title="Set the background color of a GC using an unallocated color.">set_rgb_bg_color()</a> to specify the background color as red, green, blue components. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>color</em>&#160;</td><td>The new background color. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acc35c552632d7eb9a46d02de6be952f8"></a><!-- doxytag: member="Gdk::GC::set_clip_mask" ref="acc35c552632d7eb9a46d02de6be952f8" args="(const Glib::RefPtr&lt; Bitmap &gt; &amp;mask)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_clip_mask </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Bitmap.html">Bitmap</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>mask</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the clip mask for a graphics context from a bitmap. </p>
<p>The clip mask is interpreted relative to the clip origin. (See <a class="el" href="classGdk_1_1GC.html#afa0f2fc8b4c78db4feed66b5806db1bf" title="Sets the origin of the clip mask.">set_clip_origin()</a>). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mask</em>&#160;</td><td>A bitmap. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afa0f2fc8b4c78db4feed66b5806db1bf"></a><!-- doxytag: member="Gdk::GC::set_clip_origin" ref="afa0f2fc8b4c78db4feed66b5806db1bf" args="(int x, int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_clip_origin </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the origin of the clip mask. </p>
<p>The coordinates are interpreted relative to the upper-left corner of the destination drawable of the current operation. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>x</em>&#160;</td><td>The x-coordinate of the origin. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&#160;</td><td>The y-coordinate of the origin. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8df6e778b7312f3f198842aea3f7bb43"></a><!-- doxytag: member="Gdk::GC::set_clip_rectangle" ref="a8df6e778b7312f3f198842aea3f7bb43" args="(const Rectangle &amp;rectangle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_clip_rectangle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>&amp;&#160;</td>
          <td class="paramname"> <em>rectangle</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the clip mask for a graphics context from a rectangle. </p>
<p>The clip mask is interpreted relative to the clip origin. (See <a class="el" href="classGdk_1_1GC.html#afa0f2fc8b4c78db4feed66b5806db1bf" title="Sets the origin of the clip mask.">set_clip_origin()</a>). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>rectangle</em>&#160;</td><td>The rectangle to clip to. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9f83feb6a71dcea826f80f65f778eff8"></a><!-- doxytag: member="Gdk::GC::set_clip_rectangle" ref="a9f83feb6a71dcea826f80f65f778eff8" args="(Rectangle &amp;rectangle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_clip_rectangle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGdk_1_1Rectangle.html">Rectangle</a>&amp;&#160;</td>
          <td class="paramname"> <em>rectangle</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000005">Deprecated:</a></b></dt><dd>Use <a class="el" href="classGdk_1_1GC.html#a8df6e778b7312f3f198842aea3f7bb43" title="Sets the clip mask for a graphics context from a rectangle.">set_clip_rectangle(const Rectangle&amp; rectangle)</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a6109789b4e63e62443fa9433c77525e8"></a><!-- doxytag: member="Gdk::GC::set_clip_region" ref="a6109789b4e63e62443fa9433c77525e8" args="(const Region &amp;region)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_clip_region </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGdk_1_1Region.html">Region</a>&amp;&#160;</td>
          <td class="paramname"> <em>region</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the clip mask for a graphics context from a region structure. </p>
<p>The clip mask is interpreted relative to the clip origin. (See <a class="el" href="classGdk_1_1GC.html#afa0f2fc8b4c78db4feed66b5806db1bf" title="Sets the origin of the clip mask.">set_clip_origin()</a>). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>region</em>&#160;</td><td>The <a class="el" href="classGdk_1_1Region.html" title="This is an opaque data type holding a set of arbitrary pixels, and is usually used...">Gdk::Region</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a123478ef0e9046f8ac1d0e1179ef4e04"></a><!-- doxytag: member="Gdk::GC::set_colormap" ref="a123478ef0e9046f8ac1d0e1179ef4e04" args="(const Glib::RefPtr&lt; Colormap &gt; &amp;colormap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_colormap </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Colormap.html">Colormap</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>colormap</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the colormap for the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> to the given colormap. </p>
<p>The depth of the colormap's visual must match the depth of the drawable for which the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> was created. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>colormap</em>&#160;</td><td>A <a class="el" href="classGdk_1_1Colormap.html" title="A Colormap is an object that contains the mapping between the color values stored...">Gdk::Colormap</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aae81765dc15ad450d56f69219d73ffad"></a><!-- doxytag: member="Gdk::GC::set_dashes" ref="aae81765dc15ad450d56f69219d73ffad" args="(int dash_offset, gint8 *dash_list, int n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_dashes </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>dash_offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gint8 *&#160;</td>
          <td class="paramname"> <em>dash_list</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>n</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the way dashed-lines are drawn. </p>
<p>Lines will be drawn with alternating on and off segments of the lengths specified in <em>dash_list</em>. The manner in which the on and off segments are drawn is determined by the <em>line_style</em> value of the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a>. (This can be changed with <a class="el" href="classGdk_1_1GC.html#a6ffd36fdf941a6ee478c15b2d1ec0a10" title="Sets various attributes of how lines are drawn.">set_line_attributes()</a>.)</p>
<p>The <em>dash_offset</em> defines the phase of the pattern, specifying how many pixels into the dash-list the pattern should actually begin. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dash_offset</em>&#160;</td><td>The phase of the dash pattern. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dash_list</em>&#160;</td><td>An array of dash lengths. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>n</em>&#160;</td><td>The number of elements in <em>dash_list</em>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8d45034c577e55fd350a8556a3c242ff"></a><!-- doxytag: member="Gdk::GC::set_exposures" ref="a8d45034c577e55fd350a8556a3c242ff" args="(bool exposures)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_exposures </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>exposures</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets whether copying non-visible portions of a drawable using this graphics context generate exposure events for the corresponding regions of the destination drawable. </p>
<p>(See gdk_draw_drawable()). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>exposures</em>&#160;</td><td>If <code>true</code>, exposure events will be generated. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae95140c1494e4450ca22fccded72337c"></a><!-- doxytag: member="Gdk::GC::set_fill" ref="ae95140c1494e4450ca22fccded72337c" args="(Fill fill)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_fill </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#gaf945088bf264cc01bf858c3468d2a451">Fill</a>&#160;</td>
          <td class="paramname"> <em>fill</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the fill mode for a graphics context. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>fill</em>&#160;</td><td>The new fill mode. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae16759ef3ee9b3696021369f61d62fea"></a><!-- doxytag: member="Gdk::GC::set_foreground" ref="ae16759ef3ee9b3696021369f61d62fea" args="(const Color &amp;color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_foreground </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp;&#160;</td>
          <td class="paramname"> <em>color</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the foreground color for a graphics context. </p>
<p>Note that this function uses <em>color-&gt;pixel</em>, use <a class="el" href="classGdk_1_1GC.html#afeebd8928915e5836ed5a2c0d13dcd09" title="Set the foreground color of a GC using an unallocated color.">set_rgb_fg_color()</a> to specify the foreground color as red, green, blue components. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>color</em>&#160;</td><td>The new foreground color. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ade0340da1088f4ecdde89e9180212e0b"></a><!-- doxytag: member="Gdk::GC::set_function" ref="ade0340da1088f4ecdde89e9180212e0b" args="(Function function)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_function </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#gaf1365a8c559e749927e68d3ae723a47b">Function</a>&#160;</td>
          <td class="paramname"> <em>function</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Determines how the current pixel values and the pixel values being drawn are combined to produce the final pixel values. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>function</em>&#160;</td><td>The <a class="el" href="group__gdkmmEnums.html#gaf1365a8c559e749927e68d3ae723a47b">Gdk::Function</a> to use. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6ffd36fdf941a6ee478c15b2d1ec0a10"></a><!-- doxytag: member="Gdk::GC::set_line_attributes" ref="a6ffd36fdf941a6ee478c15b2d1ec0a10" args="(int line_width, LineStyle line_style, CapStyle cap_style, JoinStyle join_style)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_line_attributes </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>line_width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#gac5dcb29dfe744e4e8b72693b392ac06e">LineStyle</a>&#160;</td>
          <td class="paramname"> <em>line_style</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga8cb10204a21a8576e6977249380ae9a6">CapStyle</a>&#160;</td>
          <td class="paramname"> <em>cap_style</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga91500dd25e90700bb632791263c7d9ec">JoinStyle</a>&#160;</td>
          <td class="paramname"> <em>join_style</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets various attributes of how lines are drawn. </p>
<p>See the corresponding members of Gdk::GCValues for full explanations of the arguments. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>line_width</em>&#160;</td><td>The width of lines. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>line_style</em>&#160;</td><td>The dash-style for lines. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cap_style</em>&#160;</td><td>The manner in which the ends of lines are drawn. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>join_style</em>&#160;</td><td>The in which lines are joined together. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acd78b85d14212d71a1af38b8b1524c5d"></a><!-- doxytag: member="Gdk::GC::set_rgb_bg_color" ref="acd78b85d14212d71a1af38b8b1524c5d" args="(const Color &amp;color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_rgb_bg_color </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp;&#160;</td>
          <td class="paramname"> <em>color</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the background color of a <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> using an unallocated color. </p>
<p>The pixel value for the color will be determined using GdkRGB. If the colormap for the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> has not previously been initialized for GdkRGB, then for pseudo-color colormaps (colormaps with a small modifiable number of colors), a colorcube will be allocated in the colormap.</p>
<p>Calling this function for a <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> without a colormap is an error. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>color</em>&#160;</td><td>An unallocated <a class="el" href="classGdk_1_1Color.html" title="Gdk::Color is used to describe an allocated or unallocated color.">Gdk::Color</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afeebd8928915e5836ed5a2c0d13dcd09"></a><!-- doxytag: member="Gdk::GC::set_rgb_fg_color" ref="afeebd8928915e5836ed5a2c0d13dcd09" args="(const Color &amp;color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_rgb_fg_color </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGdk_1_1Color.html">Color</a>&amp;&#160;</td>
          <td class="paramname"> <em>color</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the foreground color of a <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> using an unallocated color. </p>
<p>The pixel value for the color will be determined using GdkRGB. If the colormap for the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> has not previously been initialized for GdkRGB, then for pseudo-color colormaps (colormaps with a small modifiable number of colors), a colorcube will be allocated in the colormap.</p>
<p>Calling this function for a <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> without a colormap is an error. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>color</em>&#160;</td><td>An unallocated <a class="el" href="classGdk_1_1Color.html" title="Gdk::Color is used to describe an allocated or unallocated color.">Gdk::Color</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af6c8c1f159ab300994417aa6d1a2ff4a"></a><!-- doxytag: member="Gdk::GC::set_stipple" ref="af6c8c1f159ab300994417aa6d1a2ff4a" args="(const Glib::RefPtr&lt; Pixmap &gt; &amp;stipple)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_stipple </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixmap.html">Pixmap</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>stipple</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the stipple bitmap for a graphics context. </p>
<p>The stipple will only be used if the fill mode is <a class="el" href="group__gdkmmEnums.html#ggaf945088bf264cc01bf858c3468d2a451a63132d7995c2c73fb2054ec7e83fbbae">Gdk::STIPPLED</a> or <a class="el" href="group__gdkmmEnums.html#ggaf945088bf264cc01bf858c3468d2a451a1fbda420001d70dfd5a66deb2e6b0e68">Gdk::OPAQUE_STIPPLED</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>stipple</em>&#160;</td><td>The new stipple bitmap. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2d1af56f1e93a7bc88340495e2cb3ffc"></a><!-- doxytag: member="Gdk::GC::set_subwindow" ref="a2d1af56f1e93a7bc88340495e2cb3ffc" args="(SubwindowMode mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_subwindow </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gdkmmEnums.html#gaae37637a79c9ee9822c925f30748eafd">SubwindowMode</a>&#160;</td>
          <td class="paramname"> <em>mode</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets how drawing with this <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> on a window will affect child windows of that window. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&#160;</td><td>The subwindow mode. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aae51d032ddbea405bb177268cab521cc"></a><!-- doxytag: member="Gdk::GC::set_tile" ref="aae51d032ddbea405bb177268cab521cc" args="(const Glib::RefPtr&lt; Pixmap &gt; &amp;tile)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_tile </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixmap.html">Pixmap</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>tile</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set a tile pixmap for a graphics context. </p>
<p>This will only be used if the fill mode is <a class="el" href="group__gdkmmEnums.html#ggaf945088bf264cc01bf858c3468d2a451a460f0dd9d59304ecc0f1e31d7d0cd652">Gdk::TILED</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>tile</em>&#160;</td><td>The new tile pixmap. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a86994e1325f39ae18278cbd6c298bcac"></a><!-- doxytag: member="Gdk::GC::set_ts_origin" ref="a86994e1325f39ae18278cbd6c298bcac" args="(int x, int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::GC::set_ts_origin </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>y</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the origin when using tiles or stipples with the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a>. </p>
<p>The tile or stipple will be aligned such that the upper left corner of the tile or stipple will coincide with this point. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>x</em>&#160;</td><td>The x-coordinate of the origin. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&#160;</td><td>The y-coordinate of the origin. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a3f214c3e4eba764b69121a337c862bc1"></a><!-- doxytag: member="Gdk::GC::wrap" ref="a3f214c3e4eba764b69121a337c862bc1" args="(GdkGC *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1GC.html">Gdk::GC</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GdkGC *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gdkmm/gc.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:44 2010 for gtkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>