[wxPython-users] Animation question
Luca Politti
luca at unipex.it
Mon Apr 2 04:17:51 PDT 2007
Andrea Gavana ha scritto:
> On 4/2/07, Luca Politti wrote:
>> Andrea Gavana ha scritto:
>> > 1) Try FloatCanvas: wx.lib.floatcanvas
>> Do you think this could be work better?
>
> It will, FloatCanvas is extremely well optimized for those things.
>
>> > 2) Are you using wx.BufferedPaintDC() together with an empty
>> > wx.EVT_ERASE_BACKGROUND?
>> Yes, I'm using BufferedDC but not wx.EVT_ERASE_BACKGROUND.
>
> You should. It helps quite a lot with flickering.
>
>> > 3) If you post some code, I am sure some DC guru can help you.
>> >
>> I simply use a wx.Bitmap and a wxDC.SetUserScale for the zoom... 30 or
>> 40 code lines..
>
> This just *enforce* the fact that you should post your code. I believe
> Robin has written it 10000 times till now: "please make a small
> runnable sample that we can test".
>
>
> Andrea.
>
> "Imagination Is The Only Weapon In The War Against Reality."
> http://xoomer.virgilio.it/infinity77/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
Ok, thanks a lot Andrea
Luca
More information about the wxpython-users
mailing list