all: draw2d/draw2d -> draw2d
This commit is contained in:
parent
690ce767e2
commit
97614e8d6a
45 changed files with 17 additions and 19 deletions
Makefileadvanced_path.goarc.go
cmd
curve
curves.godasher.godemux_converter.godoc.godraw2dgl
font.gogc.goimage.goissue23
math.gopaint.gopath.gopath_adder.gopath_converter.gopath_storage.goraster
rgba_interpolation.gostack_gc.gostroker.gotransform.govertex2d.gowingui/wintestgdi
12
Makefile
12
Makefile
|
@ -4,13 +4,13 @@
|
|||
all: install test
|
||||
|
||||
install:
|
||||
cd draw2d && go install
|
||||
cd draw2dgl && go install
|
||||
go install
|
||||
go install ./draw2dgl
|
||||
# cd wingui && make install
|
||||
|
||||
build:
|
||||
cd draw2d && go build
|
||||
cd draw2dgl && go build
|
||||
go build
|
||||
go build ./draw2dgl
|
||||
# cd wingui && make build
|
||||
|
||||
test:
|
||||
|
@ -23,9 +23,7 @@ test:
|
|||
#cd cmd && go build testX11draw.go
|
||||
|
||||
clean:
|
||||
cd draw2d && go clean
|
||||
# cd draw2dgl && make clean
|
||||
cd cmd && go clean
|
||||
go clean ./...
|
||||
# cd wingui && make clean
|
||||
|
||||
command:
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
"log"
|
||||
"os"
|
||||
|
||||
"github.com/llgcode/draw2d/draw2d"
|
||||
"github.com/llgcode/draw2d"
|
||||
)
|
||||
|
||||
func saveToPngFile(filePath string, m image.Image) {
|
||||
|
|
|
@ -24,7 +24,7 @@ import (
|
|||
|
||||
"github.com/go-gl/gl/v2.1/gl"
|
||||
"github.com/go-gl/glfw/v3.1/glfw"
|
||||
"github.com/llgcode/draw2d/draw2d"
|
||||
"github.com/llgcode/draw2d"
|
||||
"github.com/llgcode/draw2d/draw2dgl"
|
||||
)
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"image"
|
||||
"math"
|
||||
|
||||
"github.com/llgcode/draw2d/draw2d"
|
||||
"github.com/llgcode/draw2d"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"math"
|
||||
"os"
|
||||
|
||||
"github.com/llgcode/draw2d/draw2d"
|
||||
"github.com/llgcode/draw2d"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
"math"
|
||||
"os"
|
||||
|
||||
"github.com/llgcode/draw2d/draw2d"
|
||||
"github.com/llgcode/draw2d"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"math"
|
||||
"os"
|
||||
|
||||
"github.com/llgcode/draw2d/draw2d"
|
||||
"github.com/llgcode/draw2d"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"math"
|
||||
"os"
|
||||
|
||||
"github.com/llgcode/draw2d/draw2d"
|
||||
"github.com/llgcode/draw2d"
|
||||
)
|
||||
|
||||
func saveToPngFile(filePath string, m image.Image) {
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/llgcode/draw2d/draw2d/raster"
|
||||
"github.com/llgcode/draw2d/raster"
|
||||
)
|
||||
|
||||
var (
|
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
"code.google.com/p/freetype-go/freetype/raster"
|
||||
"github.com/go-gl/gl/v2.1/gl"
|
||||
"github.com/llgcode/draw2d/draw2d"
|
||||
"github.com/llgcode/draw2d"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"math"
|
||||
"os"
|
||||
|
||||
"github.com/llgcode/draw2d/draw2d"
|
||||
"github.com/llgcode/draw2d"
|
||||
)
|
||||
|
||||
func saveToPngFile(filePath string, m image.Image) {
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"testing"
|
||||
|
||||
"code.google.com/p/freetype-go/freetype/raster"
|
||||
"github.com/llgcode/draw2d/draw2d/curve"
|
||||
"github.com/llgcode/draw2d/curve"
|
||||
)
|
||||
|
||||
var flattening_threshold float64 = 0.5
|
|
@ -15,7 +15,7 @@ import (
|
|||
"time"
|
||||
"unsafe"
|
||||
|
||||
"github.com/llgcode/draw2d/draw2d"
|
||||
"github.com/llgcode/draw2d"
|
||||
"github.com/llgcode/draw2d/wingui"
|
||||
"github.com/llgcode/ps"
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue