Re: pixmaps and xpm-transparency



In message <3ADC775B nailK8Z11SQSR yggdrasil>you write:
>> From: Tobias Hintze <hintze_gtk siemens md st schule de>
>>
>> as i mentioned already i have two xpm-datas (pixmap1, pixmap2)
>> for now i draw pixmap2 onto pixmap1 and gPix is created from pixmap1.
>>
>
>You need to set the clip mask in the graphics context used for the
>draw using gdk_gc_set_clip_mask and gdk_gc_set_clip_origin.

ah yes, that should work nicely as well. silly me. i'm so into shaped
windows that i tend to forget that kind of approach.

--p




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]