~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

Viewing changes to docs/reference/gdk/html/gdk-Graphics-Contexts.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-06-11 12:19:30 UTC
  • mfrom: (1.11.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 175.
  • Revision ID: james.westby@ubuntu.com-20100611121930-n4pklvkoqdsg12vm
Tags: 2.21.2-1
* New upstream development release:
  + debian/rules,
    debian/libgtk2.0-0.symbols:
    - Update for new API symbols.
  + debian/patches/070_mandatory-relibtoolize.patch:
    - Regenerated for the new version.
  + debian/control.in:
    - Update GLib (build-) dependency to >= 2.25.8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
<span class="returnvalue">void</span>                <a class="link" href="gdk-Graphics-Contexts.html#gdk-gc-set-stipple" title="gdk_gc_set_stipple ()">gdk_gc_set_stipple</a>                  (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
80
80
                                                         <em class="parameter"><code><a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *stipple</code></em>);
81
81
<span class="returnvalue">void</span>                <a class="link" href="gdk-Graphics-Contexts.html#gdk-gc-set-ts-origin" title="gdk_gc_set_ts_origin ()">gdk_gc_set_ts_origin</a>                (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
82
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
83
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
 
82
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
83
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
84
84
<span class="returnvalue">void</span>                <a class="link" href="gdk-Graphics-Contexts.html#gdk-gc-set-clip-origin" title="gdk_gc_set_clip_origin ()">gdk_gc_set_clip_origin</a>              (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
85
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
86
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
 
85
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
86
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
87
87
<span class="returnvalue">void</span>                <a class="link" href="gdk-Graphics-Contexts.html#gdk-gc-set-clip-mask" title="gdk_gc_set_clip_mask ()">gdk_gc_set_clip_mask</a>                (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
88
88
                                                         <em class="parameter"><code><a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkBitmap" title="GdkBitmap"><span class="type">GdkBitmap</span></a> *mask</code></em>);
89
89
<span class="returnvalue">void</span>                <a class="link" href="gdk-Graphics-Contexts.html#gdk-gc-set-clip-rectangle" title="gdk_gc_set_clip_rectangle ()">gdk_gc_set_clip_rectangle</a>           (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
94
94
                                                         <em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkSubwindowMode" title="enum GdkSubwindowMode"><span class="type">GdkSubwindowMode</span></a> mode</code></em>);
95
95
enum                <a class="link" href="gdk-Graphics-Contexts.html#GdkSubwindowMode" title="enum GdkSubwindowMode">GdkSubwindowMode</a>;
96
96
<span class="returnvalue">void</span>                <a class="link" href="gdk-Graphics-Contexts.html#gdk-gc-set-exposures" title="gdk_gc_set_exposures ()">gdk_gc_set_exposures</a>                (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
97
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> exposures</code></em>);
 
97
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> exposures</code></em>);
98
98
<span class="returnvalue">void</span>                <a class="link" href="gdk-Graphics-Contexts.html#gdk-gc-set-line-attributes" title="gdk_gc_set_line_attributes ()">gdk_gc_set_line_attributes</a>          (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
99
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> line_width</code></em>,
 
99
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> line_width</code></em>,
100
100
                                                         <em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkLineStyle" title="enum GdkLineStyle"><span class="type">GdkLineStyle</span></a> line_style</code></em>,
101
101
                                                         <em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkCapStyle" title="enum GdkCapStyle"><span class="type">GdkCapStyle</span></a> cap_style</code></em>,
102
102
                                                         <em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkJoinStyle" title="enum GdkJoinStyle"><span class="type">GdkJoinStyle</span></a> join_style</code></em>);
104
104
enum                <a class="link" href="gdk-Graphics-Contexts.html#GdkCapStyle" title="enum GdkCapStyle">GdkCapStyle</a>;
105
105
enum                <a class="link" href="gdk-Graphics-Contexts.html#GdkJoinStyle" title="enum GdkJoinStyle">GdkJoinStyle</a>;
106
106
<span class="returnvalue">void</span>                <a class="link" href="gdk-Graphics-Contexts.html#gdk-gc-set-dashes" title="gdk_gc_set_dashes ()">gdk_gc_set_dashes</a>                   (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
107
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dash_offset</code></em>,
108
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> dash_list[]</code></em>,
109
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n</code></em>);
 
107
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dash_offset</code></em>,
 
108
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> dash_list[]</code></em>,
 
109
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n</code></em>);
110
110
<span class="returnvalue">void</span>                <a class="link" href="gdk-Graphics-Contexts.html#gdk-gc-copy" title="gdk_gc_copy ()">gdk_gc_copy</a>                         (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *dst_gc</code></em>,
111
111
                                                         <em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *src_gc</code></em>);
112
112
<span class="returnvalue">void</span>                <a class="link" href="gdk-Graphics-Contexts.html#gdk-gc-set-colormap" title="gdk_gc_set_colormap ()">gdk_gc_set_colormap</a>                 (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
113
113
                                                         <em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>);
114
114
<a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> *       <a class="link" href="gdk-Graphics-Contexts.html#gdk-gc-get-colormap" title="gdk_gc_get_colormap ()">gdk_gc_get_colormap</a>                 (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>);
115
115
<span class="returnvalue">void</span>                <a class="link" href="gdk-Graphics-Contexts.html#gdk-gc-offset" title="gdk_gc_offset ()">gdk_gc_offset</a>                       (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
116
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_offset</code></em>,
117
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_offset</code></em>);
 
116
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_offset</code></em>,
 
117
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_offset</code></em>);
118
118
</pre>
119
119
</div>
120
120
<div class="refsect1" title="Object Hierarchy">
121
121
<a name="gdk-Graphics-Contexts.object-hierarchy"></a><h2>Object Hierarchy</h2>
122
122
<pre class="synopsis">
123
 
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
123
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
124
124
   +----GdkGC
125
125
</pre>
126
126
</div>
236
236
</td>
237
237
</tr>
238
238
<tr>
239
 
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGCValues.ts-x-origin"></a>ts_x_origin</code></em>;</span></p></td>
 
239
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGCValues.ts-x-origin"></a>ts_x_origin</code></em>;</span></p></td>
240
240
<td>the x origin of the tile or stipple.
241
241
</td>
242
242
</tr>
243
243
<tr>
244
 
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGCValues.ts-y-origin"></a>ts_y_origin</code></em>;</span></p></td>
 
244
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGCValues.ts-y-origin"></a>ts_y_origin</code></em>;</span></p></td>
245
245
<td>the y origin of the tile or stipple.
246
246
</td>
247
247
</tr>
248
248
<tr>
249
 
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGCValues.clip-x-origin"></a>clip_x_origin</code></em>;</span></p></td>
 
249
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGCValues.clip-x-origin"></a>clip_x_origin</code></em>;</span></p></td>
250
250
<td>the x origin of the clip mask.
251
251
</td>
252
252
</tr>
253
253
<tr>
254
 
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGCValues.clip-y-origin"></a>clip_y_origin</code></em>;</span></p></td>
 
254
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGCValues.clip-y-origin"></a>clip_y_origin</code></em>;</span></p></td>
255
255
<td>the y origin of the clip mask.
256
256
</td>
257
257
</tr>
258
258
<tr>
259
 
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGCValues.graphics-exposures"></a>graphics_exposures</code></em>;</span></p></td>
 
259
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGCValues.graphics-exposures"></a>graphics_exposures</code></em>;</span></p></td>
260
260
<td>whether graphics exposures are enabled.
261
261
</td>
262
262
</tr>
263
263
<tr>
264
 
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGCValues.line-width"></a>line_width</code></em>;</span></p></td>
 
264
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGCValues.line-width"></a>line_width</code></em>;</span></p></td>
265
265
<td>the line width.
266
266
</td>
267
267
</tr>
633
633
<pre class="programlisting"><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="returnvalue">GdkGC</span></a> *             gdk_gc_ref                          (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>);</pre>
634
634
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
635
635
<h3 class="title">Warning</h3>
636
 
<p><code class="literal">gdk_gc_ref</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> instead.</p>
 
636
<p><code class="literal">gdk_gc_ref</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> instead.</p>
637
637
</div>
638
638
<p>
639
 
Deprecated function; use <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> instead.
 
639
Deprecated function; use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> instead.
640
640
</p>
641
641
<div class="variablelist"><table border="0">
642
642
<col align="left" valign="top">
661
661
<pre class="programlisting"><span class="returnvalue">void</span>                gdk_gc_unref                        (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>);</pre>
662
662
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
663
663
<h3 class="title">Warning</h3>
664
 
<p><code class="literal">gdk_gc_unref</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> instead.</p>
 
664
<p><code class="literal">gdk_gc_unref</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> instead.</p>
665
665
</div>
666
666
<p>
667
667
Decrement the reference count of <em class="parameter"><code>gc</code></em>.
682
682
</pre>
683
683
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
684
684
<h3 class="title">Warning</h3>
685
 
<p><code class="literal">gdk_gc_destroy</code> is deprecated and should not be used in newly-written code. Use <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> instead</p>
 
685
<p><code class="literal">gdk_gc_destroy</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> instead</p>
686
686
</div>
687
687
<p>
688
688
This function is obsolete and should not be used.
878
878
Sets the font for a graphics context. (Note that
879
879
all text-drawing functions in GDK take a <em class="parameter"><code>font</code></em>
880
880
argument; the value set here is used when that
881
 
argument is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.)
 
881
argument is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.)
882
882
</p>
883
883
<div class="variablelist"><table border="0">
884
884
<col align="left" valign="top">
1048
1048
<div class="refsect2" title="gdk_gc_set_ts_origin ()">
1049
1049
<a name="gdk-gc-set-ts-origin"></a><h3>gdk_gc_set_ts_origin ()</h3>
1050
1050
<pre class="programlisting"><span class="returnvalue">void</span>                gdk_gc_set_ts_origin                (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
1051
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
1052
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
 
1051
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
1052
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
1053
1053
<p>
1054
1054
Set the origin when using tiles or stipples with
1055
1055
the GC. The tile or stipple will be aligned such
1081
1081
<div class="refsect2" title="gdk_gc_set_clip_origin ()">
1082
1082
<a name="gdk-gc-set-clip-origin"></a><h3>gdk_gc_set_clip_origin ()</h3>
1083
1083
<pre class="programlisting"><span class="returnvalue">void</span>                gdk_gc_set_clip_origin              (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
1084
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
1085
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
 
1084
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
 
1085
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
1086
1086
<p>
1087
1087
Sets the origin of the clip mask. The coordinates are
1088
1088
interpreted relative to the upper-left corner of
1245
1245
<div class="refsect2" title="gdk_gc_set_exposures ()">
1246
1246
<a name="gdk-gc-set-exposures"></a><h3>gdk_gc_set_exposures ()</h3>
1247
1247
<pre class="programlisting"><span class="returnvalue">void</span>                gdk_gc_set_exposures                (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
1248
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> exposures</code></em>);</pre>
 
1248
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> exposures</code></em>);</pre>
1249
1249
<p>
1250
1250
Sets whether copying non-visible portions of a drawable
1251
1251
using this graphics context generate exposure events
1262
1262
</tr>
1263
1263
<tr>
1264
1264
<td><p><span class="term"><em class="parameter"><code>exposures</code></em> :</span></p></td>
1265
 
<td>if <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, exposure events will be generated.
 
1265
<td>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, exposure events will be generated.
1266
1266
</td>
1267
1267
</tr>
1268
1268
</tbody>
1272
1272
<div class="refsect2" title="gdk_gc_set_line_attributes ()">
1273
1273
<a name="gdk-gc-set-line-attributes"></a><h3>gdk_gc_set_line_attributes ()</h3>
1274
1274
<pre class="programlisting"><span class="returnvalue">void</span>                gdk_gc_set_line_attributes          (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
1275
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> line_width</code></em>,
 
1275
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> line_width</code></em>,
1276
1276
                                                         <em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkLineStyle" title="enum GdkLineStyle"><span class="type">GdkLineStyle</span></a> line_style</code></em>,
1277
1277
                                                         <em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkCapStyle" title="enum GdkCapStyle"><span class="type">GdkCapStyle</span></a> cap_style</code></em>,
1278
1278
                                                         <em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkJoinStyle" title="enum GdkJoinStyle"><span class="type">GdkJoinStyle</span></a> join_style</code></em>);</pre>
1431
1431
<div class="refsect2" title="gdk_gc_set_dashes ()">
1432
1432
<a name="gdk-gc-set-dashes"></a><h3>gdk_gc_set_dashes ()</h3>
1433
1433
<pre class="programlisting"><span class="returnvalue">void</span>                gdk_gc_set_dashes                   (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
1434
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dash_offset</code></em>,
1435
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> dash_list[]</code></em>,
1436
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n</code></em>);</pre>
 
1434
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dash_offset</code></em>,
 
1435
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> dash_list[]</code></em>,
 
1436
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n</code></em>);</pre>
1437
1437
<p>
1438
1438
Sets the way dashed-lines are drawn. Lines will be
1439
1439
drawn with alternating on and off segments of the
1544
1544
</tr>
1545
1545
<tr>
1546
1546
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1547
 
<td> the colormap of <em class="parameter"><code>gc</code></em>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>gc</code></em> doesn't have one.
 
1547
<td> the colormap of <em class="parameter"><code>gc</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>gc</code></em> doesn't have one.
1548
1548
</td>
1549
1549
</tr>
1550
1550
</tbody>
1554
1554
<div class="refsect2" title="gdk_gc_offset ()">
1555
1555
<a name="gdk-gc-offset"></a><h3>gdk_gc_offset ()</h3>
1556
1556
<pre class="programlisting"><span class="returnvalue">void</span>                gdk_gc_offset                       (<em class="parameter"><code><a class="link" href="gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
1557
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_offset</code></em>,
1558
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_offset</code></em>);</pre>
 
1557
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_offset</code></em>,
 
1558
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_offset</code></em>);</pre>
1559
1559
<p>
1560
1560
Offset attributes such as the clip and tile-stipple origins
1561
1561
of the GC so that drawing at x - x_offset, y - y_offset with