MCPcopy Create free account
hub / github.com/cogentcore/core / Clear

Method Clear

paint/raster/raster.go:57–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55
56 SetWinding(useNonZeroWinding bool)
57 Clear()
58
59 // SetClip sets an optional clipping rectangle to restrict rendering only to
60 // that region. If rect is zero (image.Rectangle{}), then clipping is disabled.

Callers 10

ClearPathMethod · 0.65
StrokePreserveMethod · 0.65
FillPreserveMethod · 0.65
ClearMethod · 0.65
BenchmarkDashFunction · 0.65
TestRoundRectFunction · 0.65
TestShapesFunction · 0.65
doShapesFunction · 0.65
TestGradientFunction · 0.65
TestMultiFunctionFunction · 0.65

Implementers 1

Scannerpaint/scan/scan.go

Calls

no outgoing calls

Tested by 6

BenchmarkDashFunction · 0.52
TestRoundRectFunction · 0.52
TestShapesFunction · 0.52
doShapesFunction · 0.52
TestGradientFunction · 0.52
TestMultiFunctionFunction · 0.52