Skip to content

Commit

Permalink
draw2d rename
Browse files Browse the repository at this point in the history
  • Loading branch information
llgcode committed Apr 29, 2015
1 parent 86a20ce commit 4fb7016
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strings"
"testing"

"github.com/llgcode/draw2d"
"github.com/llgcode/draw2d/draw2dimg"
)

func saveToPngFile(filePath string, m image.Image) {
Expand Down Expand Up @@ -41,7 +41,7 @@ func init() {

func TestTiger(t *testing.T) {
i := image.NewRGBA(image.Rect(0, 0, 600, 800))
gc := draw2d.NewGraphicContext(i)
gc := draw2dimg.NewGraphicContext(i)
gc.Translate(0, 380)
gc.Scale(1, -1)
gc.Translate(0, -380)
Expand Down

0 comments on commit 4fb7016

Please sign in to comment.