Re: drawing a png, honoring transparency
- From: Akos Maroy <darkeye tyrell hu>
- To: Carl Nygard <cjnygard fast net>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: drawing a png, honoring transparency
- Date: Wed, 09 Feb 2005 15:38:47 +0100
Carl Nygard wrote:
Gdk::Pixbuf::render_to_drawable_alpha(...) has a parameter that lets you
set the threshold for the alpha. Basically your only option is on/off,
no alpha blending-ish rendering is supported ATM.
Basically render_to_drawable_alpha uses the threshold and the alpha
channel to create the GC clipping mask, then renders using that, I
believe.
this call just doesn't seem to work. also, the documentation says that
the alpha related values are simply ignored:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGdk_1_1Pixbuf.html#a29
alpha_mode Ignored. Present for backwards compatibility.
alpha_threshold Ignored. Present for backwards compatibility.
and that the function itself is deprecated:
Deprecated: This function is obsolete. Use gdk_draw_pixbuf() instead.
:((
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]