diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-02 10:05:53 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-02 10:05:53 -0400 |
| commit | 982004d05052ef6aadd22dd5c4e7dbca85ab324a (patch) | |
| tree | 517a0f5a5397e6fb886b5e4741aff4fa18ba10d8 /area.go | |
| parent | 09db0bffffded1a68c562b2d6451c2a2b29ac279 (diff) | |
go fmt. Precursor to bug report filing.
Diffstat (limited to 'area.go')
| -rw-r--r-- | area.go | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -62,9 +62,9 @@ type Area interface { } type areabase struct { - width int - height int - handler AreaHandler + width int + height int + handler AreaHandler } // AreaHandler represents the events that an Area should respond to. @@ -314,9 +314,9 @@ func NewArea(width int, height int, handler AreaHandler) Area { panic("handler passed to NewArea() must not be nil") } return newArea(&areabase{ - width: width, - height: height, - handler: handler, + width: width, + height: height, + handler: handler, }) } @@ -342,7 +342,7 @@ func toARGB(i *image.RGBA, memory uintptr, memstride int, toNRGBA bool) { p := pixelDataPos(i) q := 0 iPix := i.Pix - if toNRGBA { // for Windows image lists + if toNRGBA { // for Windows image lists j := image.NewNRGBA(i.Rect) draw.Draw(j, j.Rect, i, i.Rect.Min, draw.Src) iPix = j.Pix |
