This commit is contained in:
2026-11-02 22:12:30 +03:00
parent e51ffde305
commit f5a51b92e7
9 changed files with 240 additions and 2 deletions
+19
View File
@@ -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 {
}