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
⭢
BLTriangle
BLTriangle Struct Reference
Triangle data specified as [x0, y0, x1, y1, x2, y2] using
double
as a storage type.
Public Members
double
x0
double
y0
double
x1
double
y1
double
x2
double
y2
Member Functions
constexpr
BLTriangle
(
const
BLTriangle
&)
noexcept
= default
constexpr
BLTriangle
(
double
x0,
double
y0,
double
x1,
double
y1,
double
x2,
double
y2)
noexcept
BLTriangle
&
operator=
(
const
BLTriangle
& other)
noexcept
= default
bool
operator==
(
const
BLTriangle
& other)
const
noexcept
bool
operator!=
(
const
BLTriangle
& other)
const
noexcept
void
reset
()
noexcept
void
reset
(
const
BLTriangle
& other)
noexcept
void
reset
(
double
x0Value,
double
y0Value,
double
x1Value,
double
y1Value,
double
x2Value,
double
y2Value)
noexcept
bool
equals
(
const
BLTriangle
& other)
const
noexcept