Blend2D
2D Vector Graphics Engine
About
Roadmap
Performance
Docs
Research
Support
Download
{Fiddle}
Topics
Getting Started
Build Instructions
Multithreaded Rendering
API Reference
Index
Class List
Global API
Geometry API
Imaging API
Styling API
Text API
Rendering Context
Runtime API
Filesystem API
Impl API
Macros
C API
Object Model
BLBox Struct Reference
Geometry API
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
&) = default
constexpr
BLBox
(
const
BLBoxI
& other)
constexpr
BLBox
(
double
x0,
double
y0,
double
x1,
double
y1)
BLBox
&
operator=
(
const
BLBox
& other) = default
bool
operator==
(
const
BLBox
& other)
const
bool
operator!=
(
const
BLBox
& other)
const
void
reset
()
void
reset
(
const
BLBox
& other)
void
reset
(
double
x0Value,
double
y0Value,
double
x1Value,
double
y1Value)
bool
equals
(
const
BLBox
& other)
const
bool
contains
(
double
x,
double
y)
const
bool
contains
(
const
BLPoint
& pt)
const