Re: Merge two Pixbuf
- From: Joaquim Duran <joaquimduran adtelecom es>
- To: Tiberius Duluman <tiberius duluman gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Merge two Pixbuf
- Date: Wed, 23 Apr 2008 08:07:59 +0200
Hello,
You should use Pixbuf::composite.
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGdk_1_1Pixbuf.html#8425e18bd16f6059cc5f763a138a19cb
Joaquim Duran
En/na Tiberius Duluman ha escrit:
Hello,
I want to create a pixbuf that contains the overlapped images of Stock::Add
and a custom image.
I've tried to use Pixbuf::copy_area, but it does not work because it
doesn't care about transparency.
Also, I've tried to render one of the Pixbuf to Pixmap and Bitmap,
then to use Pixmap::draw_pixbuf with the second Pixbuf, but I have
no idea how to compose the correct mask.
Can somebody help me, please?
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]