From 04475f35f8c616be6d3dfc4e932e52c608381775 Mon Sep 17 00:00:00 2001 From: Will Charczuk Date: Mon, 11 Jul 2016 11:04:20 -0700 Subject: [PATCH] adding stroke to annotation measure. --- drawing_helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drawing_helpers.go b/drawing_helpers.go index f7e5dd5..a4e5702 100644 --- a/drawing_helpers.go +++ b/drawing_helpers.go @@ -105,7 +105,7 @@ func DrawAnnotation(r Renderer, canvasBox Box, xrange, yrange Range, s Style, lx //draw the shape... r.SetFillColor(s.GetFillColor(DefaultAnnotationFillColor)) r.SetStrokeColor(s.GetStrokeColor()) - r.SetStrokeWidth(strokeWidth) + r.SetStrokeWidth(s.GetStrokeWidth()) r.MoveTo(lx, ly) r.LineTo(ltx, lty)