Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/MemoryDC.1.py
2011-12-30 19:17:09 +00:00

9 lines
285 B
Python

# Create a memory DC
temp_dc = wx.MemoryDC()
temp_dc.SelectObject(test_bitmap)
# We can now draw into the memory DC...
# Copy from self DC to another DC.
old_dc.Blit(250, 50, BITMAP_WIDTH, BITMAP_HEIGHT, temp_dc, 0, 0)