prepare for disco debugging
This commit is contained in:
parent
eef55f71b3
commit
f41356cca4
|
@ -1,9 +1,12 @@
|
||||||
# Test of line clipping
|
# Test of line clipping
|
||||||
import upiwin
|
import upiwin
|
||||||
|
|
||||||
|
print('**GOT HERE 1')
|
||||||
hdc = upiwin.DevCtxt(type='screen')
|
hdc = upiwin.DevCtxt(type='screen')
|
||||||
|
print('**GOT HERE 2')
|
||||||
hdc.text_color = 0xFFFFFF # white
|
hdc.text_color = 0xFFFFFF # white
|
||||||
hdc.rectangle(100, 100, 199, 199)
|
hdc.rectangle(100, 100, 199, 199)
|
||||||
|
print('**GOT HERE 3')
|
||||||
|
|
||||||
clip = hdc.get_clip_rect()
|
clip = hdc.get_clip_rect()
|
||||||
hdc.set_clip_rect(100, 100, 200, 200)
|
hdc.set_clip_rect(100, 100, 200, 200)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user