Qt3/Win Free: qtoolbar problem?
Chris January
chris at atomice.net
Sun Jan 23 17:47:01 CET 2005
> > Chris January wrote:
> >
> > > Have you tested this fix with monochrome bitmaps in general
> > to ensure
> > > they still work?
> > >
> > > Chris
> >
> > I've not tested it, but my changes are guarded by the
> > selfmask value which (I hope I'm correct) is not true in the
> > general case. But you are right someone should test it. Peter
>
> I've attached two PNGs (one from Qt/Win 3.3.3 Free and one
> from Qt/Win 2.3
> NC) and a small test program for QBitmap. As you can see
> rendering of masked bitmaps is currently broken in every case.
Replace the line:
p.drawPixmap (QPoint (324, 70), stgeorges);
with:
p.drawPixmap (QPoint (324, 70), stgeorges_mask);
for consistency.
Chris
More information about the kde-cygwin
mailing list