MCPcopy Create free account
hub / github.com/tdewolff/canvas / Transform

Method Transform

patterns.go:81–83  ·  view source on GitHub ↗

Transform sets the view. Automatically called by Canvas for coordinate system transformations.

(view Matrix)

Source from the content-addressed store, hash-verified

79
80// Transform sets the view. Automatically called by Canvas for coordinate system transformations.
81func (p *HatchPattern) Transform(view Matrix) Pattern {
82 return p
83}
84
85// SetColorSpace sets the color space. Automatically called by the rasterizer.
86func (p *HatchPattern) SetColorSpace(colorSpace ColorSpace) Pattern {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected