This commit is contained in:
legoff.laurent 2011-03-22 20:58:56 +01:00
parent 1cd2006233
commit fe47a2e9d7
3 changed files with 3 additions and 3 deletions

View file

@ -46,7 +46,7 @@ func main() {
lastTime := time.Nanoseconds()
src, err := os.Open("../resource/postscript/Mand.ps", 0, 0)
if err != nil {
return
return
}
defer src.Close()
bytes, err := ioutil.ReadAll(src)

View file

@ -44,4 +44,4 @@ type GraphicContext interface {
Stroke(paths ...*PathStorage)
Fill(paths ...*PathStorage)
FillStroke(paths ...*PathStorage)
}
}

View file

@ -15,4 +15,4 @@ const (
type VertexConverter interface {
NextCommand(cmd VertexCommand)
Vertex(x, y float64)
}
}