img2gif
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
//go:build pull
|
||||
package rotate
|
||||
|
||||
import (
|
||||
"image"
|
||||
"image/color"
|
||||
)
|
||||
|
||||
type Rotate struct {
|
||||
image.Image
|
||||
Angle float64 // math.Pi * n
|
||||
}
|
||||
|
||||
func (rot Rotate) Bounds() image.Rectangle { return rot.Image.Bounds() }
|
||||
func (rot Rotate) ColorModel() color.Model { return rot.Image.ColorModel() }
|
||||
|
||||
func (rot Rotate) At(x, y int) color.Color {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user