GtkSharp/doc/en/Gdk/CairoHelper.xml
Mike Kestner 1fbcce1452 2006-08-04 Mike Kestner <mkestner@novell.com>
* gdk/Screen.custom : manually implement FontOptions property so
	we can use reflection to access the internal Mono.Cairo ctor.
	* gdk/Gdk.metadata : list marshaling, method-to-property renames,
	and some hides form manual implementation.  Hide 
	gdk_atom_intern_static_string wrapper since it is pointless outside
	the context of C code.

svn path=/trunk/gtk-sharp/; revision=63366
2006-08-04 17:55:35 +00:00

136 lines
5.4 KiB
XML

<Type Name="CairoHelper" FullName="Gdk.CairoHelper">
<TypeSignature Language="C#" Value="public class CairoHelper" />
<AssemblyInfo>
<AssemblyName>gdk-sharp</AssemblyName>
<AssemblyVersion>2.10.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public CairoHelper ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<summary>Do not use.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Region">
<MemberSignature Language="C#" Value="public static void Region (Cairo.Context cr, Gdk.Region region);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cr" Type="Cairo.Context" />
<Parameter Name="region" Type="Gdk.Region" />
</Parameters>
<Docs>
<param name="cr">a cairo context.</param>
<param name="region">a <see cref="Gdk.Region" />.</param>
<summary>Adds a region to the current path of the context.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Rectangle">
<MemberSignature Language="C#" Value="public static void Rectangle (Cairo.Context cr, Gdk.Rectangle rectangle);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cr" Type="Cairo.Context" />
<Parameter Name="rectangle" Type="Gdk.Rectangle" />
</Parameters>
<Docs>
<param name="cr">a cairo context.</param>
<param name="rectangle">a <see cref="Gdk.Rectangle" />.</param>
<summary>Adds a rectangle to the current path of the context.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="SetSourcePixbuf">
<MemberSignature Language="C#" Value="public static void SetSourcePixbuf (Cairo.Context cr, Gdk.Pixbuf pixbuf, double pixbuf_x, double pixbuf_y);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cr" Type="Cairo.Context" />
<Parameter Name="pixbuf" Type="Gdk.Pixbuf" />
<Parameter Name="pixbuf_x" Type="System.Double" />
<Parameter Name="pixbuf_y" Type="System.Double" />
</Parameters>
<Docs>
<param name="cr">a cairo context.</param>
<param name="pixbuf">a pixbuf containing a pattern.</param>
<param name="pixbuf_x">x location in context of upper left corner of pixbuf.</param>
<param name="pixbuf_y">y location in context of upper left corner of pixbuf..</param>
<summary>Sets the source pattern for a Cairo context.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="Create">
<MemberSignature Language="C#" Value="public static Cairo.Context Create (Gdk.Drawable drawable);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Cairo.Context</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="drawable" Type="Gdk.Drawable" />
</Parameters>
<Docs>
<param name="drawable">a Gdk drawable.</param>
<summary>Creates a cairo context for a drawable.</summary>
<returns>the cairo context.</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="SetSourceColor">
<MemberSignature Language="C#" Value="public static void SetSourceColor (Cairo.Context cr, Gdk.Color color);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cr" Type="Cairo.Context" />
<Parameter Name="color" Type="Gdk.Color" />
</Parameters>
<Docs>
<param name="cr">a cairo context.</param>
<param name="color">a color.</param>
<summary>Sets the source color for the Cairo context.</summary>
<remarks />
</Docs>
</Member>
<Member MemberName="SetSourcePixmap">
<MemberSignature Language="C#" Value="public static void SetSourcePixmap (Cairo.Context cr, Gdk.Pixmap pixmap, double pixmap_x, double pixmap_y);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cr" Type="Cairo.Context" />
<Parameter Name="pixmap" Type="Gdk.Pixmap" />
<Parameter Name="pixmap_x" Type="System.Double" />
<Parameter Name="pixmap_y" Type="System.Double" />
</Parameters>
<Docs>
<param name="cr">A cairo context.</param>
<param name="pixmap">The desired source pixmap.</param>
<param name="pixmap_x">x offset for <paramref name="pixmap" />.</param>
<param name="pixmap_y">y offset for <paramref name="pixmap" />.</param>
<summary>Sets the source pixmap for a context.</summary>
<remarks>The pattern has an extend mode of None and is aligned so the origin of <paramref name="pixmap" /> is at the speficied offset.</remarks>
<since version="Gtk# 2.10" />
</Docs></Member></Members>
<Docs>
<summary>Cairo backend API methods.</summary>
<remarks />
<since version="Gtk# 2.8" />
</Docs>
</Type>