CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_base.h>
Public Member Functions | |
constexpr | OutlinePoint () noexcept |
constexpr | OutlinePoint (const Point &aPoint) noexcept |
constexpr | OutlinePoint (const Point &aPoint, PointType aType) noexcept |
constexpr | OutlinePoint (int32_t aX, int32_t aY) noexcept |
constexpr | OutlinePoint (int32_t aX, int32_t aY, PointType aType) noexcept |
constexpr bool | operator== (const OutlinePoint &aPoint) const noexcept |
constexpr bool | operator!= (const OutlinePoint &aPoint) const noexcept |
Point | Point () const noexcept |
Public Member Functions inherited from CartoTypeCore::Point | |
constexpr | Point () noexcept |
constexpr | Point (int32_t aX, int32_t aY) noexcept |
Point (InputStream &aInput) | |
void | Write (OutputStream &aOutput) const |
constexpr bool | operator== (const Point &aPoint) const noexcept |
constexpr bool | operator!= (const Point &aPoint) const noexcept |
void | operator+= (const Point &aPoint) noexcept |
void | operator-= (const Point &aPoint) noexcept |
constexpr bool | operator< (const Point &aPoint) const noexcept |
constexpr bool | operator> (const Point &aPoint) const noexcept |
constexpr uint64_t | ComparisonValue () const noexcept |
Public Attributes | |
PointType | Type { PointType::OnCurve } |
Public Attributes inherited from CartoTypeCore::Point | |
int32_t | X { 0 } |
int32_t | Y { 0 } |
A point on a path. Paths are made from straight line segments and Bezier splines.
|
inlineconstexprnoexcept |
Create an on-curve outline point with the coordinates (0,0).
|
inlineconstexprnoexcept |
Create an on-curve outline point from a Point.
|
inlineconstexprnoexcept |
Create an outline point from a Point and a type.
|
inlineconstexprnoexcept |
Create an on-curve outline point, specifying coordinates.
|
inlineconstexprnoexcept |
Create an outline point, specifying coordinates and type.
|
inlineconstexprnoexcept |
The inequality operator.
|
inlineconstexprnoexcept |
The equality operator.
|
inlinenoexcept |
Create a Point by ignoring the point type.
PointType CartoTypeCore::OutlinePoint::Type { PointType::OnCurve } |
The type of an outline point: on-curve, or a quadratic or cubic control point.