Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::CalloutPlacement Struct Reference

Resolved placement in the window coordinate space. More...

#include <callout_box.hpp>

Public Attributes

Rect body {}
 the content box
CalloutSide side = CalloutSide::below
 side chosen AFTER any auto-flip
float arrow_tip_x = 0.0f
 triangle tip (touches/points at the anchor)
float arrow_tip_y = 0.0f
float arrow_base_x = 0.0f
 center of the triangle base, on the body edge
float arrow_base_y = 0.0f

Detailed Description

Resolved placement in the window coordinate space.

Member Data Documentation

◆ arrow_base_x

float pulp::view::CalloutPlacement::arrow_base_x = 0.0f

center of the triangle base, on the body edge

◆ arrow_base_y

float pulp::view::CalloutPlacement::arrow_base_y = 0.0f

◆ arrow_tip_x

float pulp::view::CalloutPlacement::arrow_tip_x = 0.0f

triangle tip (touches/points at the anchor)

◆ arrow_tip_y

float pulp::view::CalloutPlacement::arrow_tip_y = 0.0f

◆ body

Rect pulp::view::CalloutPlacement::body {}

the content box

◆ side

CalloutSide pulp::view::CalloutPlacement::side = CalloutSide::below

side chosen AFTER any auto-flip


The documentation for this struct was generated from the following file: