CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_base.h>
Public Member Functions | |
constexpr | TOutlinePoint () noexcept |
constexpr | TOutlinePoint (const TPoint &aPoint) noexcept |
constexpr | TOutlinePoint (const TPoint &aPoint, TPointType aType) noexcept |
constexpr | TOutlinePoint (int32_t aX, int32_t aY) noexcept |
constexpr | TOutlinePoint (int32_t aX, int32_t aY, TPointType aType) noexcept |
constexpr bool | operator== (const TOutlinePoint &aPoint) const noexcept |
constexpr bool | operator!= (const TOutlinePoint &aPoint) const noexcept |
TPoint | Point () const noexcept |
Public Member Functions inherited from CartoType::TPoint | |
constexpr | TPoint () noexcept |
constexpr | TPoint (int32_t aX, int32_t aY) noexcept |
constexpr bool | operator== (const TPoint &aPoint) const noexcept |
constexpr bool | operator!= (const TPoint &aPoint) const noexcept |
void | operator+= (const TPoint &aPoint) noexcept |
void | operator-= (const TPoint &aPoint) noexcept |
constexpr bool | operator< (const TPoint &aPoint) const noexcept |
constexpr bool | operator> (const TPoint &aPoint) const noexcept |
constexpr uint64_t | ComparisonValue () const noexcept |
Public Attributes | |
TPointType | iType { TPointType::OnCurve } |
Public Attributes inherited from CartoType::TPoint | |
int32_t | iX { 0 } |
int32_t | iY { 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 TPoint.
|
inlineconstexprnoexcept |
Create an outline point from a TPoint 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 TPoint by ignoring the point type.
TPointType CartoType::TOutlinePoint::iType { TPointType::OnCurve } |
The type of an outline point: on-curve, or a quadratic or cubic control point.