Fix comments

This commit is contained in:
Hajime Hoshi 2014-12-27 23:29:56 +09:00
parent abc2621b4c
commit ccd8fcac3d

View File

@ -148,10 +148,10 @@ func (i *Image) Fill(clr color.Color) (err error) {
// After determining parts to draw, this applies the geometry matrix and the color matrix. // After determining parts to draw, this applies the geometry matrix and the color matrix.
// //
// Here are the default values: // Here are the default values:
// DstParts: (0, 0) - (source width, source height) // Parts: (0, 0) - (source width, source height) to (0, 0) - (source width, source height)
// SrcParts: (0, 0) - (source width, source height) (i.e. the whole source image) // (i.e. the whole source image)
// GeometryMatrix: Identity matrix // GeoM: Identity matrix
// ColorMatrix: Identity matrix (that changes no colors) // ColorM: Identity matrix (that changes no colors)
func (i *Image) DrawImage(image *Image, options *DrawImageOptions) (err error) { func (i *Image) DrawImage(image *Image, options *DrawImageOptions) (err error) {
return i.drawImage(image.inner, options) return i.drawImage(image.inner, options)
} }