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 | OutlinePointFP () noexcept |
constexpr | OutlinePointFP (const Point &aPoint) noexcept |
constexpr | OutlinePointFP (const Point &aPoint, PointType aType) noexcept |
constexpr | OutlinePointFP (const PointFP &aPoint) noexcept |
constexpr | OutlinePointFP (const PointFP &aPoint, PointType aType) noexcept |
constexpr | OutlinePointFP (double aX, double aY) noexcept |
constexpr | OutlinePointFP (double aX, double aY, PointType aType) noexcept |
constexpr bool | operator== (const OutlinePointFP &aPoint) const noexcept |
constexpr bool | operator!= (const OutlinePointFP &aPoint) const noexcept |
Public Member Functions inherited from CartoTypeCore::Point2< double > | |
constexpr | Point2 () noexcept |
constexpr | Point2 (double aX, double aY) noexcept |
constexpr | Point2 (const Point &aPoint) noexcept |
bool | operator== (const Point2< double > &aPoint) const noexcept |
bool | operator!= (const Point2< double > &aPoint) const noexcept |
void | operator+= (const Point2< double > &aPoint) noexcept |
void | operator-= (const Point2< double > &aPoint) noexcept |
void | operator*= (double aFactor) noexcept |
bool | operator< (const Point2< double > &aPoint) const noexcept |
bool | operator> (const Point2< double > &aPoint) const noexcept |
double | VectorLength () const noexcept |
double | DistanceFrom (const Point2< double > &aOther) const noexcept |
double | CrossProduct (const Point2< double > &aOther) const noexcept |
Point2 | UnitVector () const noexcept |
Point2 | LeftUnitVector () const noexcept |
Point2 | RightUnitVector () const noexcept |
bool | LeftOfVector (const Point2< double > &aPoint) const noexcept |
bool | RightOfVector (const Point2< double > &aPoint) const noexcept |
Point | Rounded () const noexcept |
Point | Rounded64ths () const noexcept |
void | Rotate (double aAngle) |
Public Attributes | |
PointType | Type { PointType::OnCurve } |
Public Attributes inherited from CartoTypeCore::Point2< double > | |
double | X |
double | Y |
A point on a path, using floating-point coordinates. 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 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.
PointType CartoTypeCore::OutlinePointFP::Type { PointType::OnCurve } |
The type of an outline point: on-curve, or a quadratic or cubic control point.