Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/DCClipper.1.py
2012-04-10 03:16:37 +00:00

14 lines
351 B
Python

def MyFunction(dc):
clip = wx.DCClipper(dc, rect)
# ... drawing functions here are affected by clipping rect ...
def OtherFunction():
dc = wx.DC()
MyFunction(dc)
# ... drawing functions here are not affected by clipping rect ...