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

Rectangle in parent coordinates. More...

#include <lasso.hpp>

Public Member Functions

bool contains (float px, float py) const
bool intersects (float rx, float ry, float rw, float rh) const

Public Attributes

float x = 0
float y = 0
float width = 0
float height = 0

Detailed Description

Rectangle in parent coordinates.

Member Function Documentation

◆ contains()

bool pulp::view::SelectionRect::contains ( float px,
float py ) const
inline

◆ intersects()

bool pulp::view::SelectionRect::intersects ( float rx,
float ry,
float rw,
float rh ) const
inline

Member Data Documentation

◆ height

float pulp::view::SelectionRect::height = 0

◆ width

float pulp::view::SelectionRect::width = 0

◆ x

float pulp::view::SelectionRect::x = 0

◆ y

float pulp::view::SelectionRect::y = 0

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/view/include/pulp/view/lasso.hpp