hackathon-dev #1
|
@ -48,12 +48,12 @@ def rubberband_line(x, y, down, up):
|
|||
hdc.rop2 = upiwin.R2_XORPEN
|
||||
if not down:
|
||||
hdc.move_to(origin_x, origin_y)
|
||||
hdc_line_to(current_x, current_y)
|
||||
hdc.line_to(current_x, current_y)
|
||||
current_x = x
|
||||
current_y = y
|
||||
if not up:
|
||||
hdc.move_to(origin_x, origin_y)
|
||||
hdc_line_to(current_x, current_y)
|
||||
hdc.line_to(current_x, current_y)
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user