MCPcopy
hub / github.com/tdewolff/canvas / End

Method End

path_scanner.go:78–80  ·  view source on GitHub ↗

End returns the current path segment end position.

()

Source from the content-addressed store, hash-verified

76
77// End returns the current path segment end position.
78func (s *PathScanner) End() Point {
79 return Point{s.p.d[s.i-2], s.p.d[s.i-1]}
80}
81
82// Path returns the current path segment.
83func (s *PathScanner) Path() *Path {

Callers 11

PathMethod · 0.95
TestIntersectionLineLineFunction · 0.45
TestIntersectionLineQuadFunction · 0.45
TestIntersectionLineCubeFunction · 0.45
BenchmarkScannerFunction · 0.45
writePathMethod · 0.45
renderPathMethod · 0.45
writePathMethod · 0.45

Calls

no outgoing calls

Tested by 7

TestIntersectionLineLineFunction · 0.36
TestIntersectionLineQuadFunction · 0.36
TestIntersectionLineCubeFunction · 0.36
BenchmarkScannerFunction · 0.36