Re: [gtkmm] problem using stipple in Gdk::GC



On Wed, 2002-11-13 at 00:02, Eric Newman wrote:
> Tassos,
> 
> Thanks for the advice on using a Bitmap and using the
> render_threshold_alpha; it worked.
> 
> If GC::set_stipple can only accept a Bitmap, should the code in GC.cc be
> updated to only accept a Bitmap, instead of a more general Pixmap?
> 
> On Tue, 2002-11-12 at 07:58, Tassos Bassoukos wrote:
> > You will need a Bitmap, not a Pixmap. I would suggest creating a
> > Gdk::PixBuf and using the render_threshold_alpha menthod to fill the
> > Bitmap.

Tassos, did you discover this only through trial and error, or is this
documented somewhere? If we are certain of this then I guess someone
should submit an API bug.

-- 
Murray Cumming
murray usa net
www.murrayc.com




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