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
BLBoxI Struct Reference
Geometry API
Box specified as [x0, y0, x1, y1] using
int
as a storage type.
Public Members
int
x0
int
y0
int
x1
int
y1
Member Functions
constexpr
BLBoxI
(
const
BLBoxI
&) = default
constexpr
BLBoxI
(
int
x0,
int
y0,
int
x1,
int
y1)
BLBoxI
&
operator=
(
const
BLBoxI
& other) = default
bool
operator==
(
const
BLBoxI
& other)
const
bool
operator!=
(
const
BLBoxI
& other)
const
void
reset
()
void
reset
(
const
BLBoxI
& other)
void
reset
(
int
x0Value,
int
y0Value,
int
x1Value,
int
y1Value)
bool
equals
(
const
BLBoxI
& other)
const
bool
contains
(
int
x,
int
y)
const
bool
contains
(
const
BLPointI
& pt)
const