Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::render::DirtyTracker::Rect Struct Reference

#include <dirty_tracker.hpp>

Public Member Functions

bool intersects (const Rect &other) const
Rect merged (const Rect &other) const
 Merge two rects into their bounding box.
float area () const

Public Attributes

float x = 0
float y = 0
float w = 0
float h = 0

Member Function Documentation

◆ area()

float pulp::render::DirtyTracker::Rect::area ( ) const
inline

◆ intersects()

bool pulp::render::DirtyTracker::Rect::intersects ( const Rect & other) const
inline

◆ merged()

Rect pulp::render::DirtyTracker::Rect::merged ( const Rect & other) const
inline

Merge two rects into their bounding box.

Member Data Documentation

◆ h

float pulp::render::DirtyTracker::Rect::h = 0

◆ w

float pulp::render::DirtyTracker::Rect::w = 0

◆ x

float pulp::render::DirtyTracker::Rect::x = 0

◆ y

float pulp::render::DirtyTracker::Rect::y = 0

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