Versions in this module Expand all Collapse all v1 v1.2.0 Aug 8, 2023 v1.1.0 Aug 8, 2023 Changes in this version + type Matrix [9]float64 + func IdentityMatrix() Matrix + func NewMatrix(a, b, c, d, tx, ty float64) Matrix + func RotationMatrix(angle float64) Matrix + func ScaleMatrix(x, y float64) Matrix + func ShearMatrix(x, y float64) Matrix + func TranslationMatrix(tx, ty float64) Matrix + func (m *Matrix) Angle() float64 + func (m *Matrix) Clone() Matrix + func (m *Matrix) Concat(b Matrix) + func (m *Matrix) Rotate(angle float64) + func (m *Matrix) Scale(x, y float64) + func (m *Matrix) ScalingFactorX() float64 + func (m *Matrix) ScalingFactorY() float64 + func (m *Matrix) Set(a, b, c, d, tx, ty float64) + func (m *Matrix) Shear(x, y float64) + func (m *Matrix) Transform(x, y float64) (float64, float64) + func (m *Matrix) Translate(x, y float64) + func (m *Matrix) Translation() (float64, float64) + func (m *Matrix) Unrealistic() bool + func (m Matrix) Mult(b Matrix) Matrix + func (m Matrix) String() string + type Point struct + X float64 + Y float64 + func NewPoint(x, y float64) Point + func (a Point) Distance(b Point) float64 + func (a Point) Interpolate(b Point, t float64) Point + func (p *Point) Set(x, y float64) + func (p *Point) Transform(a, b, c, d, tx, ty float64) + func (p Point) Displace(delta Point) Point + func (p Point) Rotate(theta float64) Point + func (p Point) String() string