Re: Alpha blending in Gtk
- From: Paul Pogonyshev <pogonyshev gmx net>
- To: gtk-app-devel-list gnome org
- Subject: Re: Alpha blending in Gtk
- Date: Sun, 9 May 2004 15:59:37 +0300
Dinesh Nadarajah wrote:
Hi All:
I guess this question comes up often but I could not find any such of
the mailing list. Does Gtk currently support Alpha blending? I am not
talking of shape masking for transparency but true alpha rendering.
What are the current developer's thniking on how best to achieve this
in Gtk? A rough outline of the process to follow.
You are looking for GdkPixbuf. With it you can do full-scale alpha blending.
Pixbuf's contents can be loaded from file or built at runtime. Unfortunately,
pixbufs are quite slow, but this seems to be a problem with X, not with
GTK/GDK.
Paul
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]