f8d36b9453
* configure.in.in : add monodocer-fu. 2005-05-23 Mike Kestner <mkestner@novell.com> * Makefile.am : switch to monodocer * updater : kill * en/*/*.xml : enormo-diff from monodocer first run without --delete. svn path=/trunk/gtk-sharp/; revision=44915
1165 lines
56 KiB
XML
1165 lines
56 KiB
XML
<Type Name="Drawable" FullName="Gdk.Drawable">
|
|
<TypeSignature Language="C#" Maintainer="auto" Value="public class Drawable : GLib.Object" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>gdk-sharp</AssemblyName>
|
|
<AssemblyPublicKey>
|
|
</AssemblyPublicKey>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
|
|
<Docs>
|
|
<summary>Functions for drawing points, lines, arcs, and text.
|
|
</summary>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
<Base>
|
|
<BaseTypeName>GLib.Object</BaseTypeName>
|
|
</Base>
|
|
<Interfaces>
|
|
</Interfaces>
|
|
<Members>
|
|
<Member MemberName="DrawPoints">
|
|
<MemberSignature Language="C#" Value="public void DrawPoints (Gdk.GC gc, Gdk.Point points, int npoints);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="points" Type="Gdk.Point" />
|
|
<Parameter Name="npoints" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Draws a number of points using the given graphics context.</summary>
|
|
<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="npoints">A <see cref="T:System.Int32" /></param>
|
|
<remarks>NOTE: Drawable.custom needs to be fixed to implement this properly.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawLayoutWithColors">
|
|
<MemberSignature Language="C#" Value="public void DrawLayoutWithColors (Gdk.GC gc, int x, int y, Pango.Layout layout, Gdk.Color foreground, Gdk.Color background);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="layout" Type="Pango.Layout" />
|
|
<Parameter Name="foreground" Type="Gdk.Color" />
|
|
<Parameter Name="background" Type="Gdk.Color" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Render a <see cref="T:Pango.Layout" /> onto the Drawable
|
|
object with the specified colors.</summary>
|
|
<param name="gc">A <see cref="T:Gdk.GC" />, the graphics context to use</param>
|
|
<param name="x">the X position of the left of the layout (in pixels)</param>
|
|
<param name="y"> the Y position of the top of the layout (in pixels)</param>
|
|
<param name="layout">the layout to render</param>
|
|
<param name="foreground">the foreground color</param>
|
|
<param name="background">the background color</param>
|
|
<remarks>Render a <see cref="T:Pango.LayoutLine" /> onto the Drawable
|
|
object, overriding the layout's normal colors with
|
|
<paramref name="foreground" /> and/or <paramref name="background" />.
|
|
<paramref name="foreground" /> and <paramref name="background" />
|
|
need not be allocated.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawLayoutLine">
|
|
<MemberSignature Language="C#" Value="public void DrawLayoutLine (Gdk.GC gc, int x, int y, Pango.LayoutLine line);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="line" Type="Pango.LayoutLine" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Render a <see cref="T:Pango.LayoutLine" /> onto the Drawable
|
|
object.</summary>
|
|
<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="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>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawLayoutLineWithColors">
|
|
<MemberSignature Language="C#" Value="public void DrawLayoutLineWithColors (Gdk.GC gc, int x, int y, Pango.LayoutLine line, Gdk.Color foreground, Gdk.Color background);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="line" Type="Pango.LayoutLine" />
|
|
<Parameter Name="foreground" Type="Gdk.Color" />
|
|
<Parameter Name="background" Type="Gdk.Color" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="gc">A <see cref="T:Gdk.GC" />, the graphics context to use</param>
|
|
<param name="x">the X position of the start of string (in pixels)</param>
|
|
<param name="y">the Y position of the baseline (in pixels)</param>
|
|
<param name="line">To be added.</param>
|
|
<param name="foreground">the foreground color</param>
|
|
<param name="background">the background color</param>
|
|
<summary>Render a <see cref="T:Pango.LayoutLine" /> onto the Drawable
|
|
object, overriding the layout's normal colors.</summary>
|
|
<param name="layout">A <see cref="T:Pango.LayoutLine" />, a line of text to render</param>
|
|
<remarks>Render a <see cref="T:Pango.LayoutLine" /> onto the Drawable
|
|
object, overriding the layout's normal colors with
|
|
<paramref name="foreground" /> and/or <paramref name="background" />.
|
|
|
|
<para>
|
|
<paramref name="foreground" /> and <paramref name="background" />
|
|
need not be allocated.
|
|
</para></remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawLayout">
|
|
<MemberSignature Language="C#" Value="public void DrawLayout (Gdk.GC gc, int x, int y, Pango.Layout layout);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="layout" Type="Pango.Layout" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Render a <see cref="T:Pango.Layout" /> onto a <see cref="T:Gdk.Drawable" /></summary>
|
|
<param name="gc">The base <see cref="T:Gdk.GC" /> to use.</param>
|
|
<param name="x">the X position of the left of the layout (in pixels)</param>
|
|
<param name="y"> the Y position of the top of the layout (in pixels)</param>
|
|
<param name="layout">A <see cref="T:Pango.Layout" /></param>
|
|
<remarks>
|
|
<para>
|
|
If the layout's PangoContext has a transformation matrix set, then x and y specify the position of the top left corner of the bounding box (in device space) of the transformed layout.
|
|
</para>
|
|
|
|
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>
|
|
</Member>
|
|
<Member MemberName="GetSize">
|
|
<MemberSignature Language="C#" Value="public void GetSize (out int width, out int height);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="width" Type="System.Int32&" RefType="out" />
|
|
<Parameter Name="height" Type="System.Int32&" RefType="out" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Fills <paramref name="width" /> and <paramref name="height" />
|
|
with the size of the Drawable. <paramref name="width" /> or
|
|
<paramref name="height" /> can be <see langword="null" /> if you
|
|
only want the other one.
|
|
</summary>
|
|
<param name="width">A <see cref="T:System.Int32&" /></param>
|
|
<param name="height">A <see cref="T:System.Int32&" /></param>
|
|
<remarks>
|
|
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
|
|
event, rather than the current size on the X server.
|
|
</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawSegments">
|
|
<MemberSignature Language="C#" Value="public void DrawSegments (Gdk.GC gc, Gdk.Segment segs, int nsegs);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="segs" Type="Gdk.Segment" />
|
|
<Parameter Name="nsegs" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Draws a number of unconnected lines.</summary>
|
|
<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="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>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawGlyphs">
|
|
<MemberSignature Language="C#" Value="public void DrawGlyphs (Gdk.GC gc, Pango.Font font, int x, int y, Pango.GlyphString glyphs);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="font" Type="Pango.Font" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="glyphs" Type="Pango.GlyphString" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Low-level glyph drawing function.</summary>
|
|
<param name="gc">A <see cref="T:Gdk.GC" /></param>
|
|
<param name="font">A <see cref="T:Pango.Font" /></param>
|
|
<param name="x">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>
|
|
<remarks>
|
|
<para>This is a low-level function; 99% of text rendering should be done
|
|
using <see cref="M:Gdk.Drawable.DrawLayout" /> instead.</para>
|
|
<para>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
|
|
lot about internationalized text handling, which you don't want to
|
|
understand; thus, use <see cref="M:Gdk.Drawable.DrawLayout" /> instead of this function,
|
|
<see cref="M:Gdk.Drawable.DrawLayout" /> handles the details.</para>
|
|
</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="GetImage">
|
|
<MemberSignature Language="C#" Value="public Gdk.Image GetImage (int x, int y, int width, int height);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gdk.Image</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="width" Type="System.Int32" />
|
|
<Parameter Name="height" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Returns a client-side <see cref="T:Gdk.Image" /> representing the server-side <see cref="T:Gdk.Drawable" />.</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="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="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>
|
|
<remarks>
|
|
<para>
|
|
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
|
|
objects. This method obtains the pixels from a
|
|
server-side drawable as a client-side <see cref="T:Gdk.Image" />.
|
|
</para>
|
|
<para>
|
|
The format of a <see cref="T:Gdk.Image" /> depends on
|
|
the <see cref="T:Gdk.Visual" /> of the current display, which
|
|
makes manipulating <see cref="T:Gdk.Image" /> extremely difficult;
|
|
therefore, in
|
|
most cases you should use <see cref="M:Gdk.Pixbuf.GetFromDrawable" />
|
|
instead of
|
|
this lower-level function. A <see cref="T:Gdk.Pixbuf" /> contains
|
|
image data in a canonicalized RGB format, rather than a
|
|
display-dependent format. Of course, there's a convenience vs.
|
|
speed tradeoff here, so you'll want to think about what makes
|
|
sense for your application.
|
|
</para>
|
|
<para>
|
|
<paramref name="x" />, <paramref name="y" />,
|
|
<paramref name="width" />, and <paramref name="height" /> define
|
|
the region of the drawable to obtain as an image.
|
|
</para>
|
|
<para>
|
|
You would usually copy image data to the client side if you intend
|
|
to examine the values of individual pixels, for example to darken
|
|
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,
|
|
so instead you get all of them at once, modify them, then copy
|
|
them all back at once.
|
|
</para>
|
|
<para>
|
|
If the X server or other windowing system backend is on the local
|
|
machine, this function may use shared memory to avoid copying
|
|
the image data.
|
|
</para>
|
|
<para> If the source drawable is a #GdkWindow and partially offscreen
|
|
or obscured, then the obscured portions of the returned image
|
|
will contain undefined data.
|
|
</para>
|
|
</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawDrawable">
|
|
<MemberSignature Language="C#" Value="public void DrawDrawable (Gdk.GC gc, Gdk.Drawable src, int xsrc, int ysrc, int xdest, int ydest, int width, int height);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="src" Type="Gdk.Drawable" />
|
|
<Parameter Name="xsrc" Type="System.Int32" />
|
|
<Parameter Name="ysrc" Type="System.Int32" />
|
|
<Parameter Name="xdest" Type="System.Int32" />
|
|
<Parameter Name="ydest" Type="System.Int32" />
|
|
<Parameter Name="width" Type="System.Int32" />
|
|
<Parameter Name="height" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Draws a portion of a drawable into another.</summary>
|
|
<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="xsrc">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="ydest">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>
|
|
<remarks>
|
|
<para>
|
|
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="width" /> and/or <paramref name="height" /> may be given as -1, in which case the entire
|
|
<paramref name="src" /> drawable will be copied.
|
|
Most fields in <paramref name="gc" /> are not used for this operation, but notably the
|
|
clip mask or clip region will be honored.
|
|
|
|
|
|
</para>
|
|
|
|
The source and destination drawables must have the same visual and
|
|
colormap, or errors will result. (On X11, failure to match
|
|
visual/colormap results in a BadMatch error from the X server.)
|
|
A common cause of this problem is an attempt to draw a bitmap to
|
|
a color drawable. The way to draw a bitmap is to set the
|
|
bitmap as a clip mask on your #GdkGC, then use <see cref="M:Gdk.Drawable.DrawRectangle" />
|
|
to draw a rectangle clipped to the bitmap.
|
|
</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawImage">
|
|
<MemberSignature Language="C#" Value="public void DrawImage (Gdk.GC gc, Gdk.Image image, int xsrc, int ysrc, int xdest, int ydest, int width, int height);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="image" Type="Gdk.Image" />
|
|
<Parameter Name="xsrc" Type="System.Int32" />
|
|
<Parameter Name="ysrc" Type="System.Int32" />
|
|
<Parameter Name="xdest" Type="System.Int32" />
|
|
<Parameter Name="ydest" Type="System.Int32" />
|
|
<Parameter Name="width" Type="System.Int32" />
|
|
<Parameter Name="height" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Draws a <see cref="T:Gdk.Image" /> onto a drawable.</summary>
|
|
<param name="gc">A <see cref="T:Gdk.GC" /></param>
|
|
<param name="image">A <see cref="T:Gdk.Image" /></param>
|
|
<param name="xsrc">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="ydest">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>
|
|
<remarks>The depth of the <see cref="T:Gdk.Image" /> must match the depth of the <see cref="T:Gdk.Drawable" />.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawPoint">
|
|
<MemberSignature Language="C#" Value="public void DrawPoint (Gdk.GC gc, int x, int y);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Draws a point at (<paramref name="x" />,<paramref name="y" />).</summary>
|
|
<param name="gc">A <see cref="T:Gdk.GC" /></param>
|
|
<param name="x">A <see cref="T:System.Int32" /></param>
|
|
<param name="y">A <see cref="T:System.Int32" /></param>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Finalize">
|
|
<MemberSignature Language="C#" Value="protected override void Finalize ();" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Disposes the resources associated with the object.</summary>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public Drawable (IntPtr raw);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters>
|
|
<Parameter Name="raw" Type="System.IntPtr" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Internal constructor</summary>
|
|
<param name="raw">Pointer to the C object.</param>
|
|
<remarks>
|
|
<para>This is an internal constructor, and should not be used by user code.</para>
|
|
</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Colormap">
|
|
<MemberSignature Language="C#" Value="public Gdk.Colormap Colormap { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gdk.Colormap</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>The color map for this Drawable. </summary>
|
|
<param name="value">The new <see cref="T:Gdk.Colormap" /> for the Drawable.</param>
|
|
<value>The current <see cref="T:Gdk.Colormap" /> on the Drawable.</value>
|
|
<remarks>You only need to set the color map if the drawable-creating function did not have a way to determine the colormap, and you then use drawable operations that require a colormap. The colormap for all drawables and graphics contexts you intend to use together should match. i.e. when using a #GdkGC to draw to a drawable, or copying one drawable to another, the colormaps should match.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="VisibleRegion">
|
|
<MemberSignature Language="C#" Value="public Gdk.Region VisibleRegion { get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gdk.Region</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<summary>Computes the region of a drawable that is potentially visible.</summary>
|
|
<value>A <see cref="T:Gdk.Region" /></value>
|
|
<remarks>This does not necessarily take into account if the window is obscured by other windows, but no area outside of this region is visible.
|
|
|
|
<para>
|
|
You must call <see cref="M:Gdk.Region.Destroy()" /> when done.
|
|
</para></remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="ClipRegion">
|
|
<MemberSignature Language="C#" Value="public Gdk.Region ClipRegion { get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gdk.Region</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<summary>Computes the region of a drawable that potentially can be written to by drawing primitives.</summary>
|
|
<value>A <see cref="T:Gdk.Region" />. You must call <see cref="M:Gdk.Region.Destroy()" /> when done.</value>
|
|
<remarks>Computes the region of a drawable that potentially can be written to by drawing primitives. This region will not take into account the clip region for the GC, and may also not take into account other factors such as if the window is obscured by other windows, but no area outside of this region will be affected by drawing primitives.
|
|
|
|
<para>
|
|
You must call the Destroy method on the returned region when done.
|
|
</para></remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Visual">
|
|
<MemberSignature Language="C#" Value="public Gdk.Visual Visual { get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gdk.Visual</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<summary>Gets the <see cref="T:Gdk.Visual" /> describing the pixel format of drawable.</summary>
|
|
<value>A <see cref="T:Gdk.Visual" /></value>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Depth">
|
|
<MemberSignature Language="C#" Value="public int Depth { get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Int32</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<summary>Obtains the bit depth of the drawable.</summary>
|
|
<value>The bit depth.</value>
|
|
<remarks>Obtains the bit depth of the drawable, that is, the number of bits that make up a pixel in the drawable's visual. Examples are 8 bits per pixel, 24 bits per pixel, etc.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Screen">
|
|
<MemberSignature Language="C#" Value="public Gdk.Screen Screen { get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gdk.Screen</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<summary>Gets the <see cref="T:Gdk.Screen" /> associated with a <see cref="T:Gdk.Drawable." /></summary>
|
|
<value>a <see cref="T:Gdk.Screen" /></value>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Display">
|
|
<MemberSignature Language="C#" Value="public Gdk.Display Display { get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gdk.Display</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<summary>Gets the <see cref="T:Gdk.Display" /> associated with the <see cref="T:Gdk.Drawable" />.</summary>
|
|
<value>The <see cref="T:Gdk.Display" />.</value>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawLines">
|
|
<MemberSignature Language="C#" Value="public void DrawLines (Gdk.GC gc, Gdk.Point[] points);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="points" Type="Gdk.Point[]" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Draws a series of lines connecting the given points.</summary>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="points">a <see cref="T:Gdk.Point[]" /></param>
|
|
<remarks>The way in which joins between lines are draw is determined by the <see cref="E:Gdk.CapStyle" /> value in the <see cref="T:Gdk.GC" />. This can be set with <see cref="M:Gdk.GC.LineAttributes" /> property.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawPolygon">
|
|
<MemberSignature Language="C#" Value="public void DrawPolygon (Gdk.GC gc, int filled, Gdk.Point[] points);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="filled" Type="System.Int32" />
|
|
<Parameter Name="points" Type="Gdk.Point[]" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Draws a Polygon connecting a set of points.</summary>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="filled">a <see cref="T:System.Int32" /></param>
|
|
<param name="points">a <see cref="T:Gdk.Point[]" /></param>
|
|
<remarks>This method is obsolete. Use the overload which takes a <see cref="T:System.Boolean" /> for <paramref name="filled" /></remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawRectangle">
|
|
<MemberSignature Language="C#" Value="public void DrawRectangle (Gdk.GC gc, bool filled, Gdk.Rectangle area);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="filled" Type="System.Boolean" />
|
|
<Parameter Name="area" Type="Gdk.Rectangle" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Draws a rectangular outline or filled rectangle, using the foreground color and other attributes of the <see cref="T:Gdk.GC" />.</summary>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="filled">a <see cref="T:System.Boolean" /></param>
|
|
<param name="area">a <see cref="T:Gdk.Rectangle" /></param>
|
|
<remarks>A rectangle drawn filled is 1 pixel smaller in both dimensions than a rectangle outlined. Calling Gdk.DrawRectangle (window, gc, TRUE, 0, 0, 20, 20) results in a filled rectangle 20 pixels wide and 20 pixels high. Calling Gdk.DrawRectangle (window, gc, FALSE, 0, 0, 20, 20) results in an outlined rectangle with corners at (0, 0), (0, 20), (20, 20), and (20, 0), which makes it 21 pixels wide and 21 pixels high.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawLine">
|
|
<MemberSignature Language="C#" Value="public void DrawLine (Gdk.GC gc, int x1_, int y1_, int x2_, int y2_);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="x1_" Type="System.Int32" />
|
|
<Parameter Name="y1_" Type="System.Int32" />
|
|
<Parameter Name="x2_" Type="System.Int32" />
|
|
<Parameter Name="y2_" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Draws a line, using the foreground color and other attributes of the <see cref="T:Gdk.GC" /></summary>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="x1_">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="y2_">a <see cref="T:System.Int32" /></param>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawArc">
|
|
<MemberSignature Language="C#" Value="public void DrawArc (Gdk.GC gc, bool filled, int x, int y, int width, int height, int angle1, int angle2);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="filled" Type="System.Boolean" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="width" Type="System.Int32" />
|
|
<Parameter Name="height" Type="System.Int32" />
|
|
<Parameter Name="angle1" Type="System.Int32" />
|
|
<Parameter Name="angle2" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Draws an arc or a filled 'pie slice'.</summary>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="filled">a <see cref="T:System.Boolean" /></param>
|
|
<param name="x">The x-coordinate of the upper left hand of the bounding box of the arc.
|
|
</param>
|
|
<param name="y">The y-coordinate of the upper left hand of the bounding box of the arc.
|
|
</param>
|
|
<param name="width"> the width of the bounding rectangle.</param>
|
|
<param name="height">the height of the bounding rectangle.</param>
|
|
<param name="angle1">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.
|
|
</param>
|
|
<param name="angle2">The number of 1/64ths of a degree to sweep the arc in a clockwise direction relative to the starting angle.
|
|
</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>
|
|
</Member>
|
|
<Member MemberName="DrawPixbuf">
|
|
<MemberSignature Language="C#" Value="public void DrawPixbuf (Gdk.GC gc, Gdk.Pixbuf pixbuf, int src_x, int src_y, int dest_x, int dest_y, int width, int height, Gdk.RgbDither dither, int x_dither, int y_dither);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="pixbuf" Type="Gdk.Pixbuf" />
|
|
<Parameter Name="src_x" Type="System.Int32" />
|
|
<Parameter Name="src_y" Type="System.Int32" />
|
|
<Parameter Name="dest_x" Type="System.Int32" />
|
|
<Parameter Name="dest_y" Type="System.Int32" />
|
|
<Parameter Name="width" Type="System.Int32" />
|
|
<Parameter Name="height" Type="System.Int32" />
|
|
<Parameter Name="dither" Type="Gdk.RgbDither" />
|
|
<Parameter Name="x_dither" Type="System.Int32" />
|
|
<Parameter Name="y_dither" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Renders a rectangular portion of a <see cref="T:Gdk.Pixbuf" /> to a <see cref="T:Gdk.Drawable" /></summary>
|
|
<param name="gc">A <see cref="T:Gdk.GC" /> used for clipping.</param>
|
|
<param name="pixbuf">The <see cref="T:Gdk.Pixbuf" /> to render</param>
|
|
<param name="src_x">Source X coordinate within pixbuf.</param>
|
|
<param name="src_y">Source Y coordinates within pixbuf.</param>
|
|
<param name="dest_x">Destination X coordinate within drawable.</param>
|
|
<param name="dest_y">Destination Y coordinate within drawable.</param>
|
|
<param name="width">Width of region to render, in pixels, or -1 to use pixbuf width. </param>
|
|
<param name="height"> Height of region to render, in pixels, or -1 to use pixbuf height.</param>
|
|
<param name="dither">Dithering mode for GdkRGB.</param>
|
|
<param name="x_dither">X offset for dither.</param>
|
|
<param name="y_dither">Y offset for dither.</param>
|
|
<remarks>The destination drawable must have a colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-NULL window argument. Otherwise a colormap must be set on them on the <see cref="P:Gdk.Drawable.Colormap" /> property.
|
|
<para>
|
|
On older X servers, rendering pixbufs with an alpha channel involves round trips to the X server, and may be somewhat slow.
|
|
</para><para>
|
|
The clip mask of gc is ignored, but clip rectangles and clip regions work fine.
|
|
</para></remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawRectangle">
|
|
<MemberSignature Language="C#" Value="public void DrawRectangle (Gdk.GC gc, bool filled, int x, int y, int width, int height);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="filled" Type="System.Boolean" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="width" Type="System.Int32" />
|
|
<Parameter Name="height" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Draws a rectangular outline or filled rectangle, using the foreground color and other attributes of the <see cref="T:Gdk.GC" />.</summary>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="filled">a <see cref="T:System.Boolean" /></param>
|
|
<param name="x">a <see cref="T:System.Int32" /></param>
|
|
<param name="y">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>
|
|
<remarks>A rectangle drawn filled is 1 pixel smaller in both dimensions than a rectangle outlined. Calling Gdk.DrawRectangle (window, gc, TRUE, 0, 0, 20, 20) results in a filled rectangle 20 pixels wide and 20 pixels high. Calling Gdk.DrawRectangle (window, gc, FALSE, 0, 0, 20, 20) results in an outlined rectangle with corners at (0, 0), (0, 20), (20, 20), and (20, 0), which makes it 21 pixels wide and 21 pixels high.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="GType">
|
|
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>GLib.GType</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>GType Property.</summary>
|
|
<value>a <see cref="T:GLib.GType" /></value>
|
|
<remarks>Returns the native <see cref="T:GLib.GType" /> value for <see cref="T:Gdk.Drawable" />.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="protected Drawable (GLib.GType gtype);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters>
|
|
<Parameter Name="gtype" Type="GLib.GType" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Internal constructor</summary>
|
|
<param name="gtype">a <see cref="T:GLib.GType" /></param>
|
|
<remarks>This is a constructor used by derivative types of <see cref="T:Gdk.Drawable" /> that would have their own GLib.GType assigned to it. This is not typically used by C# code.</remarks>
|
|
</Docs>
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>System.Obsolete(Message=null, IsError=False)</AttributeName>
|
|
</Attribute>
|
|
</Attributes></Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="protected Drawable ();" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>This is a constructor used by derivative types of Drawable. This is not typically used by C# code.</summary>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawRgbImage">
|
|
<MemberSignature Language="C#" Value="public void DrawRgbImage (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, byte[] rgb_buf, int rowstride);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="width" Type="System.Int32" />
|
|
<Parameter Name="height" Type="System.Int32" />
|
|
<Parameter Name="dith" Type="Gdk.RgbDither" />
|
|
<Parameter Name="rgb_buf" Type="System.Byte[]" />
|
|
<Parameter Name="rowstride" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>To be added</summary>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="x">a <see cref="T:System.Int32" /></param>
|
|
<param name="y">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="dith">a <see cref="T:System.Int32" /></param>
|
|
<param name="rgb_buf">a <see cref="T:System.Byte" /></param>
|
|
<param name="rowstride">a <see cref="T:System.Int32" /></param>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawRgb32ImageDithalign">
|
|
<MemberSignature Language="C#" Value="public void DrawRgb32ImageDithalign (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, byte[] buf, int rowstride, int xdith, int ydith);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="width" Type="System.Int32" />
|
|
<Parameter Name="height" Type="System.Int32" />
|
|
<Parameter Name="dith" Type="Gdk.RgbDither" />
|
|
<Parameter Name="buf" Type="System.Byte[]" />
|
|
<Parameter Name="rowstride" Type="System.Int32" />
|
|
<Parameter Name="xdith" Type="System.Int32" />
|
|
<Parameter Name="ydith" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>To be added</summary>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="x">a <see cref="T:System.Int32" /></param>
|
|
<param name="y">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="dith">a <see cref="T:System.Int32" /></param>
|
|
<param name="buf">a <see cref="T:System.Byte" /></param>
|
|
<param name="rowstride">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>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawIndexedImage">
|
|
<MemberSignature Language="C#" Value="public void DrawIndexedImage (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, byte[] buf, int rowstride, Gdk.RgbCmap cmap);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="width" Type="System.Int32" />
|
|
<Parameter Name="height" Type="System.Int32" />
|
|
<Parameter Name="dith" Type="Gdk.RgbDither" />
|
|
<Parameter Name="buf" Type="System.Byte[]" />
|
|
<Parameter Name="rowstride" Type="System.Int32" />
|
|
<Parameter Name="cmap" Type="Gdk.RgbCmap" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>To be added</summary>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="x">a <see cref="T:System.Int32" /></param>
|
|
<param name="y">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="dith">a <see cref="T:System.Int32" /></param>
|
|
<param name="buf">a <see cref="T:System.Byte" /></param>
|
|
<param name="rowstride">a <see cref="T:System.Int32" /></param>
|
|
<param name="cmap">a <see cref="T:Gdk.RgbCmap" /></param>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawRgb32Image">
|
|
<MemberSignature Language="C#" Value="public void DrawRgb32Image (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, byte[] buf, int rowstride);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="width" Type="System.Int32" />
|
|
<Parameter Name="height" Type="System.Int32" />
|
|
<Parameter Name="dith" Type="Gdk.RgbDither" />
|
|
<Parameter Name="buf" Type="System.Byte[]" />
|
|
<Parameter Name="rowstride" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>To be added</summary>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="x">a <see cref="T:System.Int32" /></param>
|
|
<param name="y">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="dith">a <see cref="T:System.Int32" /></param>
|
|
<param name="buf">a <see cref="T:System.Byte" /></param>
|
|
<param name="rowstride">a <see cref="T:System.Int32" /></param>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawGrayImage">
|
|
<MemberSignature Language="C#" Value="public void DrawGrayImage (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, byte[] buf, int rowstride);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="width" Type="System.Int32" />
|
|
<Parameter Name="height" Type="System.Int32" />
|
|
<Parameter Name="dith" Type="Gdk.RgbDither" />
|
|
<Parameter Name="buf" Type="System.Byte[]" />
|
|
<Parameter Name="rowstride" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>To be added</summary>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="x">a <see cref="T:System.Int32" /></param>
|
|
<param name="y">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="dith">a <see cref="T:System.Int32" /></param>
|
|
<param name="buf">a <see cref="T:System.Byte" /></param>
|
|
<param name="rowstride">a <see cref="T:System.Int32" /></param>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawRgbImageDithalign">
|
|
<MemberSignature Language="C#" Value="public void DrawRgbImageDithalign (Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, byte[] rgb_buf, int rowstride, int xdith, int ydith);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="width" Type="System.Int32" />
|
|
<Parameter Name="height" Type="System.Int32" />
|
|
<Parameter Name="dith" Type="Gdk.RgbDither" />
|
|
<Parameter Name="rgb_buf" Type="System.Byte[]" />
|
|
<Parameter Name="rowstride" Type="System.Int32" />
|
|
<Parameter Name="xdith" Type="System.Int32" />
|
|
<Parameter Name="ydith" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>To be added</summary>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="x">a <see cref="T:System.Int32" /></param>
|
|
<param name="y">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="dith">a <see cref="T:System.Int32" /></param>
|
|
<param name="rgb_buf">a <see cref="T:System.Byte" /></param>
|
|
<param name="rowstride">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>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawPolygon">
|
|
<MemberSignature Language="C#" Value="public void DrawPolygon (Gdk.GC gc, bool filled, Gdk.Point[] points);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="filled" Type="System.Boolean" />
|
|
<Parameter Name="points" Type="Gdk.Point[]" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Draws a Polygon connecting a set of points.</summary>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="filled">a <see cref="T:System.Boolean" /></param>
|
|
<param name="points">a <see cref="T:Gdk.Point" /></param>
|
|
<remarks>
|
|
</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawText">
|
|
<MemberSignature Language="C#" Value="public void DrawText (Gdk.Font font, Gdk.GC gc, int x, int y, string text);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="font" Type="Gdk.Font" />
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="text" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Deprecated: use <see cref="M:Gdk.Drawable.DrawLayout" /> instead.</summary>
|
|
<param name="font">a <see cref="T:Gdk.Font" /></param>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="x">a <see cref="T:System.Int32" /></param>
|
|
<param name="y">a <see cref="T:System.Int32" /></param>
|
|
<param name="text">a <see cref="T:System.String" /></param>
|
|
<remarks>Deprecated.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawTextWc">
|
|
<MemberSignature Language="C#" Value="public uint DrawTextWc (Gdk.Font font, Gdk.GC gc, int x, int y, int text_length);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.UInt32</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="font" Type="Gdk.Font" />
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="text_length" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Deprecated: draws a numbre of wide-char characters</summary>
|
|
<param name="font">a <see cref="T:Gdk.Font" /></param>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="x">a <see cref="T:System.Int32" /></param>
|
|
<param name="y">a <see cref="T:System.Int32" /></param>
|
|
<param name="text_length">a <see cref="T:System.Int32" /></param>
|
|
<returns>a <see cref="T:System.UInt32" /></returns>
|
|
<remarks>Use <see cref="M:Gdk.Drawable.DrawLayout" /> instead.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawString">
|
|
<MemberSignature Language="C#" Value="public void DrawString (Gdk.Font font, Gdk.GC gc, int x, int y, string str1ng);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="font" Type="Gdk.Font" />
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="str1ng" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Deprecated: use <see cref="M:Gdk.Drawable.DrawLayout" /> instead.</summary>
|
|
<param name="font">a <see cref="T:Gdk.Font" /></param>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="x">a <see cref="T:System.Int32" /></param>
|
|
<param name="y">a <see cref="T:System.Int32" /></param>
|
|
<param name="str1ng">a <see cref="T:System.String" /></param>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="GetData">
|
|
<MemberSignature Language="C#" Value="public IntPtr GetData (string key);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.IntPtr</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="key" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>This method is deprecated, do not use.</summary>
|
|
<param name="key">a <see cref="T:System.String" /></param>
|
|
<returns>a <see cref="T:System.IntPtr" /></returns>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Ref">
|
|
<MemberSignature Language="C#" Value="public Gdk.Drawable Ref ();" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gdk.Drawable</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>To be added</summary>
|
|
<returns>a <see cref="T:Gdk.Drawable" /></returns>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="CopyToImage">
|
|
<MemberSignature Language="C#" Value="public Gdk.Image CopyToImage (Gdk.Image image, int src_x, int src_y, int dest_x, int dest_y, int width, int height);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gdk.Image</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="image" Type="Gdk.Image" />
|
|
<Parameter Name="src_x" Type="System.Int32" />
|
|
<Parameter Name="src_y" Type="System.Int32" />
|
|
<Parameter Name="dest_x" Type="System.Int32" />
|
|
<Parameter Name="dest_y" Type="System.Int32" />
|
|
<Parameter Name="width" Type="System.Int32" />
|
|
<Parameter Name="height" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Copies a portion of drawable into the client side image structure image.</summary>
|
|
<param name="image">a <see cref="T:Gdk.Image" /></param>
|
|
<param name="src_x">a <see cref="T:System.Int32" /></param>
|
|
<param name="src_y">a <see cref="T:System.Int32" /></param>
|
|
<param name="dest_x">a <see cref="T:System.Int32" /></param>
|
|
<param name="dest_y">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>
|
|
<returns>a <see cref="T:Gdk.Image" /></returns>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Unref">
|
|
<MemberSignature Language="C#" Value="public void Unref ();" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>To be added</summary>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="SetData">
|
|
<MemberSignature Language="C#" Value="public void SetData (string key, IntPtr data, IntPtr destroy_func);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="key" Type="System.String" />
|
|
<Parameter Name="data" Type="System.IntPtr" />
|
|
<Parameter Name="destroy_func" Type="System.IntPtr" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>This method is deprecated and should not be used with new code.</summary>
|
|
<param name="key">a <see cref="T:System.String" /></param>
|
|
<param name="data">a <see cref="T:System.IntPtr" /></param>
|
|
<param name="destroy_func">a <see cref="T:System.IntPtr" /></param>
|
|
<remarks>This method is deprecated and should not be used in newly-written code.
|
|
</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawRectangleAlphaLibgtkOnly">
|
|
<MemberSignature Language="C#" Value="public bool DrawRectangleAlphaLibgtkOnly (int x, int y, int width, int height, Gdk.Color color, ushort alpha);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="width" Type="System.Int32" />
|
|
<Parameter Name="height" Type="System.Int32" />
|
|
<Parameter Name="color" Type="Gdk.Color" />
|
|
<Parameter Name="alpha" Type="System.UInt16" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>To be added</summary>
|
|
<param name="x">a <see cref="T:System.Int32" /></param>
|
|
<param name="y">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="color">a <see cref="T:Gdk.Color" /></param>
|
|
<param name="alpha">a <see cref="T:System.UInt16" /></param>
|
|
<returns>a <see cref="T:System.Boolean" /></returns>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawGlyphsTransformed">
|
|
<MemberSignature Language="C#" Value="public void DrawGlyphsTransformed (Gdk.GC gc, Pango.Matrix matrix, Pango.Font font, int x, int y, Pango.GlyphString glyphs);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="matrix" Type="Pango.Matrix" />
|
|
<Parameter Name="font" Type="Pango.Font" />
|
|
<Parameter Name="x" Type="System.Int32" />
|
|
<Parameter Name="y" Type="System.Int32" />
|
|
<Parameter Name="glyphs" Type="Pango.GlyphString" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>To be added</summary>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="matrix">a <see cref="T:Pango.Matrix" /></param>
|
|
<param name="font">a <see cref="T:Pango.Font" /></param>
|
|
<param name="x">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>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="DrawTrapezoids">
|
|
<MemberSignature Language="C#" Value="public void DrawTrapezoids (Gdk.GC gc, Gdk.Trapezoid trapezoids, int n_trapezoids);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="gc" Type="Gdk.GC" />
|
|
<Parameter Name="trapezoids" Type="Gdk.Trapezoid" />
|
|
<Parameter Name="n_trapezoids" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>To be added</summary>
|
|
<param name="gc">a <see cref="T:Gdk.GC" /></param>
|
|
<param name="trapezoids">a <see cref="T:Gdk.Trapezoid" /></param>
|
|
<param name="n_trapezoids">a <see cref="T:System.Int32" /></param>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type>
|