Add an introduction from the Xlib manual, and add hyperlinks
svn path=/trunk/gtk-sharp/; revision=11763
This commit is contained in:
parent
4db8aaf9c7
commit
24cfeb3e41
1 changed files with 38 additions and 16 deletions
|
@ -9,9 +9,25 @@
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>Represents a graphics context</summary>
|
<summary>Represents a graphics context</summary>
|
||||||
<remarks>
|
<remarks>
|
||||||
<para>The Gdk.GC class is used to represent a graphics
|
<para>
|
||||||
context. It is an opaque structure with no user-visible
|
The Gdk.GC class is used to represent a graphics context.
|
||||||
elements.
|
</para>
|
||||||
|
<para>
|
||||||
|
A number of resources are used when performing graphics
|
||||||
|
operations in. Most information about performing graphics (for
|
||||||
|
example, foreground color, background color, line style, and
|
||||||
|
so on) is stored in resources called graphics contexts
|
||||||
|
(GCs). Most graphics operations take a GC as an
|
||||||
|
argument.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
Graphics operations can be performed to either windows (<see
|
||||||
|
cref="T:Gdk.Window"/>) or pixmaps (<see
|
||||||
|
cref="T:Gdk.Pixmap"/>), which collectively are called
|
||||||
|
drawables (see cref="T:Gdk.Drawable"/>. Each drawable exists
|
||||||
|
on a single screen. A GC is created for a specific screen and
|
||||||
|
drawable depth and can only be used with drawables of matching
|
||||||
|
screen and depth.
|
||||||
</para>
|
</para>
|
||||||
</remarks>
|
</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
|
@ -39,9 +55,12 @@
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Docs>
|
<Docs>
|
||||||
<summary>Copy the set of values from one graphics context onto another graphics context.</summary>
|
<summary>Copy the set of values from one graphics context onto another graphics context.</summary>
|
||||||
<param name="src_gc">An object of type 'Gdk.GC'</param>
|
<param name="src_gc">The GC to copy.</param>
|
||||||
<remarks>
|
<remarks>
|
||||||
<para>Copy the set of values from one graphics context onto another graphics context.</para>
|
<para>
|
||||||
|
Copies the settings of the <param name="src_gc"/> graphics
|
||||||
|
context into this GC.
|
||||||
|
</para>
|
||||||
</remarks>
|
</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
|
@ -60,10 +79,12 @@
|
||||||
<param name="x">the x-coordinate of the origin.</param>
|
<param name="x">the x-coordinate of the origin.</param>
|
||||||
<param name="y">the y-coordinate of the origin.</param>
|
<param name="y">the y-coordinate of the origin.</param>
|
||||||
<remarks>
|
<remarks>
|
||||||
<para>Set the origin when using tiles or stipples with the
|
<para>
|
||||||
GC. The tile or stipple will be aligned such that the upper
|
Set the origin when using tiles or stipples with the
|
||||||
left corner of the tile or stipple will coincide with this
|
GC. The tile or stipple will be aligned such that the upper
|
||||||
point.</para>
|
left corner of the tile or stipple will coincide with this
|
||||||
|
point.
|
||||||
|
</para>
|
||||||
</remarks>
|
</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
|
@ -337,7 +358,7 @@
|
||||||
<remarks>
|
<remarks>
|
||||||
<para>Sets the clip mask for a graphics context from a
|
<para>Sets the clip mask for a graphics context from a
|
||||||
rectangle. The clip mask is interpreted relative to the clip
|
rectangle. The clip mask is interpreted relative to the clip
|
||||||
origin. (See Gdk.GC.SetClipOrigin()).</para>
|
origin. (See <see cref="M:Gdk.GC.SetClipOrigin()"/>).</para>
|
||||||
</remarks>
|
</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
|
@ -376,7 +397,7 @@
|
||||||
<remarks>
|
<remarks>
|
||||||
<para>Sets the clip mask for a graphics context from a
|
<para>Sets the clip mask for a graphics context from a
|
||||||
bitmap. The clip mask is interpreted relative to the clip
|
bitmap. The clip mask is interpreted relative to the clip
|
||||||
origin. (See Gdk.GC.SetClipOrigin()).</para>
|
origin. (See <see cref="M:Gdk.GC.SetClipOrigin()"/>).</para>
|
||||||
</remarks>
|
</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
|
@ -477,7 +498,7 @@
|
||||||
<remarks>
|
<remarks>
|
||||||
<para>Sets the clip mask for a graphics context from a
|
<para>Sets the clip mask for a graphics context from a
|
||||||
region structure. The clip mask is interpreted relative to
|
region structure. The clip mask is interpreted relative to
|
||||||
the clip origin. (See Gdk.GC.SetClipOrigin()).</para>
|
the clip origin. (See <see cref="M:Gdk.GC.SetClipOrigin()"/>).</para>
|
||||||
</remarks>
|
</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
|
@ -514,9 +535,10 @@
|
||||||
<param name="value">the new stipple bitmap.</param>
|
<param name="value">the new stipple bitmap.</param>
|
||||||
<returns>the new stipple bitmap.</returns>
|
<returns>the new stipple bitmap.</returns>
|
||||||
<remarks>
|
<remarks>
|
||||||
<para>Set the stipple bitmap for a graphics context. The
|
<para>
|
||||||
stipple will only be used if the fill mode is GDK_STIPPLED
|
Set the stipple bitmap for a graphics context. The
|
||||||
or GDK_OPAQUE_STIPPLED.</para>
|
stipple will only be used if the fill mode is <see cref="E:Gdk.Fill.Stippled"/>
|
||||||
|
or <see cref="Gdk.Fill.OpaqueStippled"/>.
|
||||||
</remarks>
|
</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
|
@ -576,7 +598,7 @@
|
||||||
<para>Sets whether copying non-visible portions of a
|
<para>Sets whether copying non-visible portions of a
|
||||||
drawable using this graphics context generate exposure
|
drawable using this graphics context generate exposure
|
||||||
events for the corresponding regions of the destination
|
events for the corresponding regions of the destination
|
||||||
drawable. (See Gdk.Drawable).</para>
|
drawable. (See <see cref="T:Gdk.Drawable"/>).</para>
|
||||||
</remarks>
|
</remarks>
|
||||||
</Docs>
|
</Docs>
|
||||||
</Member>
|
</Member>
|
||||||
|
|
Loading…
Add table
Reference in a new issue