Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/wx.DCClipper.1.py
2016-05-18 16:38:18 -07: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 ...