Add documentation
This commit is contained in:
parent
0c69e0e0b7
commit
a32116ce4a
|
@ -39,8 +39,9 @@ func replicateBorder(x, y int, rect image.Rectangle) (xx, yy int) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// converter allows to retrieve
|
// converter allows to retrieve a colorArray for points of an image.
|
||||||
// a colorArray for points of an image.
|
// the idea is to speed up computation by providing optimized implementations
|
||||||
|
// for different image types instead of relying on image.Image.At().
|
||||||
type converter interface {
|
type converter interface {
|
||||||
at(x, y int) colorArray
|
at(x, y int) colorArray
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user