remove line before package comment

This commit is contained in:
legoff.laurent 2011-03-20 22:17:06 +01:00
parent 848ae55156
commit 79e1a77ace
12 changed files with 20 additions and 26 deletions

View file

@ -16,5 +16,6 @@ GOFILES=\
path_storage.go\ path_storage.go\
stroker.go\ stroker.go\
advanced_path.go\ advanced_path.go\
vertex2d.go\
include $(GOROOT)/src/Make.pkg include $(GOROOT)/src/Make.pkg

View file

@ -1,6 +1,5 @@
// Copyright 2010 The draw2d Authors. All rights reserved. // Copyright 2010 The draw2d Authors. All rights reserved.
// created: 21/11/2010 by Laurent Le Goff // created: 21/11/2010 by Laurent Le Goff
package draw2d package draw2d
import ( import (

View file

@ -1,6 +1,5 @@
// Copyright 2010 The draw2d Authors. All rights reserved. // Copyright 2010 The draw2d Authors. All rights reserved.
// created: 13/12/2010 by Laurent Le Goff // created: 13/12/2010 by Laurent Le Goff
package draw2d package draw2d
type DashVertexConverter struct { type DashVertexConverter struct {

View file

@ -1,6 +1,5 @@
// Copyright 2010 The draw2d Authors. All rights reserved. // Copyright 2010 The draw2d Authors. All rights reserved.
// created: 13/12/2010 by Laurent Le Goff // created: 13/12/2010 by Laurent Le Goff
package draw2d package draw2d
type DemuxConverter struct { type DemuxConverter struct {

View file

@ -1,6 +1,5 @@
// Copyright 2010 The draw2d Authors. All rights reserved. // Copyright 2010 The draw2d Authors. All rights reserved.
// created: 21/11/2010 by Laurent Le Goff // created: 21/11/2010 by Laurent Le Goff
package draw2d package draw2d
import ( import (

View file

@ -1,6 +1,5 @@
// Copyright 2010 The draw2d Authors. All rights reserved. // Copyright 2010 The draw2d Authors. All rights reserved.
// created: 13/12/2010 by Laurent Le Goff // created: 13/12/2010 by Laurent Le Goff
package draw2d package draw2d

View file

@ -1,6 +1,5 @@
// Copyright 2010 The draw2d Authors. All rights reserved. // Copyright 2010 The draw2d Authors. All rights reserved.
// created: 21/11/2010 by Laurent Le Goff // created: 21/11/2010 by Laurent Le Goff
package draw2d package draw2d
import ( import (

View file

@ -1,9 +1,9 @@
// Copyright 2010 The draw2d Authors. All rights reserved. // Copyright 2010 The draw2d Authors. All rights reserved.
// created: 21/11/2010 by Laurent Le Goff // created: 21/11/2010 by Laurent Le Goff
package draw2d package draw2d
type Path interface { type Path interface {
LastPoint() (x, y float64)
MoveTo(x, y float64) MoveTo(x, y float64)
RMoveTo(dx, dy float64) RMoveTo(dx, dy float64)
LineTo(x, y float64) LineTo(x, y float64)
@ -16,19 +16,3 @@ type Path interface {
RArcTo(dcx, dcy, rx, ry, startAngle, angle float64) RArcTo(dcx, dcy, rx, ry, startAngle, angle float64)
Close() Close()
} }
type VertexCommand byte
const (
VertexNoCommand VertexCommand = iota
VertexStartCommand
VertexJoinCommand
VertexCloseCommand
VertexStopCommand
)
type VertexConverter interface {
NextCommand(cmd VertexCommand)
Vertex(x, y float64)
}

View file

@ -1,6 +1,5 @@
// Copyright 2010 The draw2d Authors. All rights reserved. // Copyright 2010 The draw2d Authors. All rights reserved.
// created: 13/12/2010 by Laurent Le Goff // created: 13/12/2010 by Laurent Le Goff
package draw2d package draw2d

View file

@ -1,6 +1,5 @@
// Copyright 2010 The draw2d Authors. All rights reserved. // Copyright 2010 The draw2d Authors. All rights reserved.
// created: 13/12/2010 by Laurent Le Goff // created: 13/12/2010 by Laurent Le Goff
package draw2d package draw2d
type Cap int type Cap int

View file

@ -1,6 +1,5 @@
// Copyright 2010 The draw2d Authors. All rights reserved. // Copyright 2010 The draw2d Authors. All rights reserved.
// created: 21/11/2010 by Laurent Le Goff // created: 21/11/2010 by Laurent Le Goff
package draw2d package draw2d
import ( import (

18
draw2d/vertex2d.go Normal file
View file

@ -0,0 +1,18 @@
// Copyright 2010 The draw2d Authors. All rights reserved.
// created: 21/11/2010 by Laurent Le Goff
package draw2d
type VertexCommand byte
const (
VertexNoCommand VertexCommand = iota
VertexStartCommand
VertexJoinCommand
VertexCloseCommand
VertexStopCommand
)
type VertexConverter interface {
NextCommand(cmd VertexCommand)
Vertex(x, y float64)
}