Method GTK2.GdkPixbuf()->render_threshold_alpha()
- Method
render_threshold_alpha
GTK2.GdkBitmap
render_threshold_alpha(int
src_x
,int
src_y
,int
dest_c
,int
dest_y
,int
width
,int
height
,int
alpha_threshold
)- Description
Takes the opacity values in a rectangular portion of a pixbuf and thresholds them to produce a bi-level alpha mask that can be used as a clipping mask for a drawable.