Blend2D
2D Vector Graphics Engine
About
Roadmap
Performance
Docs
Blog
Research
Support
Download
{Fiddle}
Topics
Getting Started
Build Instructions
Multithreaded Rendering
API Reference
Index
Class List
Globals
Containers
Geometries
Imaging
Styling
Text
Rendering
Runtime
Filesystem
Miscellaneous
Impl API
Macros
C API
Object Model
Index
⭢
Geometries
⭢
BLRoundRect
BLRoundRect Struct Reference
[¶]
Rounded rectangle specified as [x, y, w, h, rx, ry] using
double
as a storage type.
Public Members
double
x
double
y
double
w
double
h
double
rx
double
ry
Member Functions
constexpr
BLRoundRect
(
const
BLRoundRect
&)
noexcept
= default
constexpr
BLRoundRect
(
const
BLRect
& rect,
double
r)
noexcept
constexpr
BLRoundRect
(
const
BLRect
& rect,
double
rx,
double
ry)
noexcept
constexpr
BLRoundRect
(
double
x,
double
y,
double
w,
double
h,
double
r)
noexcept
constexpr
BLRoundRect
(
double
x,
double
y,
double
w,
double
h,
double
rx,
double
ry)
noexcept
BLRoundRect
&
operator=
(
const
BLRoundRect
& other)
noexcept
= default
bool
operator==
(
const
BLRoundRect
& other)
const
noexcept
bool
operator!=
(
const
BLRoundRect
& other)
const
noexcept
void
reset
()
noexcept
void
reset
(
const
BLRoundRect
& other)
noexcept
void
reset
(
double
x_value,
double
y_value,
double
w_value,
double
h_value,
double
r_value)
noexcept
void
reset
(
double
x_value,
double
y_value,
double
w_value,
double
h_value,
double
rx_value,
double
ry_value)
noexcept
bool
equals
(
const
BLRoundRect
& other)
const
noexcept