[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-cygwin
Subject:    RE: Qt3/Win Free: qtoolbar problem?
From:       "Chris January" <chris () atomice ! net>
Date:       2005-01-23 16:47:01
Message-ID: 032f01c5016b$2985a500$0207a8c0 () avocado
[Download RAW message or body]

> > 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

_______________________________________________
kde-cygwin mailing list
kde-cygwin@kde.org
https://mail.kde.org/mailman/listinfo/kde-cygwin
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic