Documentation
¶
Index ¶
- type Matrix
- func IdentityMatrix() Matrix
- func NewMatrix(a, b, c, d, tx, ty float64) Matrix
- func NewMatrixFromTransforms(xScale, yScale, theta, 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 (_bgc Matrix) Angle() float64
- func (_ag *Matrix) Clone() Matrix
- func (_dea *Matrix) Concat(b Matrix)
- func (_d Matrix) Identity() bool
- func (_dfb Matrix) Inverse() (Matrix, bool)
- func (_fb Matrix) Mult(b Matrix) Matrix
- func (_ee Matrix) Rotate(theta float64) Matrix
- func (_ec Matrix) Round(precision float64) Matrix
- func (_ba Matrix) Scale(xScale, yScale float64) Matrix
- func (_ade Matrix) ScalingFactorX() float64
- func (_cg Matrix) ScalingFactorY() float64
- func (_ad *Matrix) Set(a, b, c, d, tx, ty float64)
- func (_df *Matrix) Shear(x, y float64)
- func (_ge Matrix) Singular() bool
- func (_ef Matrix) String() string
- func (_db Matrix) Transform(x, y float64) (float64, float64)
- func (_g Matrix) Translate(tx, ty float64) Matrix
- func (_gb Matrix) Translation() (float64, float64)
- func (_fd Matrix) Unrealistic() bool
- type Point
- func (_ab Point) Displace(delta Point) Point
- func (_fbbd Point) Distance(b Point) float64
- func (_adg Point) Interpolate(b Point, t float64) Point
- func (_gbf Point) Rotate(theta float64) Point
- func (_egc *Point) Set(x, y float64)
- func (_gcb Point) String() string
- func (_cbd *Point) Transform(a, b, c, d, tx, ty float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matrix ¶
type Matrix [9]float64
func IdentityMatrix ¶
func IdentityMatrix() Matrix
func NewMatrixFromTransforms ¶
func RotationMatrix ¶
func ScaleMatrix ¶
func ShearMatrix ¶
func TranslationMatrix ¶
func (Matrix) ScalingFactorX ¶
func (Matrix) ScalingFactorY ¶
func (Matrix) Translation ¶
func (Matrix) Unrealistic ¶
Click to show internal directories.
Click to hide internal directories.