class

CArcTooltipGeometry

Size and placement of the tooltip card, the same numbers the painter and the popup-window host use.

Module
Arc
Header
#include "Arc/Framework/CArcPopupSystems.h"
Namespace
Arcf

Properties

TypeNameDescription
static constexpr floatkCursorOffsetXDefault 12.0f.
static constexpr floatkCursorOffsetYDefault 18.0f.
static constexpr floatkAnchorGapDefault 4.0f.
static constexpr floatkAnchorMaxHeightDefault 64.0f.

Public functions

ReturnsNameDescription
FArcTooltipMeasureMeasure
ArcRectPlaceWith a hovered-widget rect no taller than kAnchorMaxHeight the card goes just under that rect (flipping above it when the window has no room), at the pointer's x, so it never covers the row being read.

Function details

Measure

C++
static FArcTooltipMeasure Measure(const std::string& encodedText)

Place

C++
static ArcRect Place(const ArcVec2& pointer, const ArcVec2& cardSize, float windowWidth, float windowHeight, const ArcRect* hovered = nullptr)

With a hovered-widget rect no taller than kAnchorMaxHeight the card goes just under that rect (flipping above it when the window has no room), at the pointer's x, so it never covers the row being read. Without one, or for a tall widget, it sits below-right of the pointer and flips above it at the bottom. Either way it is clamped inside the window.

Generated from Arc/Framework/CArcPopupSystems.h via arc.json · Nov 5, 2026Version 1.0.0