Re: [gtk-list] Re: Getting the mask out of a pixmap



> 
> Your GC must match the depth of the drawable. i.e. you have to create a
> special GC for drawing on the bitmap. You can't copy the pixmap to the
> bitmap or vice versa; you can only use the bitmap as a mask.

I'll try this.  Thank you for your advice.

> 
> At least, that's my guess. You might post the error message ("BadMatch"
> would be the error if your GC/drawables don't ahve matching depths).

Yes, that's the rror I got, along with some numbers.  Unfortunately, that was
on my machine at home, and I'm at work, or I'd have posted a more detailed
report.
tre




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