adding stroke to annotation measure.

This commit is contained in:
Will Charczuk 2016-07-11 11:04:20 -07:00
parent 045202e3f2
commit 04475f35f8

View file

@ -105,7 +105,7 @@ func DrawAnnotation(r Renderer, canvasBox Box, xrange, yrange Range, s Style, lx
//draw the shape... //draw the shape...
r.SetFillColor(s.GetFillColor(DefaultAnnotationFillColor)) r.SetFillColor(s.GetFillColor(DefaultAnnotationFillColor))
r.SetStrokeColor(s.GetStrokeColor()) r.SetStrokeColor(s.GetStrokeColor())
r.SetStrokeWidth(strokeWidth) r.SetStrokeWidth(s.GetStrokeWidth())
r.MoveTo(lx, ly) r.MoveTo(lx, ly)
r.LineTo(ltx, lty) r.LineTo(ltx, lty)