MCPcopy Index your code
hub / github.com/gonum/plot / Rotate

Method Rotate

vg/tee.go:59–63  ·  view source on GitHub ↗

Rotate applies a rotation transform to the context. The parameter is specified in radians.

(rad float64)

Source from the content-addressed store, hash-verified

57// Rotate applies a rotation transform to the context.
58// The parameter is specified in radians.
59func (tee teeCanvas) Rotate(rad float64) {
60 for _, c := range tee.cs {
61 c.Rotate(rad)
62 }
63}
64
65// Translate applies a translational transform to the context.
66func (tee teeCanvas) Translate(pt Point) {

Callers

nothing calls this directly

Calls 1

RotateMethod · 0.65

Tested by

no test coverage detected