update implementation

This commit is contained in:
legoff.laurent 2010-12-13 23:04:53 +00:00
parent 07a22bace5
commit 07bd88f868
3 changed files with 1 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 250 KiB

After

Width:  |  Height:  |  Size: 264 KiB

View file

@ -37,7 +37,7 @@ func saveToPngFile(filePath string, m image.Image) {
} }
func main() { func main() {
i := image.NewRGBA(600, 600) i := image.NewRGBA(600, 800)
gc := draw2d.NewGraphicContext(i) gc := draw2d.NewGraphicContext(i)
gc.Translate(0, 380) gc.Translate(0, 380)
gc.Scale(1,-1) gc.Scale(1,-1)

View file

@ -264,9 +264,6 @@ func (interpreter *Interpreter) ClearOperands() {
func (interpreter *Interpreter) PopFloat() float { func (interpreter *Interpreter) PopFloat() float {
operand := interpreter.Pop() operand := interpreter.Pop()
if s, ok := operand.(string); ok {
log.Printf("String not float: %s", s)
}
return operand.(float) return operand.(float)
} }