svn path=/trunk/gtk-sharp/; revision=34925
This commit is contained in:
Miguel de Icaza 2004-10-12 19:26:02 +00:00
parent b0952e4400
commit 4f8f06c449
3 changed files with 158 additions and 140 deletions

View file

@ -13,3 +13,4 @@ Documentation:
chris@turchin.net (Chris Turchin) chris@turchin.net (Chris Turchin)
jaspervp@gmx.net (Jasper van Putten) jaspervp@gmx.net (Jasper van Putten)
wizito@gentelibre.org ( N<>stor Salceda) wizito@gentelibre.org ( N<>stor Salceda)
cmorgan@alum.wpi.edu

View file

@ -40,9 +40,9 @@
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Draws a number of points using the given graphics context.</summary> <summary>Draws a number of points using the given graphics context.</summary>
<param name="gc">A <see cref="T:Gdk.GC"/></param> <param name="gc">A <see cref="T:Gdk.GC" /></param>
<param name="points">An array of <see cref="T:Gdk.Point"/> objects.</param> <param name="points">An array of <see cref="T:Gdk.Point" /> objects.</param>
<param name="npoints">A <see cref="T:System.Int32"/></param> <param name="npoints">A <see cref="T:System.Int32" /></param>
<remarks>NOTE: Drawable.custom needs to be fixed to implement this properly.</remarks> <remarks>NOTE: Drawable.custom needs to be fixed to implement this properly.</remarks>
</Docs> </Docs>
</Member> </Member>
@ -61,18 +61,18 @@
<Parameter Name="background" Type="Gdk.Color" /> <Parameter Name="background" Type="Gdk.Color" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Render a <see cref="T:Pango.Layout"/> onto the Drawable <summary>Render a <see cref="T:Pango.Layout" /> onto the Drawable
object, overriding the layout's normal colors with object, overriding the layout's normal colors with
<paramref name="foreground"/> and/or <paramref name="background"/>. <paramref name="foreground" /> and/or <paramref name="background" />.
<paramref name="foreground"/> and <paramref name="background"/> <paramref name="foreground" /> and <paramref name="background" />
need not be allocated.</summary> need not be allocated.</summary>
<param name="gc">A <see cref="T:Gdk.GC"/>, the graphics context to use</param> <param name="gc">A <see cref="T:Gdk.GC" />, the graphics context to use</param>
<param name="x">A <see cref="T:System.Int32"/>, the X position of the left of the layout (in pixels)</param> <param name="x">A <see cref="T:System.Int32" />, the X position of the left of the layout (in pixels)</param>
<param name="y">A <see cref="T:System.Int32"/>, the Y position of the top of the layout (in pixels)</param> <param name="y">A <see cref="T:System.Int32" />, the Y position of the top of the layout (in pixels)</param>
<param name="layout">A <see cref="T:Pango.Layout"/>, the layout to render</param> <param name="layout">A <see cref="T:Pango.Layout" />, the layout to render</param>
<param name="foreground">A <see cref="T:Gdk.Color"/>, the foreground color</param> <param name="foreground">A <see cref="T:Gdk.Color" />, the foreground color</param>
<param name="background">A <see cref="T:Gdk.Color"/>, the background color</param> <param name="background">A <see cref="T:Gdk.Color" />, the background color</param>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="DrawLayoutLine"> <Member MemberName="DrawLayoutLine">
@ -88,13 +88,13 @@
<Parameter Name="line" Type="Pango.LayoutLine" /> <Parameter Name="line" Type="Pango.LayoutLine" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Render a <see cref="T:Pango.LayoutLine"/> onto the Drawable <summary>Render a <see cref="T:Pango.LayoutLine" /> onto the Drawable
object.</summary> object.</summary>
<param name="gc">A <see cref="T:Gdk.GC"/>, the graphics context to use</param> <param name="gc">A <see cref="T:Gdk.GC" />, the graphics context to use</param>
<param name="x">A <see cref="T:System.Int32"/>, the X position of the start of string (in pixels)</param> <param name="x">A <see cref="T:System.Int32" />, the X position of the start of string (in pixels)</param>
<param name="y">A <see cref="T:System.Int32"/>, the Y position of the baseline (in pixels)</param> <param name="y">A <see cref="T:System.Int32" />, the Y position of the baseline (in pixels)</param>
<param name="line">A <see cref="T:Pango.LayoutLine"/></param> <param name="line">A <see cref="T:Pango.LayoutLine" /></param>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="DrawLayoutLineWithColors"> <Member MemberName="DrawLayoutLineWithColors">
@ -112,18 +112,18 @@
<Parameter Name="background" Type="Gdk.Color" /> <Parameter Name="background" Type="Gdk.Color" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Render a <see cref="T:Pango.LayoutLine"/> onto the Drawable <summary>Render a <see cref="T:Pango.LayoutLine" /> onto the Drawable
object, overriding the layout's normal colors with object, overriding the layout's normal colors with
<paramref name="foreground"/> and/or <paramref name="background"/>. <paramref name="foreground" /> and/or <paramref name="background" />.
<paramref name="foreground"/> and <paramref name="background"/> <paramref name="foreground" /> and <paramref name="background" />
need not be allocated.</summary> need not be allocated.</summary>
<param name="gc">A <see cref="T:Gdk.GC"/>, the graphics context to use</param> <param name="gc">A <see cref="T:Gdk.GC" />, the graphics context to use</param>
<param name="x">A <see cref="T:System.Int32"/>, the X position of the start of string (in pixels)</param> <param name="x">A <see cref="T:System.Int32" />, the X position of the start of string (in pixels)</param>
<param name="y">A <see cref="T:System.Int32"/>, the Y position of the baseline (in pixels)</param> <param name="y">A <see cref="T:System.Int32" />, the Y position of the baseline (in pixels)</param>
<param name="layout">A <see cref="T:Pango.LayoutLine"/>, a line of text to render</param> <param name="layout">A <see cref="T:Pango.LayoutLine" />, a line of text to render</param>
<param name="foreground">A <see cref="T:Gdk.Color"/>, the foreground color</param> <param name="foreground">A <see cref="T:Gdk.Color" />, the foreground color</param>
<param name="background">A <see cref="T:Gdk.Color"/>, the background color</param> <param name="background">A <see cref="T:Gdk.Color" />, the background color</param>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="DrawLayout"> <Member MemberName="DrawLayout">
@ -140,10 +140,10 @@
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Render a <see cref="T:Pango.Layout" /> onto a <see cref="T:Gdk.Drawable" /></summary> <summary>Render a <see cref="T:Pango.Layout" /> onto a <see cref="T:Gdk.Drawable" /></summary>
<param name="gc">A <see cref="T:Gdk.GC"/></param> <param name="gc">A <see cref="T:Gdk.GC" /></param>
<param name="x">A <see cref="T:System.Int32"/></param> <param name="x">A <see cref="T:System.Int32" /></param>
<param name="y">A <see cref="T:System.Int32"/></param> <param name="y">A <see cref="T:System.Int32" /></param>
<param name="layout">A <see cref="T:Pango.Layout"/></param> <param name="layout">A <see cref="T:Pango.Layout" /></param>
<remarks>If you are using Gtk, the usual way to obtain a <see cref="T:Pango.Layout" /> is <see cref="M:Gtk.Widget.CreatePangoLayout()" />.</remarks> <remarks>If you are using Gtk, the usual way to obtain a <see cref="T:Pango.Layout" /> is <see cref="M:Gtk.Widget.CreatePangoLayout()" />.</remarks>
</Docs> </Docs>
</Member> </Member>
@ -158,15 +158,15 @@
<Parameter Name="height" Type="System.Int32&amp;" RefType="out" /> <Parameter Name="height" Type="System.Int32&amp;" RefType="out" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Fills <paramref name="width"/> and <paramref name="height"/> <summary>Fills <paramref name="width" /> and <paramref name="height" />
with the size of the Drawable. <paramref name="width"/> or with the size of the Drawable. <paramref name="width" /> or
<paramref name="height"/> can be <see langword="null"/> if you <paramref name="height" /> can be <see langword="null" /> if you
only want the other one. only want the other one.
</summary> </summary>
<param name="width">A <see cref="T:System.Int32&amp;"/></param> <param name="width">A <see cref="T:System.Int32&amp;" /></param>
<param name="height">A <see cref="T:System.Int32&amp;"/></param> <param name="height">A <see cref="T:System.Int32&amp;" /></param>
<remarks> <remarks>
On the X11 platform, if this Drawable object is also a <see cref="T:Gdk.Window"/>, the returned On the X11 platform, if this Drawable object is also a <see cref="T:Gdk.Window" />, the returned
size is the size reported in the most-recently-processed configure size is the size reported in the most-recently-processed configure
event, rather than the current size on the X server. event, rather than the current size on the X server.
</remarks> </remarks>
@ -185,9 +185,9 @@
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Draws a number of unconnected lines.</summary> <summary>Draws a number of unconnected lines.</summary>
<param name="gc">A <see cref="T:Gdk.GC"/></param> <param name="gc">A <see cref="T:Gdk.GC" /></param>
<param name="segs">A <see cref="T:Gdk.Segment"/>, a list of segments to draw.</param> <param name="segs">A <see cref="T:Gdk.Segment" />, a list of segments to draw.</param>
<param name="nsegs">A <see cref="T:System.Int32"/>, the number of segments.</param> <param name="nsegs">A <see cref="T:System.Int32" />, the number of segments.</param>
<remarks>TODO: Drawable.custom needs to be edited to make segs an array of Gdk.Segment objects.</remarks> <remarks>TODO: Drawable.custom needs to be edited to make segs an array of Gdk.Segment objects.</remarks>
</Docs> </Docs>
</Member> </Member>
@ -206,20 +206,20 @@
</Parameters> </Parameters>
<Docs> <Docs>
<summary> <summary>
<p>This is a low-level function; 99% of text rendering should be done <p>This is a low-level function; 99% of text rendering should be done
using <see cref="M:Gdk.Drawable.DrawLayout"/> instead.</p> using <see cref="M:Gdk.Drawable.DrawLayout" /> instead.</p>
<p>A glyph is a character in a font. This function draws a sequence of <p>A glyph is a character in a font. This function draws a sequence of
glyphs. To obtain a sequence of glyphs you have to understand a glyphs. To obtain a sequence of glyphs you have to understand a
lot about internationalized text handling, which you don't want to lot about internationalized text handling, which you don't want to
understand; thus, use <see cref="M:Gdk.Drawable.DrawLayout"/> instead of this function, understand; thus, use <see cref="M:Gdk.Drawable.DrawLayout" /> instead of this function,
<see cref="M:Gdk.Drawable.DrawLayout"/> handles the details.</p> <see cref="M:Gdk.Drawable.DrawLayout" /> handles the details.</p>
</summary> </summary>
<param name="gc">A <see cref="T:Gdk.GC"/></param> <param name="gc">A <see cref="T:Gdk.GC" /></param>
<param name="font">A <see cref="T:Pango.Font"/></param> <param name="font">A <see cref="T:Pango.Font" /></param>
<param name="x">A <see cref="T:System.Int32"/></param> <param name="x">A <see cref="T:System.Int32" /></param>
<param name="y">A <see cref="T:System.Int32"/></param> <param name="y">A <see cref="T:System.Int32" /></param>
<param name="glyphs">A <see cref="T:Pango.GlyphString"/></param> <param name="glyphs">A <see cref="T:Pango.GlyphString" /></param>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="GetImage"> <Member MemberName="GetImage">
@ -236,53 +236,58 @@
</Parameters> </Parameters>
<Docs> <Docs>
<summary> <summary>
<p> <p>
A <see cref="T:Gdk.Image"/> stores client-side image data (pixels). In contrast, A <see cref="T:Gdk.Image" /> stores client-side image data (pixels). In contrast,
<see cref="T:Gdk.Pixmap"/> and <see cref="T:Gdk.Window"/> are server-side <see cref="T:Gdk.Pixmap" /> and <see cref="T:Gdk.Window" /> are server-side
objects. This method obtains the pixels from a objects. This method obtains the pixels from a
server-side drawable as a client-side <see cref="T:Gdk.Image"/>. server-side drawable as a client-side <see cref="T:Gdk.Image" />.
</p><p> </p>
The format of a <see cref="T:Gdk.Image"/> depends on <p>
the <see cref="T:Gdk.Visual"/> of the current display, which The format of a <see cref="T:Gdk.Image" /> depends on
makes manipulating <see cref="T:Gdk.Image"/> extremely difficult; the <see cref="T:Gdk.Visual" /> of the current display, which
makes manipulating <see cref="T:Gdk.Image" /> extremely difficult;
therefore, in therefore, in
most cases you should use <see cref="M:Gdk.Pixbuf.GetFromDrawable"/> most cases you should use <see cref="M:Gdk.Pixbuf.GetFromDrawable" />
instead of instead of
this lower-level function. A <see cref="T:Gdk.Pixbuf"/> contains this lower-level function. A <see cref="T:Gdk.Pixbuf" /> contains
image data in a canonicalized RGB format, rather than a image data in a canonicalized RGB format, rather than a
display-dependent format. Of course, there's a convenience vs. display-dependent format. Of course, there's a convenience vs.
speed tradeoff here, so you'll want to think about what makes speed tradeoff here, so you'll want to think about what makes
sense for your application. sense for your application.
</p> </p>
</summary> </summary>
<param name="x">A <see cref="T:System.Int32"/>, X coordinate of the upper left corner of the region to get as a drawable</param> <param name="x">A <see cref="T:System.Int32" />, X coordinate of the upper left corner of the region to get as a drawable</param>
<param name="y">A <see cref="T:System.Int32"/>, Y coordinate of the upper left corner of the region to get as a drawable.</param> <param name="y">A <see cref="T:System.Int32" />, Y coordinate of the upper left corner of the region to get as a drawable.</param>
<param name="width">A <see cref="T:System.Int32"/>, width of the rectangle</param> <param name="width">A <see cref="T:System.Int32" />, width of the rectangle</param>
<param name="height">A <see cref="T:System.Int32"/>, height of the rectangle.</param> <param name="height">A <see cref="T:System.Int32" />, height of the rectangle.</param>
<returns>A <see cref="T:Gdk.Image"/> containing the contents of this Drawable object.</returns> <returns>A <see cref="T:Gdk.Image" /> containing the contents of this Drawable object.</returns>
<remarks> <remarks>
<p> <p>
</p><p> </p>
<paramref name="x"/>, <paramref name="y"/>, <p>
<paramref name="width"/>, and <paramref name="height"/> define <paramref name="x" />, <paramref name="y" />,
<paramref name="width" />, and <paramref name="height" /> define
the region of the drawable to obtain as an image. the region of the drawable to obtain as an image.
</p><p> </p>
<p>
You would usually copy image data to the client side if you intend You would usually copy image data to the client side if you intend
to examine the values of individual pixels, for example to darken to examine the values of individual pixels, for example to darken
an image or add a red tint. It would be prohibitively slow to an image or add a red tint. It would be prohibitively slow to
make a round-trip request to the windowing system for each pixel, make a round-trip request to the windowing system for each pixel,
so instead you get all of them at once, modify them, then copy so instead you get all of them at once, modify them, then copy
them all back at once. them all back at once.
</p><p> </p>
<p>
If the X server or other windowing system backend is on the local If the X server or other windowing system backend is on the local
machine, this function may use shared memory to avoid copying machine, this function may use shared memory to avoid copying
the image data. the image data.
</p><p> </p>
<p>
If the source drawable is a #GdkWindow and partially offscreen If the source drawable is a #GdkWindow and partially offscreen
or obscured, then the obscured portions of the returned image or obscured, then the obscured portions of the returned image
will contain undefined data. will contain undefined data.
</p> </p>
</remarks> </remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="DrawDrawable"> <Member MemberName="DrawDrawable">
@ -303,21 +308,21 @@
</Parameters> </Parameters>
<Docs> <Docs>
<summary> <summary>
Copies the <paramref name="width"/>x<paramref name="height"/> region of <paramref name="src"/> at coordinates (<paramref name="xsrc"/>, Copies the <paramref name="width" />x<paramref name="height" /> region of <paramref name="src" /> at coordinates (<paramref name="xsrc" />,
<paramref name="ysrc"/>) to coordinates (<paramref name="xdest"/>, <paramref name="ydest"/>) in <paramref name="drawable"/>. <paramref name="ysrc" />) to coordinates (<paramref name="xdest" />, <paramref name="ydest" />) in <paramref name="drawable" />.
<paramref name="width"/> and/or <paramref name="height"/> may be given as -1, in which case the entire <paramref name="width" /> and/or <paramref name="height" /> may be given as -1, in which case the entire
<paramref name="src"/> drawable will be copied. <paramref name="src" /> drawable will be copied.
Most fields in <paramref name="gc"/> are not used for this operation, but notably the Most fields in <paramref name="gc" /> are not used for this operation, but notably the
clip mask or clip region will be honored. clip mask or clip region will be honored.
</summary> </summary>
<param name="gc">A <see cref="T:Gdk.GC"/></param> <param name="gc">A <see cref="T:Gdk.GC" /></param>
<param name="src">A <see cref="T:Gdk.Drawable"/>, the source Drawable. </param> <param name="src">A <see cref="T:Gdk.Drawable" />, the source Drawable. </param>
<param name="xsrc">A <see cref="T:System.Int32"/></param> <param name="xsrc">A <see cref="T:System.Int32" /></param>
<param name="ysrc">A <see cref="T:System.Int32"/></param> <param name="ysrc">A <see cref="T:System.Int32" /></param>
<param name="xdest">A <see cref="T:System.Int32"/></param> <param name="xdest">A <see cref="T:System.Int32" /></param>
<param name="ydest">A <see cref="T:System.Int32"/></param> <param name="ydest">A <see cref="T:System.Int32" /></param>
<param name="width">A <see cref="T:System.Int32"/></param> <param name="width">A <see cref="T:System.Int32" /></param>
<param name="height">A <see cref="T:System.Int32"/></param> <param name="height">A <see cref="T:System.Int32" /></param>
<remarks> <remarks>
The source and destination drawables must have the same visual and The source and destination drawables must have the same visual and
colormap, or errors will result. (On X11, failure to match colormap, or errors will result. (On X11, failure to match
@ -326,9 +331,8 @@
a color drawable. The way to draw a bitmap is to set the a color drawable. The way to draw a bitmap is to set the
bitmap as a clip mask on your #GdkGC, then use gdk_draw_rectangle() bitmap as a clip mask on your #GdkGC, then use gdk_draw_rectangle()
to draw a rectangle clipped to the bitmap. to draw a rectangle clipped to the bitmap.
<p>TODO: This API needs to be adjusted; <paramref name="src"/> should <p>TODO: This API needs to be adjusted; <paramref name="src" /> should
probably not exist.</p> probably not exist.</p></remarks>
</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="DrawImage"> <Member MemberName="DrawImage">
@ -349,14 +353,14 @@
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Draws a <see cref="T:Gdk.Image" /> onto a drawable.</summary> <summary>Draws a <see cref="T:Gdk.Image" /> onto a drawable.</summary>
<param name="gc">A <see cref="T:Gdk.GC"/></param> <param name="gc">A <see cref="T:Gdk.GC" /></param>
<param name="image">A <see cref="T:Gdk.Image"/></param> <param name="image">A <see cref="T:Gdk.Image" /></param>
<param name="xsrc">A <see cref="T:System.Int32"/></param> <param name="xsrc">A <see cref="T:System.Int32" /></param>
<param name="ysrc">A <see cref="T:System.Int32"/></param> <param name="ysrc">A <see cref="T:System.Int32" /></param>
<param name="xdest">A <see cref="T:System.Int32"/></param> <param name="xdest">A <see cref="T:System.Int32" /></param>
<param name="ydest">A <see cref="T:System.Int32"/></param> <param name="ydest">A <see cref="T:System.Int32" /></param>
<param name="width">A <see cref="T:System.Int32"/></param> <param name="width">A <see cref="T:System.Int32" /></param>
<param name="height">A <see cref="T:System.Int32"/></param> <param name="height">A <see cref="T:System.Int32" /></param>
<remarks>The depth of the <see cref="T:Gdk.Image" /> must match the depth of the <see cref="T:Gdk.Drawable" />.</remarks> <remarks>The depth of the <see cref="T:Gdk.Image" /> must match the depth of the <see cref="T:Gdk.Drawable" />.</remarks>
</Docs> </Docs>
</Member> </Member>
@ -372,11 +376,11 @@
<Parameter Name="y" Type="System.Int32" /> <Parameter Name="y" Type="System.Int32" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Draws a point at (<paramref name="x"/>,<paramref name="y"/>).</summary> <summary>Draws a point at (<paramref name="x" />,<paramref name="y" />).</summary>
<param name="gc">A <see cref="T:Gdk.GC"/></param> <param name="gc">A <see cref="T:Gdk.GC" /></param>
<param name="x">A <see cref="T:System.Int32"/></param> <param name="x">A <see cref="T:System.Int32" /></param>
<param name="y">A <see cref="T:System.Int32"/></param> <param name="y">A <see cref="T:System.Int32" /></param>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Finalize"> <Member MemberName="Finalize">
@ -424,9 +428,9 @@
when using a #GdkGC to draw to a drawable, or copying one drawable when using a #GdkGC to draw to a drawable, or copying one drawable
to another, the colormaps should match. to another, the colormaps should match.
</summary> </summary>
<param name="value">A <see cref="T:Gdk.Colormap"/></param> <param name="value">A <see cref="T:Gdk.Colormap" /></param>
<returns>A <see cref="T:Gdk.Colormap"/></returns> <returns>A <see cref="T:Gdk.Colormap" /></returns>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="VisibleRegion"> <Member MemberName="VisibleRegion">
@ -437,8 +441,8 @@
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added</summary> <summary>To be added</summary>
<returns>A <see cref="T:Gdk.Region"/></returns> <returns>A <see cref="T:Gdk.Region" /></returns>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="ClipRegion"> <Member MemberName="ClipRegion">
@ -449,8 +453,8 @@
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added</summary> <summary>To be added</summary>
<returns>A <see cref="T:Gdk.Region"/></returns> <returns>A <see cref="T:Gdk.Region" /></returns>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Visual"> <Member MemberName="Visual">
@ -461,8 +465,8 @@
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added</summary> <summary>To be added</summary>
<returns>A <see cref="T:Gdk.Visual"/></returns> <returns>A <see cref="T:Gdk.Visual" /></returns>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Depth"> <Member MemberName="Depth">
@ -473,8 +477,8 @@
</ReturnValue> </ReturnValue>
<Docs> <Docs>
<summary>To be added</summary> <summary>To be added</summary>
<returns>A <see cref="T:System.Int32"/></returns> <returns>A <see cref="T:System.Int32" /></returns>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Screen"> <Member MemberName="Screen">
@ -486,7 +490,7 @@
<Docs> <Docs>
<summary>To be added</summary> <summary>To be added</summary>
<returns>a <see cref="T:Gdk.Screen" /></returns> <returns>a <see cref="T:Gdk.Screen" /></returns>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Display"> <Member MemberName="Display">
@ -498,7 +502,7 @@
<Docs> <Docs>
<summary>To be added</summary> <summary>To be added</summary>
<returns>a <see cref="T:Gdk.Display" /></returns> <returns>a <see cref="T:Gdk.Display" /></returns>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="DrawLines"> <Member MemberName="DrawLines">
@ -515,7 +519,7 @@
<summary>To be added</summary> <summary>To be added</summary>
<param name="gc">a <see cref="T:Gdk.GC" /></param> <param name="gc">a <see cref="T:Gdk.GC" /></param>
<param name="points">a <see cref="T:Gdk.Point[]" /></param> <param name="points">a <see cref="T:Gdk.Point[]" /></param>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="DrawPolygon"> <Member MemberName="DrawPolygon">
@ -576,7 +580,7 @@
<param name="y1_">a <see cref="T:System.Int32" /></param> <param name="y1_">a <see cref="T:System.Int32" /></param>
<param name="x2_">a <see cref="T:System.Int32" /></param> <param name="x2_">a <see cref="T:System.Int32" /></param>
<param name="y2_">a <see cref="T:System.Int32" /></param> <param name="y2_">a <see cref="T:System.Int32" /></param>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="DrawArc"> <Member MemberName="DrawArc">
@ -599,13 +603,27 @@
<summary>To be added</summary> <summary>To be added</summary>
<param name="gc">a <see cref="T:Gdk.GC" /></param> <param name="gc">a <see cref="T:Gdk.GC" /></param>
<param name="filled">a <see cref="T:System.Boolean" /></param> <param name="filled">a <see cref="T:System.Boolean" /></param>
<param name="x">a <see cref="T:System.Int32" /></param> <param name="x">a <see cref="T:System.Int32" /><para>
<param name="y">a <see cref="T:System.Int32" /></param> The x-coordinate of the upper left hand of the bounding box of the arc.
</para></param>
<param name="y">a <see cref="T:System.Int32" /><para>
The y-coordinate of the upper left hand of the bounding box of the arc.
</para></param>
<param name="width">a <see cref="T:System.Int32" /></param> <param name="width">a <see cref="T:System.Int32" /></param>
<param name="height">a <see cref="T:System.Int32" /></param> <param name="height">a <see cref="T:System.Int32" /></param>
<param name="angle1">a <see cref="T:System.Int32" /></param> <param name="angle1">a <see cref="T:System.Int32" /><para>
<param name="angle2">a <see cref="T:System.Int32" /></param> The starting angle of the arc in the clockwise direction in reference to the 3'oclock position in terms of 1/64th of a degree.
<remarks/> </para></param>
<param name="angle2">a <see cref="T:System.Int32" /><para>
The number of 1/64ths of a degree to sweep the arc in a clockwise direction relative to the starting angle.
</para></param>
<remarks>
<example>
Draw the left side of a circle with a radius of 5 units.
<code lang="C#">
Gdk.Pixmap.DrawArc(gc, false, 0, 0, 10, 10, 90 * 64, 180 * 64);
</code></example>
</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="DrawPixbuf"> <Member MemberName="DrawPixbuf">
@ -640,7 +658,7 @@
<param name="dither">a <see cref="T:Gdk.RgbDither" /></param> <param name="dither">a <see cref="T:Gdk.RgbDither" /></param>
<param name="x_dither">a <see cref="T:System.Int32" /></param> <param name="x_dither">a <see cref="T:System.Int32" /></param>
<param name="y_dither">a <see cref="T:System.Int32" /></param> <param name="y_dither">a <see cref="T:System.Int32" /></param>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="DrawRectangle"> <Member MemberName="DrawRectangle">
@ -703,7 +721,7 @@
<Docs> <Docs>
<summary>This is a constructor used by derivative types of Drawable. This is not typically used by C# code.</summary> <summary>This is a constructor used by derivative types of Drawable. This is not typically used by C# code.</summary>
<returns>a <see cref="T:Gdk.Drawable" /></returns> <returns>a <see cref="T:Gdk.Drawable" /></returns>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="DrawRgbImage"> <Member MemberName="DrawRgbImage">
@ -732,7 +750,7 @@
<param name="dith">a <see cref="T:System.Int32" /></param> <param name="dith">a <see cref="T:System.Int32" /></param>
<param name="rgb_buf">a <see cref="T:System.Byte" /></param> <param name="rgb_buf">a <see cref="T:System.Byte" /></param>
<param name="rowstride">a <see cref="T:System.Int32" /></param> <param name="rowstride">a <see cref="T:System.Int32" /></param>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="DrawRgb32ImageDithalign"> <Member MemberName="DrawRgb32ImageDithalign">
@ -765,7 +783,7 @@
<param name="rowstride">a <see cref="T:System.Int32" /></param> <param name="rowstride">a <see cref="T:System.Int32" /></param>
<param name="xdith">a <see cref="T:System.Int32" /></param> <param name="xdith">a <see cref="T:System.Int32" /></param>
<param name="ydith">a <see cref="T:System.Int32" /></param> <param name="ydith">a <see cref="T:System.Int32" /></param>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="DrawIndexedImage"> <Member MemberName="DrawIndexedImage">
@ -796,7 +814,7 @@
<param name="buf">a <see cref="T:System.Byte" /></param> <param name="buf">a <see cref="T:System.Byte" /></param>
<param name="rowstride">a <see cref="T:System.Int32" /></param> <param name="rowstride">a <see cref="T:System.Int32" /></param>
<param name="cmap">a <see cref="T:Gdk.RgbCmap" /></param> <param name="cmap">a <see cref="T:Gdk.RgbCmap" /></param>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="DrawRgb32Image"> <Member MemberName="DrawRgb32Image">
@ -825,7 +843,7 @@
<param name="dith">a <see cref="T:System.Int32" /></param> <param name="dith">a <see cref="T:System.Int32" /></param>
<param name="buf">a <see cref="T:System.Byte" /></param> <param name="buf">a <see cref="T:System.Byte" /></param>
<param name="rowstride">a <see cref="T:System.Int32" /></param> <param name="rowstride">a <see cref="T:System.Int32" /></param>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="DrawGrayImage"> <Member MemberName="DrawGrayImage">
@ -854,7 +872,7 @@
<param name="dith">a <see cref="T:System.Int32" /></param> <param name="dith">a <see cref="T:System.Int32" /></param>
<param name="buf">a <see cref="T:System.Byte" /></param> <param name="buf">a <see cref="T:System.Byte" /></param>
<param name="rowstride">a <see cref="T:System.Int32" /></param> <param name="rowstride">a <see cref="T:System.Int32" /></param>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="DrawRgbImageDithalign"> <Member MemberName="DrawRgbImageDithalign">
@ -887,7 +905,7 @@
<param name="rowstride">a <see cref="T:System.Int32" /></param> <param name="rowstride">a <see cref="T:System.Int32" /></param>
<param name="xdith">a <see cref="T:System.Int32" /></param> <param name="xdith">a <see cref="T:System.Int32" /></param>
<param name="ydith">a <see cref="T:System.Int32" /></param> <param name="ydith">a <see cref="T:System.Int32" /></param>
<remarks/> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="DrawPolygon"> <Member MemberName="DrawPolygon">

View file

@ -868,10 +868,9 @@ Console.WriteLine("Width: {0}, Height: {1}" , width , height);</code>
<Parameters> <Parameters>
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Sets ot obtains the transient parent.</summary> <summary>Sets or obtains the transient parent window.</summary>
<param name="value">Parent <paramref name="window" />.</param> <param name="value">Parent <paramref name="window" />.</param>
<returns> <returns />
</returns>
<remarks> <remarks>
<para> <para>
Dialog windows should be transient for the main <paramref name="window" /> they were spawned from, this allows windows managers to e.g. keep the dialog on top of the main <paramref name="window" />, or center the dialog over the main <paramref name="window" />. Dialog windows should be transient for the main <paramref name="window" /> they were spawned from, this allows windows managers to e.g. keep the dialog on top of the main <paramref name="window" />, or center the dialog over the main <paramref name="window" />.