change import paths

This commit is contained in:
Alexander Weinhold 2018-12-06 16:58:32 +01:00
parent 14de416a43
commit 63932d6d79
9 changed files with 15 additions and 15 deletions

View File

@ -22,7 +22,7 @@ import (
"os"
"github.com/golang/freetype/raster"
"golang.org/x/image/math/fixed"
"git.gutmet.org/golang-image.git/math/fixed"
)
func main() {

View File

@ -25,8 +25,8 @@ import (
"os"
"github.com/golang/freetype/truetype"
"golang.org/x/image/font"
"golang.org/x/image/math/fixed"
"git.gutmet.org/golang-image.git/font"
"git.gutmet.org/golang-image.git/math/fixed"
)
var (

View File

@ -24,7 +24,7 @@ import (
"os"
"github.com/golang/freetype"
"golang.org/x/image/font"
"git.gutmet.org/golang-image.git/font"
)
var (

View File

@ -21,7 +21,7 @@ import (
"os"
"github.com/golang/freetype/raster"
"golang.org/x/image/math/fixed"
"git.gutmet.org/golang-image.git/math/fixed"
)
func p(x, y int) fixed.Point26_6 {

View File

@ -10,7 +10,7 @@
// install -tags=example" to install it.
// Program genbasicfont generates Go source code that imports
// golang.org/x/image/font/basicfont to provide a fixed width font face.
// git.gutmet.org/golang-image.git/font/basicfont to provide a fixed width font face.
package main
import (
@ -27,8 +27,8 @@ import (
"unicode"
"github.com/golang/freetype/truetype"
"golang.org/x/image/font"
"golang.org/x/image/math/fixed"
"git.gutmet.org/golang-image.git/font"
"git.gutmet.org/golang-image.git/math/fixed"
)
var (
@ -203,7 +203,7 @@ func main() {
buf := new(bytes.Buffer)
fmt.Fprintf(buf, "// generated by go generate; DO NOT EDIT.\n\npackage %s\n\n", *pkg)
fmt.Fprintf(buf, "import (\n\"image\"\n\n\"golang.org/x/image/font/basicfont\"\n)\n\n")
fmt.Fprintf(buf, "import (\n\"image\"\n\n\"git.gutmet.org/golang-image.git/font/basicfont\"\n)\n\n")
fmt.Fprintf(buf, "// %s contains %d %d×%d glyphs in %d Pix bytes.\n",
*vr, len(glyphs), width, height, len(glyphs)*width*height)
fmt.Fprintf(buf, `var %s = basicfont.Face{

View File

@ -22,7 +22,7 @@ import (
"os"
"github.com/golang/freetype/raster"
"golang.org/x/image/math/fixed"
"git.gutmet.org/golang-image.git/math/fixed"
)
type node struct {

View File

@ -28,7 +28,7 @@ import (
"os"
"github.com/golang/freetype/raster"
"golang.org/x/image/math/fixed"
"git.gutmet.org/golang-image.git/math/fixed"
)
// pDot returns the dot product p·q.

View File

@ -18,8 +18,8 @@ import (
"log"
"github.com/golang/freetype/truetype"
"golang.org/x/image/font"
"golang.org/x/image/math/fixed"
"git.gutmet.org/golang-image.git/font"
"git.gutmet.org/golang-image.git/math/fixed"
)
var fontfile = flag.String("fontfile", "../../testdata/luxisr.ttf", "filename of the ttf font")

View File

@ -15,8 +15,8 @@ import (
"git.gutmet.org/golang-freetype.git/raster"
"git.gutmet.org/golang-freetype.git/truetype"
"golang.org/x/image/font"
"golang.org/x/image/math/fixed"
"git.gutmet.org/golang-image.git/font"
"git.gutmet.org/golang-image.git/math/fixed"
)
// These constants determine the size of the glyph cache. The cache is keyed