resolve Draw call bug

This commit is contained in:
legoff.laurent 2011-07-04 23:13:02 +02:00
parent 3b8141ee0f
commit 94ad4b370e

View file

@ -77,7 +77,7 @@ func (gc *ImageGraphicContext) Clear() {
func (gc *ImageGraphicContext) ClearRect(x1, y1, x2, y2 int) {
imageColor := image.NewColorImage(gc.Current.FillColor)
draw.Draw(gc.img, image.Rect(x1, y1, x2, y2), imageColor, image.ZP)
draw.Draw(gc.img, image.Rect(x1, y1, x2, y2), imageColor, image.ZP, draw.Over)
}
func (gc *ImageGraphicContext) DrawImage(img image.Image) {