Blend2D
2D Vector Graphics Engine
About
Roadmap
Performance
Docs
Blog
Research
Support
Download
{Fiddle}
API Reference
Index
Class List
Globals
Containers
Geometries
Imaging
Styling
Text
Rendering
Runtime
Filesystem
Miscellaneous
Impl API
Macros
C API
Object Model
Topics
Getting Started
Build Instructions
Multithreaded Rendering
Index
⭢
Geometries
⭢
BLBox
BLBox Struct Reference
Box specified as [x0, y0, x1, y1] using
double
as a storage type.
Public Members
double
x0
double
y0
double
x1
double
y1
Member Functions
constexpr
BLBox
(
const
BLBox
&)
noexcept
= default
constexpr
BLBox
(
const
BLBoxI
& other)
noexcept
constexpr
BLBox
(
double
x0,
double
y0,
double
x1,
double
y1)
noexcept
BLBox
&
operator=
(
const
BLBox
& other)
noexcept
= default
bool
operator==
(
const
BLBox
& other)
const
noexcept
bool
operator!=
(
const
BLBox
& other)
const
noexcept
void
reset
()
noexcept
void
reset
(
const
BLBox
& other)
noexcept
void
reset
(
double
x0Value,
double
y0Value,
double
x1Value,
double
y1Value)
noexcept
bool
equals
(
const
BLBox
& other)
const
noexcept
bool
contains
(
double
x,
double
y)
const
noexcept
bool
contains
(
const
BLPoint
& pt)
const
noexcept