From 075ec865cb685181a1913cd1de33d6c484850236 Mon Sep 17 00:00:00 2001 From: Alexander Weinhold Date: Thu, 6 Dec 2018 16:57:29 +0100 Subject: [PATCH] change import paths --- drawing/free_type_path.go | 2 +- drawing/painter.go | 4 ++-- drawing/raster_graphic_context.go | 6 +++--- drawing/text.go | 2 +- drawing/util.go | 2 +- vector_renderer.go | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drawing/free_type_path.go b/drawing/free_type_path.go index 2b33f56..013b53c 100644 --- a/drawing/free_type_path.go +++ b/drawing/free_type_path.go @@ -2,7 +2,7 @@ package drawing import ( "git.gutmet.org/golang-freetype.git/raster" - "golang.org/x/image/math/fixed" + "git.gutmet.org/golang-image.git/math/fixed" ) // FtLineBuilder is a builder for freetype raster glyphs. diff --git a/drawing/painter.go b/drawing/painter.go index dfad3f8..847a1eb 100644 --- a/drawing/painter.go +++ b/drawing/painter.go @@ -4,8 +4,8 @@ import ( "image" "image/color" - "golang.org/x/image/draw" - "golang.org/x/image/math/f64" + "git.gutmet.org/golang-image.git/draw" + "git.gutmet.org/golang-image.git/math/f64" "git.gutmet.org/golang-freetype.git/raster" ) diff --git a/drawing/raster_graphic_context.go b/drawing/raster_graphic_context.go index dad4d00..fb9a66b 100644 --- a/drawing/raster_graphic_context.go +++ b/drawing/raster_graphic_context.go @@ -8,9 +8,9 @@ import ( "git.gutmet.org/golang-freetype.git/raster" "git.gutmet.org/golang-freetype.git/truetype" - "golang.org/x/image/draw" - "golang.org/x/image/font" - "golang.org/x/image/math/fixed" + "git.gutmet.org/golang-image.git/draw" + "git.gutmet.org/golang-image.git/font" + "git.gutmet.org/golang-image.git/math/fixed" ) // NewRasterGraphicContext creates a new Graphic context from an image. diff --git a/drawing/text.go b/drawing/text.go index 7b3bd5e..958bf4f 100644 --- a/drawing/text.go +++ b/drawing/text.go @@ -2,7 +2,7 @@ package drawing import ( "git.gutmet.org/golang-freetype.git/truetype" - "golang.org/x/image/math/fixed" + "git.gutmet.org/golang-image.git/math/fixed" ) // DrawContour draws the given closed contour at the given sub-pixel offset. diff --git a/drawing/util.go b/drawing/util.go index f5d502d..1e6db8e 100644 --- a/drawing/util.go +++ b/drawing/util.go @@ -3,7 +3,7 @@ package drawing import ( "math" - "golang.org/x/image/math/fixed" + "git.gutmet.org/golang-image.git/math/fixed" "git.gutmet.org/golang-freetype.git/raster" "git.gutmet.org/golang-freetype.git/truetype" diff --git a/vector_renderer.go b/vector_renderer.go index adcf3fa..c03ae78 100644 --- a/vector_renderer.go +++ b/vector_renderer.go @@ -7,7 +7,7 @@ import ( "math" "strings" - "golang.org/x/image/font" + "git.gutmet.org/golang-image.git/font" "git.gutmet.org/golang-freetype.git/truetype" "git.gutmet.org/go-chart.git/drawing"