tightened limit on radii; when too small, draw minimum instead of skipping
svn: r6161
This commit is contained in:
parent
e63ea001b1
commit
704faa0a4f
|
@ -96,13 +96,12 @@
|
|||
(match-lambda
|
||||
[(? undefined?) (void)]
|
||||
[($ ring center radius color)
|
||||
(when (> radius 2)
|
||||
((draw-ellipse pixmap)
|
||||
(make-posn (- (posn-x center) radius)
|
||||
(- (posn-y center) radius))
|
||||
(* 2 radius)
|
||||
(* 2 radius)
|
||||
color))]
|
||||
((draw-ellipse pixmap)
|
||||
(make-posn (- (posn-x center) radius)
|
||||
(- (posn-y center) radius))
|
||||
(max 2 (* 2 radius))
|
||||
(max 2 (* 2 radius))
|
||||
color)]
|
||||
[($ solid-ellipse ul w h color)
|
||||
((draw-solid-ellipse pixmap) ul w h color)]
|
||||
[($ graph-string pos text color) ((draw-string pixmap) pos text color)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user