X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e664d85e6512d807ce2eb186ed9e0bbd60d6e8b..e81b607b4322af54190484aa7ee34112337a344e:/wxPython/demo/PseudoDC.py diff --git a/wxPython/demo/PseudoDC.py b/wxPython/demo/PseudoDC.py index 379ac42329..a871b25d01 100644 --- a/wxPython/demo/PseudoDC.py +++ b/wxPython/demo/PseudoDC.py @@ -263,6 +263,8 @@ def runTest(frame, nb, log): overview = """
+-SetId(id) + SetId(id)Every operation after this will be associated with id until SetId is called again. The PseudoDC also supports object level clipping. To enable this use:
-SetIdBounds(id,rect) + SetIdBounds(id,rect)for each object that should be clipped. Then use:
-DrawToDCClipped(dc, clippingRect) + DrawToDCClipped(dc, clippingRect)To draw the PseudoDC to a real dc. This is useful for large scrolled windows where many objects are offscreen. Objects can be moved around without re-drawing using:
-TranslateId(id, dx, dy) + TranslateId(id, dx, dy)To re-draw an object use:
-ClearId(id) -SetId(id) + ClearId(id) + SetId(id)and then re-draw the object.