Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
aax_native_view.hpp File Reference
#include <cstdint>
#include <string>

Go to the source code of this file.

Classes

struct  pulp::format::aax::AaxNativeRect
 A native rectangle in the parent's own (logical point) coordinate space. More...
struct  pulp::format::aax::AaxNativeGeometry
 Everything the host-frame receipt needs in one read: the parent the host handed down, the child Pulp attached, and the window both sit in. More...

Namespaces

namespace  pulp
namespace  pulp::format
 What the product grants a device: the quota table indexed by capability tier and live thermal state.
namespace  pulp::format::aax

Functions

constexpr float pulp::format::aax::aax_child_top_left_y (float parent_height, float child_height, bool parent_flipped)
 The y origin that puts a child of child_height at the TOP of a parent of parent_height.
float pulp::format::aax::aax_display_scale (void *native_parent) noexcept
 Return the backing scale for the native AAX parent (NSView* on macOS).
AaxNativeGeometry pulp::format::aax::aax_native_geometry (void *native_parent, void *native_child) noexcept
 Read the parent/child/window frames.
void pulp::format::aax::aax_place_child_top_left (void *native_parent, void *native_child) noexcept
 Move the child to the parent's top-left corner, keeping the child's size.
void pulp::format::aax::aax_fill_parent (void *native_parent, void *native_child) noexcept
 Resize the child to the parent's bounds.
void pulp::format::aax::aax_set_child_tracks_parent (void *native_child, bool tracks) noexcept
 Whether the child follows the parent's size changes (its flexible autoresizing mask).
std::string pulp::format::aax::aax_describe_geometry (const AaxNativeGeometry &g)
 One-line rendering of a geometry read for the host receipt.