From bf25f8ce0e788a240000c8d2715d40d5552a89fc Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Wed, 12 Aug 2015 14:30:01 +1000 Subject: [PATCH] Move files up one level. --- example/freetype/main.go | 2 +- example/gamma/main.go | 2 +- example/raster/main.go | 2 +- example/round/main.go | 2 +- example/truetype/main.go | 2 +- freetype/freetype.go => freetype.go | 4 ++-- freetype/freetype_test.go => freetype_test.go | 0 {freetype/raster => raster}/geom.go | 0 {freetype/raster => raster}/paint.go | 0 {freetype/raster => raster}/raster.go | 0 {freetype/raster => raster}/stroke.go | 0 {freetype/truetype => truetype}/glyph.go | 0 {freetype/truetype => truetype}/hint.go | 0 {freetype/truetype => truetype}/hint_test.go | 0 {freetype/truetype => truetype}/opcodes.go | 0 {freetype/truetype => truetype}/truetype.go | 0 {freetype/truetype => truetype}/truetype_test.go | 0 17 files changed, 7 insertions(+), 7 deletions(-) rename freetype/freetype.go => freetype.go (99%) rename freetype/freetype_test.go => freetype_test.go (100%) rename {freetype/raster => raster}/geom.go (100%) rename {freetype/raster => raster}/paint.go (100%) rename {freetype/raster => raster}/raster.go (100%) rename {freetype/raster => raster}/stroke.go (100%) rename {freetype/truetype => truetype}/glyph.go (100%) rename {freetype/truetype => truetype}/hint.go (100%) rename {freetype/truetype => truetype}/hint_test.go (100%) rename {freetype/truetype => truetype}/opcodes.go (100%) rename {freetype/truetype => truetype}/truetype.go (100%) rename {freetype/truetype => truetype}/truetype_test.go (100%) diff --git a/example/freetype/main.go b/example/freetype/main.go index 83b8c3e..81f0d4d 100644 --- a/example/freetype/main.go +++ b/example/freetype/main.go @@ -17,7 +17,7 @@ import ( "log" "os" - "code.google.com/p/freetype-go/freetype" + "github.com/golang/freetype" ) var ( diff --git a/example/gamma/main.go b/example/gamma/main.go index 4bf7e33..a3d0493 100644 --- a/example/gamma/main.go +++ b/example/gamma/main.go @@ -14,7 +14,7 @@ import ( "log" "os" - "code.google.com/p/freetype-go/freetype/raster" + "github.com/golang/freetype/raster" ) func p(x, y int) raster.Point { diff --git a/example/raster/main.go b/example/raster/main.go index 5e6c981..45f23c1 100644 --- a/example/raster/main.go +++ b/example/raster/main.go @@ -15,7 +15,7 @@ import ( "log" "os" - "code.google.com/p/freetype-go/freetype/raster" + "github.com/golang/freetype/raster" ) type node struct { diff --git a/example/round/main.go b/example/round/main.go index e2435f9..2333c45 100644 --- a/example/round/main.go +++ b/example/round/main.go @@ -21,7 +21,7 @@ import ( "math" "os" - "code.google.com/p/freetype-go/freetype/raster" + "github.com/golang/freetype/raster" ) func main() { diff --git a/example/truetype/main.go b/example/truetype/main.go index 747694b..04c26c1 100644 --- a/example/truetype/main.go +++ b/example/truetype/main.go @@ -11,7 +11,7 @@ import ( "io/ioutil" "log" - "code.google.com/p/freetype-go/freetype/truetype" + "github.com/golang/freetype/truetype" ) var fontfile = flag.String("fontfile", "../../testdata/luxisr.ttf", "filename of the ttf font") diff --git a/freetype/freetype.go b/freetype.go similarity index 99% rename from freetype/freetype.go rename to freetype.go index f53efd4..97a1dbb 100644 --- a/freetype/freetype.go +++ b/freetype.go @@ -13,8 +13,8 @@ import ( "image" "image/draw" - "code.google.com/p/freetype-go/freetype/raster" - "code.google.com/p/freetype-go/freetype/truetype" + "github.com/golang/freetype/raster" + "github.com/golang/freetype/truetype" ) // These constants determine the size of the glyph cache. The cache is keyed diff --git a/freetype/freetype_test.go b/freetype_test.go similarity index 100% rename from freetype/freetype_test.go rename to freetype_test.go diff --git a/freetype/raster/geom.go b/raster/geom.go similarity index 100% rename from freetype/raster/geom.go rename to raster/geom.go diff --git a/freetype/raster/paint.go b/raster/paint.go similarity index 100% rename from freetype/raster/paint.go rename to raster/paint.go diff --git a/freetype/raster/raster.go b/raster/raster.go similarity index 100% rename from freetype/raster/raster.go rename to raster/raster.go diff --git a/freetype/raster/stroke.go b/raster/stroke.go similarity index 100% rename from freetype/raster/stroke.go rename to raster/stroke.go diff --git a/freetype/truetype/glyph.go b/truetype/glyph.go similarity index 100% rename from freetype/truetype/glyph.go rename to truetype/glyph.go diff --git a/freetype/truetype/hint.go b/truetype/hint.go similarity index 100% rename from freetype/truetype/hint.go rename to truetype/hint.go diff --git a/freetype/truetype/hint_test.go b/truetype/hint_test.go similarity index 100% rename from freetype/truetype/hint_test.go rename to truetype/hint_test.go diff --git a/freetype/truetype/opcodes.go b/truetype/opcodes.go similarity index 100% rename from freetype/truetype/opcodes.go rename to truetype/opcodes.go diff --git a/freetype/truetype/truetype.go b/truetype/truetype.go similarity index 100% rename from freetype/truetype/truetype.go rename to truetype/truetype.go diff --git a/freetype/truetype/truetype_test.go b/truetype/truetype_test.go similarity index 100% rename from freetype/truetype/truetype_test.go rename to truetype/truetype_test.go -- GitLab