Pixmaps and Masks?
- From: SEGV <mlepage cgocable net>
- To: gnome-list gnome org
- Subject: Pixmaps and Masks?
- Date: Thu, 19 Nov 1998 23:22:09 -0500
Suppose I have:
GdkPixmap* pLargeImage; // 256x256 image
GdkPixmap* pSmallImage; // 32x32 image
GdkBitmap* pSmallImageMask; // 32x32 image mask
I can copy the small pixmap to the centre of the large pixmap with this call:
gdk_draw_pixmap(pLargeImage, gc, pSmallImage,
0, 0, // src
112, 112, // dest
32, 32);
How can preserve the transparency in the small image? That is, in this case, how
do I use the mask?
--
SEGV http://www.cgocable.net/~mlepage/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]