Documentation ¶
Index ¶
- type Transform
- func (t *Transform) Apply(x float64, y float64) (float64, float64)
- func (a *Transform) MultiplyWith(b Transform)
- func (t *Transform) RotateOrigin(angle float64)
- func (t *Transform) RotatePoint(angle float64, x float64, y float64)
- func (t *Transform) Scale(x float64, y float64)
- func (t *Transform) SkewX(angle float64)
- func (t *Transform) SkewY(angle float64)
- func (t *Transform) Translate(x float64, y float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transform ¶
type Transform [3][3]float64
func MultiplyTransforms ¶
func NewTransform ¶
func NewTransform() *Transform
func (*Transform) MultiplyWith ¶
func (*Transform) RotateOrigin ¶
func (*Transform) RotatePoint ¶
Click to show internal directories.
Click to hide internal directories.