viewport_overlay_corner
ViewportOverlayPoint viewport_overlay_corner(Scalar image_width, Scalar control_width, Scalar margin) noexceptParameters
| Name | Type |
|---|---|
image_width | Scalar |
control_width | Scalar |
margin | Scalar |
Returns
ViewportOverlayPoint
The control's top-left corner, image-local. Never left of margin, so a control wider than its image starts inside the image rather than outside it.
Description
Returns where a control anchored to the image's top-right corner starts.
See also
engine/foundation/core/include/README.md

