hackathon-dev #1
@ -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)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user