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
|
||||
|
||||
import "github.com/stanim/gofpdf"
|
||||
import "github.com/jung-kurt/gofpdf"
|
||||
|
||||
// SaveToPdfFile creates and saves a pdf document to a file
|
||||
func SaveToPdfFile(filePath string, pdf *gofpdf.Fpdf) error {
|
||||
|
|
|
@ -17,8 +17,8 @@ import (
|
|||
|
||||
"code.google.com/p/freetype-go/freetype/truetype"
|
||||
|
||||
"github.com/stanim/draw2d"
|
||||
"github.com/stanim/gofpdf"
|
||||
"github.com/llgcode/draw2d"
|
||||
"github.com/jung-kurt/gofpdf"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"fmt"
|
||||
"image/color"
|
||||
|
||||
"github.com/stanim/draw2d"
|
||||
"github.com/stanim/gofpdf"
|
||||
"github.com/llgcode/draw2d"
|
||||
"github.com/jung-kurt/gofpdf"
|
||||
)
|
||||
|
||||
func ExampleGraphicContext() {
|
||||
|
|
|
@ -6,7 +6,7 @@ package pdf2d
|
|||
import (
|
||||
"math"
|
||||
|
||||
"github.com/stanim/draw2d"
|
||||
"github.com/llgcode/draw2d"
|
||||
)
|
||||
|
||||
const deg = 180 / math.Pi
|
||||
|
|
|
@ -5,15 +5,15 @@ package pdf2d_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stanim/draw2d"
|
||||
"github.com/stanim/draw2d.samples"
|
||||
"github.com/stanim/draw2d.samples/android"
|
||||
"github.com/stanim/draw2d.samples/frameimage"
|
||||
"github.com/stanim/draw2d.samples/gopher"
|
||||
"github.com/stanim/draw2d.samples/helloworld"
|
||||
"github.com/stanim/draw2d.samples/line"
|
||||
"github.com/stanim/draw2d.samples/linecapjoin"
|
||||
"github.com/stanim/draw2d.samples/postscript"
|
||||
"github.com/llgcode/draw2d"
|
||||
"github.com/llgcode/draw2d.samples"
|
||||
"github.com/llgcode/draw2d.samples/android"
|
||||
"github.com/llgcode/draw2d.samples/frameimage"
|
||||
"github.com/llgcode/draw2d.samples/gopher"
|
||||
"github.com/llgcode/draw2d.samples/helloworld"
|
||||
"github.com/llgcode/draw2d.samples/line"
|
||||
"github.com/llgcode/draw2d.samples/linecapjoin"
|
||||
"github.com/llgcode/draw2d.samples/postscript"
|
||||
)
|
||||
|
||||
func TestSampleAndroid(t *testing.T) {
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/stanim/draw2d"
|
||||
"github.com/stanim/draw2d/pdf2d"
|
||||
"github.com/llgcode/draw2d"
|
||||
"github.com/llgcode/draw2d/pdf2d"
|
||||
)
|
||||
|
||||
func test(t *testing.T, sample draw2d.Sample) {
|
||||
|
|
|
@ -5,15 +5,15 @@ package draw2d_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stanim/draw2d"
|
||||
"github.com/stanim/draw2d.samples"
|
||||
"github.com/stanim/draw2d.samples/android"
|
||||
"github.com/stanim/draw2d.samples/frameimage"
|
||||
"github.com/stanim/draw2d.samples/gopher"
|
||||
"github.com/stanim/draw2d.samples/helloworld"
|
||||
"github.com/stanim/draw2d.samples/line"
|
||||
"github.com/stanim/draw2d.samples/linecapjoin"
|
||||
"github.com/stanim/draw2d.samples/postscript"
|
||||
"github.com/llgcode/draw2d"
|
||||
"github.com/llgcode/draw2d.samples"
|
||||
"github.com/llgcode/draw2d.samples/android"
|
||||
"github.com/llgcode/draw2d.samples/frameimage"
|
||||
"github.com/llgcode/draw2d.samples/gopher"
|
||||
"github.com/llgcode/draw2d.samples/helloworld"
|
||||
"github.com/llgcode/draw2d.samples/line"
|
||||
"github.com/llgcode/draw2d.samples/linecapjoin"
|
||||
"github.com/llgcode/draw2d.samples/postscript"
|
||||
)
|
||||
|
||||
func TestSampleAndroid(t *testing.T) {
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"image"
|
||||
"testing"
|
||||
|
||||
"github.com/stanim/draw2d"
|
||||
"github.com/llgcode/draw2d"
|
||||
)
|
||||
|
||||
func test(t *testing.T, draw draw2d.Sample) {
|
||||
|
|
Loading…
Reference in a new issue