disable PathLogger
This commit is contained in:
parent
5d1b0f3315
commit
d140c26465
1 changed files with 2 additions and 3 deletions
|
@ -159,9 +159,8 @@ var logger = log.New(os.Stdout, "", log.Lshortfile)
|
||||||
// draw fills and/or strokes paths
|
// draw fills and/or strokes paths
|
||||||
func (gc *GraphicContext) draw(style string, paths ...*draw2d.PathStorage) {
|
func (gc *GraphicContext) draw(style string, paths ...*draw2d.PathStorage) {
|
||||||
paths = append(paths, gc.Current.Path)
|
paths = append(paths, gc.Current.Path)
|
||||||
pathConverter := NewPathConverter(
|
pathConverter := NewPathConverter(NewVertexMatrixTransform(gc.Current.Tr, gc.pdf))
|
||||||
NewVertexMatrixTransform(gc.Current.Tr,
|
// pathConverter := NewPathConverter(NewVertexMatrixTransform(gc.Current.Tr,NewPathLogger(logger, gc.pdf)))
|
||||||
NewPathLogger(logger, gc.pdf)))
|
|
||||||
pathConverter.Convert(paths...)
|
pathConverter.Convert(paths...)
|
||||||
if gc.Current.FillRule.UseNonZeroWinding() {
|
if gc.Current.FillRule.UseNonZeroWinding() {
|
||||||
style += "*"
|
style += "*"
|
||||||
|
|
Loading…
Reference in a new issue