pythonwin in memory device context

Ilariu Raducan lale at fotonation.com
Thu May 1 08:56:47 EDT 2003


Hi All,

Does anybody has an example how to use a memory device context?
Let me explain what I want to do:

Load an image with PIL.Image
create a ImageWin.Dib object
paste the image in dib
use dib.expose(dc,x,y) to have the image in a memory dc.

Then for each OnDraw

use StretchBlt to paint a part/all image on the client window

Thank You,

Lale





More information about the Python-list mailing list