somewhat fixed up -d mode
svn: r1044
This commit is contained in:
parent
83c917698d
commit
0484ff7f56
|
@ -761,13 +761,29 @@
|
|||
(send dc set-brush b)))])
|
||||
(send dc set-scale 1 1))]
|
||||
[else
|
||||
(paint-slide dc current-page 2/3 1/2 cw ch cw ch #f)
|
||||
(send dc set-origin (* cw 2/3) 0)
|
||||
(paint-slide dc current-page 2/3 1 cw ch cw ch #f)
|
||||
(let ([pen (send dc get-pen)]
|
||||
[brush (send dc get-brush)])
|
||||
(send dc set-pen "black" 1 'solid)
|
||||
(send dc set-brush "black" 'solid)
|
||||
(send dc draw-rectangle
|
||||
(* cw 2/3)
|
||||
0
|
||||
(* cw 1/3)
|
||||
(* ch 1/6))
|
||||
(send dc draw-rectangle
|
||||
(* cw 2/3)
|
||||
(* ch 5/6)
|
||||
(* cw 1/3)
|
||||
(* ch 1/6))
|
||||
(send dc set-pen pen)
|
||||
(send dc set-brush brush))
|
||||
(send dc set-origin (* cw 2/3) (* ch 1/6))
|
||||
(when (< (add1 current-page) slide-count)
|
||||
(send dc draw-rectangle (* cw 2/3) 0 (* cw 1/3) ch)
|
||||
(paint-slide dc
|
||||
(+ current-page 1)
|
||||
1/3 1/6
|
||||
1/3 1/2
|
||||
cw ch cw ch
|
||||
#f))])
|
||||
(send dc set-origin 0 0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user