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

Method ApplyScenePos

core/widget.go:82–82  ·  view source on GitHub ↗

ApplyScenePos computes scene-based absolute positions and final BBox bounding boxes for rendering, based on relative positions from Position step and parents accumulated position and scroll offset. This is the only step needed when scrolling (very fast).

()

Source from the content-addressed store, hash-verified

80 // Position step and parents accumulated position and scroll offset.
81 // This is the only step needed when scrolling (very fast).
82 ApplyScenePos()
83
84 // Render is the method that widgets should implement to define their
85 // custom rendering steps. It should not typically be called outside of

Callers 11

ApplyScenePosMethod · 0.65
ApplyScenePosMethod · 0.65
ApplyScenePosMethod · 0.65
ApplyScenePosMethod · 0.65
applyScenePosPartsMethod · 0.65
applyScenePosChildrenMethod · 0.65
applyScenePosChildrenMethod · 0.65
ApplyScenePosMethod · 0.65
ScrollChangedMethod · 0.65
ScrollUpdateFromGeomMethod · 0.65
ApplyScenePosMethod · 0.65

Implementers 6

WidgetBasecore/widget.go
_cogentcore_org_core_core_Layouteryaegicore/symbols/cogentcore_org-core-
_cogentcore_org_core_core_Treeryaegicore/symbols/cogentcore_org-core-
_cogentcore_org_core_core_Valueyaegicore/symbols/cogentcore_org-core-
_cogentcore_org_core_core_Widgetyaegicore/symbols/cogentcore_org-core-
_cogentcore_org_core_filetree_Fileryaegicore/symbols/cogentcore_org-core-

Calls

no outgoing calls

Tested by

no test coverage detected