GtkSharp/doc/en/Gdk/CairoHelper.xml

116 lines
4.3 KiB
XML
Raw Normal View History

<Type Name="CairoHelper" FullName="Gdk.CairoHelper">
<TypeSignature Language="C#" Value="public class CairoHelper" />
<AssemblyInfo>
<AssemblyName>gdk-sharp</AssemblyName>
<AssemblyVersion>2.8.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.Graphics cr, Gdk.Region region);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cr" Type="Cairo.Graphics" />
<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.Graphics cr, Gdk.Rectangle rectangle);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cr" Type="Cairo.Graphics" />
<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.Graphics 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.Graphics" />
<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.Graphics Create (Gdk.Drawable drawable);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Cairo.Graphics</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.Graphics cr, Gdk.Color color);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cr" Type="Cairo.Graphics" />
<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>
</Members>
<Docs>
<summary>Cairo backend API methods.</summary>
<remarks />
<since version="Gtk# 2.8" />
</Docs>
</Type>