fix Slideshow rounded-rectangle
svn: r16434
This commit is contained in:
parent
9dc53f261e
commit
2ab4f88188
|
@ -280,9 +280,9 @@
|
|||
w
|
||||
h))
|
||||
|
||||
(define (rounded-rectangle w h [corner-radius 0.25] #:angle [angle 0])
|
||||
(define (rounded-rectangle w h [corner-radius -0.25] #:angle [angle 0])
|
||||
(let ([dc-path (new dc-path%)])
|
||||
(send dc-path rounded-rectangle 0 0 w h (- corner-radius))
|
||||
(send dc-path rounded-rectangle 0 0 w h corner-radius)
|
||||
(send dc-path rotate angle)
|
||||
(let-values ([(x y w h) (send dc-path get-bounding-box)])
|
||||
(dc (λ (dc dx dy)
|
||||
|
|
Loading…
Reference in New Issue
Block a user