prepare for disco debugging

This commit is contained in:
Amy G. Bowersox 2019-12-10 13:10:43 -07:00
parent eef55f71b3
commit f41356cca4
1 changed files with 3 additions and 0 deletions

View File

@ -1,9 +1,12 @@
# Test of line clipping
import upiwin
print('**GOT HERE 1')
hdc = upiwin.DevCtxt(type='screen')
print('**GOT HERE 2')
hdc.text_color = 0xFFFFFF # white
hdc.rectangle(100, 100, 199, 199)
print('**GOT HERE 3')
clip = hdc.get_clip_rect()
hdc.set_clip_rect(100, 100, 200, 200)