mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-11 08:35:29 +00:00
2004-08-24 Larry Ewing <lewing@ximian.com>
* gdk/Pixbuf.custom : add RenderThresholdAlpha overload which defaults to the entire pixbuf width/height. [Fixes #60703] svn path=/trunk/gtk-sharp/; revision=32786
This commit is contained in:
parent
b06ff13450
commit
d6350e6b59
|
@ -1,3 +1,9 @@
|
|||
2004-08-24 Larry Ewing <lewing@ximian.com>
|
||||
|
||||
* gdk/Pixbuf.custom : add RenderThresholdAlpha overload which defaults
|
||||
to the entire pixbuf width/height.
|
||||
[Fixes #60703]
|
||||
|
||||
2004-08-24 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* gdk/Drawable.custom : add a DrawPolygon overload with bool filled
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
2004-08-24 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* en/Gdk/Drawable.xml : add DrawPolygon overload and doc both.
|
||||
* en/Gdk/Pixbuf.xml : add RenderThresholdAlpha overload docs.
|
||||
|
||||
2004-08-22 Shane Landrum <epicene@pobox.com>
|
||||
|
||||
|
|
|
@ -444,7 +444,7 @@
|
|||
<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>
|
||||
<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">
|
||||
|
@ -821,4 +821,4 @@
|
|||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
</Type>
|
|
@ -659,4 +659,4 @@
|
|||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
</Type>
|
|
@ -1401,5 +1401,32 @@
|
|||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="RenderThresholdAlpha">
|
||||
<MemberSignature Language="C#" Value="public void RenderThresholdAlpha (Gdk.Bitmap bitmap, int src_x, int src_y, int dest_x, int dest_y, int alpha_threshold);" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="bitmap" Type="Gdk.Bitmap" />
|
||||
<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="alpha_threshold" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Render pixbuf alpha channel as a bi-level clip mask to a <see cref="T:Gdk.Bitmap" /></summary>
|
||||
<param name="bitmap">The destination object of type 'Gdk.Bitmap'</param>
|
||||
<param name="src_x">Source X coordinate.</param>
|
||||
<param name="src_y">Source Y coordinate.</param>
|
||||
<param name="dest_x">Destination X coordinate.
|
||||
</param>
|
||||
<param name="dest_y">Destination Y coordinate.</param>
|
||||
<param name="alpha_threshold">Value below this will be painted as zero; all other values will be painted as one.</param>
|
||||
<remarks>This function is designed to threshold and render the alpha values from this <see cref="T:Gdk.Pixbuf" /> into the destination <see cref="T:Gdk.Bitmask" /> which can then be used as a clipping mask for a <see cref="T:Gdk.Drawable" />.</remarks>
|
||||
<remarks>To be added</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
</Type>
|
||||
|
|
|
@ -191,3 +191,7 @@
|
|||
return ret;
|
||||
}
|
||||
|
||||
public void RenderThresholdAlpha (Bitmap bitmap, int src_x, int src_y, int dest_x, int dest_y, int alpha_threshold)
|
||||
{
|
||||
RenderThresholdAlpha (bitmap, src_x, src_y, dest_x, dest_y, -1, -1, alpha_threshold);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue