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
| Type | Name | Description |
|---|---|---|
static constexpr float | kCursorOffsetX | Default 12.0f. |
static constexpr float | kCursorOffsetY | Default 18.0f. |
static constexpr float | kAnchorGap | Default 4.0f. |
static constexpr float | kAnchorMaxHeight | Default 64.0f. |
Public functions
| Returns | Name | Description |
|---|---|---|
FArcTooltipMeasure | Measure | |
ArcRect | Place | 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. |
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