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

Method Translate

vg/tee.go:66–70  ·  view source on GitHub ↗

Translate applies a translational transform to the context.

(pt Point)

Source from the content-addressed store, hash-verified

64
65// Translate applies a translational transform to the context.
66func (tee teeCanvas) Translate(pt Point) {
67 for _, c := range tee.cs {
68 c.Translate(pt)
69 }
70}
71
72// Scale applies a scaling transform to the context.
73func (tee teeCanvas) Scale(x, y float64) {

Callers

nothing calls this directly

Calls 1

TranslateMethod · 0.65

Tested by

no test coverage detected