fixing dashes.
This commit is contained in:
parent
16721a5844
commit
312ebdd3df
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,7 @@ func (rr *rasterRenderer) Close() {
|
||||||
func (rr *rasterRenderer) Stroke() {
|
func (rr *rasterRenderer) Stroke() {
|
||||||
rr.gc.SetStrokeColor(rr.s.StrokeColor)
|
rr.gc.SetStrokeColor(rr.s.StrokeColor)
|
||||||
rr.gc.SetLineWidth(rr.s.StrokeWidth)
|
rr.gc.SetLineWidth(rr.s.StrokeWidth)
|
||||||
|
rr.gc.SetLineDash(rr.s.StrokeDashArray, 0)
|
||||||
rr.gc.Stroke()
|
rr.gc.Stroke()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -94,6 +95,7 @@ func (rr *rasterRenderer) FillStroke() {
|
||||||
rr.gc.SetFillColor(rr.s.FillColor)
|
rr.gc.SetFillColor(rr.s.FillColor)
|
||||||
rr.gc.SetStrokeColor(rr.s.StrokeColor)
|
rr.gc.SetStrokeColor(rr.s.StrokeColor)
|
||||||
rr.gc.SetLineWidth(rr.s.StrokeWidth)
|
rr.gc.SetLineWidth(rr.s.StrokeWidth)
|
||||||
|
rr.gc.SetLineDash(rr.s.StrokeDashArray, 0)
|
||||||
rr.gc.FillStroke()
|
rr.gc.FillStroke()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue