Re: Transparent image
- From: "Marko Anastasov" <marko marko anastasov name>
- To: Rok Jaklič <rokj rasca net>,gtkmm-list gnome org
- Subject: Re: Transparent image
- Date: Fri, 31 Aug 2007 10:13:02 +0100
> I have a simple program which loads image from file and display it into
> the window. Image has also some transparent sections. Is it possible to
> show image without window background (soo I can see desktop background).
<snip>
You can achieve that with loading the image in a cairo context
and drawing it (the context) onto a GDK drawing area.
See
http://cairographics.org/documentation/cairomm/reference/classCairo_1_1Context.html#f9267aed8eb866701178dcada6c7e51a
Marko
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]