Add demo showing drawing of an image with an Alpha channel.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-03-10 06:52:36 +00:00
parent fe76311545
commit 8a88769e50
4 changed files with 69 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ class DragCanvas(wx.ScrolledWindow):
# Make a shape from an image and mask. This one will demo
# dragging outside the window
bmp = images.getTestStarBitmap()
##bmp = wx.Bitmap('bitmaps/toucan.png')
shape = DragShape(bmp)
shape.pos = (5, 5)
shape.fullscreen = True