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

Method Render

svg/node.go:465–475  ·  view source on GitHub ↗
(sv *SVG)

Source from the content-addressed store, hash-verified

463}
464
465func (g *NodeBase) Render(sv *SVG) {
466 vis, rs := g.PushTransform(sv)
467 if !vis {
468 return
469 }
470 // pc := &g.Paint
471 // render path elements, then compute bbox, then fill / stroke
472 g.BBoxes(sv)
473 g.RenderChildren(sv)
474 rs.PopTransform()
475}

Callers

nothing calls this directly

Calls 4

PushTransformMethod · 0.95
BBoxesMethod · 0.95
RenderChildrenMethod · 0.95
PopTransformMethod · 0.80

Tested by

no test coverage detected