[wxPython-users] LCD vs CRT Monitors Issues (!)
Alexei Vinidiktov
alexei.vinidiktov at gmail.com
Sat Nov 10 20:21:23 PST 2007
Andrea Gavana wrote:
> Hi All,
>
> On Nov 2, 2007 10:51 PM, Robin Dunn wrote:
>> Just doing DrawText when you need to draw it would probably be more
>> efficient than trying to play games with alpha and bitmaps. The
>> platform has already optimized the heck out of text drawing and aliasing
>> so you may as well use it.
>
> I've actually followed Robin's suggestion and removed that voodoo
> bitmap drawing, using DrawText when it's needed. I have placed the new
> implementation in the usual place:
>
> http://xoomer.alice.it/infinity77/main/freeware.html#flatmenu
>
The code appears to work, the issue with the font is gone, but the menu
is redrawn more slowly and there is a graphical glitch when a menu is
pulled down.
--
Alexei Vinidiktov
More information about the wxpython-users
mailing list