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
BLTriangle Struct Reference
Geometry API
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
&) = default
constexpr
BLTriangle
(
double
x0,
double
y0,
double
x1,
double
y1,
double
x2,
double
y2)
BLTriangle
&
operator=
(
const
BLTriangle
& other) = default
bool
operator==
(
const
BLTriangle
& other)
const
bool
operator!=
(
const
BLTriangle
& other)
const
void
reset
()
void
reset
(
const
BLTriangle
& other)
void
reset
(
double
x0Value,
double
y0Value,
double
x1Value,
double
y1Value,
double
x2Value,
double
y2Value)
bool
equals
(
const
BLTriangle
& other)
const