updated repository names
This commit is contained in:
parent
8ca9a0bbe3
commit
96e73eab52
8 changed files with 27 additions and 27 deletions
|
@ -1,6 +1,6 @@
|
||||||
package pdf2d
|
package pdf2d
|
||||||
|
|
||||||
import "github.com/stanim/gofpdf"
|
import "github.com/jung-kurt/gofpdf"
|
||||||
|
|
||||||
// SaveToPdfFile creates and saves a pdf document to a file
|
// SaveToPdfFile creates and saves a pdf document to a file
|
||||||
func SaveToPdfFile(filePath string, pdf *gofpdf.Fpdf) error {
|
func SaveToPdfFile(filePath string, pdf *gofpdf.Fpdf) error {
|
||||||
|
|
|
@ -17,8 +17,8 @@ import (
|
||||||
|
|
||||||
"code.google.com/p/freetype-go/freetype/truetype"
|
"code.google.com/p/freetype-go/freetype/truetype"
|
||||||
|
|
||||||
"github.com/stanim/draw2d"
|
"github.com/llgcode/draw2d"
|
||||||
"github.com/stanim/gofpdf"
|
"github.com/jung-kurt/gofpdf"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"image/color"
|
"image/color"
|
||||||
|
|
||||||
"github.com/stanim/draw2d"
|
"github.com/llgcode/draw2d"
|
||||||
"github.com/stanim/gofpdf"
|
"github.com/jung-kurt/gofpdf"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleGraphicContext() {
|
func ExampleGraphicContext() {
|
||||||
|
|
|
@ -6,7 +6,7 @@ package pdf2d
|
||||||
import (
|
import (
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"github.com/stanim/draw2d"
|
"github.com/llgcode/draw2d"
|
||||||
)
|
)
|
||||||
|
|
||||||
const deg = 180 / math.Pi
|
const deg = 180 / math.Pi
|
||||||
|
|
|
@ -5,15 +5,15 @@ package pdf2d_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/stanim/draw2d"
|
"github.com/llgcode/draw2d"
|
||||||
"github.com/stanim/draw2d.samples"
|
"github.com/llgcode/draw2d.samples"
|
||||||
"github.com/stanim/draw2d.samples/android"
|
"github.com/llgcode/draw2d.samples/android"
|
||||||
"github.com/stanim/draw2d.samples/frameimage"
|
"github.com/llgcode/draw2d.samples/frameimage"
|
||||||
"github.com/stanim/draw2d.samples/gopher"
|
"github.com/llgcode/draw2d.samples/gopher"
|
||||||
"github.com/stanim/draw2d.samples/helloworld"
|
"github.com/llgcode/draw2d.samples/helloworld"
|
||||||
"github.com/stanim/draw2d.samples/line"
|
"github.com/llgcode/draw2d.samples/line"
|
||||||
"github.com/stanim/draw2d.samples/linecapjoin"
|
"github.com/llgcode/draw2d.samples/linecapjoin"
|
||||||
"github.com/stanim/draw2d.samples/postscript"
|
"github.com/llgcode/draw2d.samples/postscript"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestSampleAndroid(t *testing.T) {
|
func TestSampleAndroid(t *testing.T) {
|
||||||
|
|
|
@ -7,8 +7,8 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/stanim/draw2d"
|
"github.com/llgcode/draw2d"
|
||||||
"github.com/stanim/draw2d/pdf2d"
|
"github.com/llgcode/draw2d/pdf2d"
|
||||||
)
|
)
|
||||||
|
|
||||||
func test(t *testing.T, sample draw2d.Sample) {
|
func test(t *testing.T, sample draw2d.Sample) {
|
||||||
|
|
|
@ -5,15 +5,15 @@ package draw2d_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/stanim/draw2d"
|
"github.com/llgcode/draw2d"
|
||||||
"github.com/stanim/draw2d.samples"
|
"github.com/llgcode/draw2d.samples"
|
||||||
"github.com/stanim/draw2d.samples/android"
|
"github.com/llgcode/draw2d.samples/android"
|
||||||
"github.com/stanim/draw2d.samples/frameimage"
|
"github.com/llgcode/draw2d.samples/frameimage"
|
||||||
"github.com/stanim/draw2d.samples/gopher"
|
"github.com/llgcode/draw2d.samples/gopher"
|
||||||
"github.com/stanim/draw2d.samples/helloworld"
|
"github.com/llgcode/draw2d.samples/helloworld"
|
||||||
"github.com/stanim/draw2d.samples/line"
|
"github.com/llgcode/draw2d.samples/line"
|
||||||
"github.com/stanim/draw2d.samples/linecapjoin"
|
"github.com/llgcode/draw2d.samples/linecapjoin"
|
||||||
"github.com/stanim/draw2d.samples/postscript"
|
"github.com/llgcode/draw2d.samples/postscript"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestSampleAndroid(t *testing.T) {
|
func TestSampleAndroid(t *testing.T) {
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"image"
|
"image"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/stanim/draw2d"
|
"github.com/llgcode/draw2d"
|
||||||
)
|
)
|
||||||
|
|
||||||
func test(t *testing.T, draw draw2d.Sample) {
|
func test(t *testing.T, draw draw2d.Sample) {
|
||||||
|
|
Loading…
Reference in a new issue