CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
Public Member Functions | Public Attributes | List of all members
CartoType::TOutlinePoint Class Reference

#include <cartotype_base.h>

Inheritance diagram for CartoType::TOutlinePoint:
CartoType::TPoint

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 }
 

Detailed Description

A point on a path. Paths are made from straight line segments and Bezier splines.

Constructor & Destructor Documentation

◆ TOutlinePoint() [1/5]

constexpr CartoType::TOutlinePoint::TOutlinePoint ( )
inlineconstexprnoexcept

Create an on-curve outline point with the coordinates (0,0).

◆ TOutlinePoint() [2/5]

constexpr CartoType::TOutlinePoint::TOutlinePoint ( const TPoint aPoint)
inlineconstexprnoexcept

Create an on-curve outline point from a TPoint.

◆ TOutlinePoint() [3/5]

constexpr CartoType::TOutlinePoint::TOutlinePoint ( const TPoint aPoint,
TPointType  aType 
)
inlineconstexprnoexcept

Create an outline point from a TPoint and a type.

◆ TOutlinePoint() [4/5]

constexpr CartoType::TOutlinePoint::TOutlinePoint ( int32_t  aX,
int32_t  aY 
)
inlineconstexprnoexcept

Create an on-curve outline point, specifying coordinates.

◆ TOutlinePoint() [5/5]

constexpr CartoType::TOutlinePoint::TOutlinePoint ( int32_t  aX,
int32_t  aY,
TPointType  aType 
)
inlineconstexprnoexcept

Create an outline point, specifying coordinates and type.

Member Function Documentation

◆ operator!=()

constexpr bool CartoType::TOutlinePoint::operator!= ( const TOutlinePoint aPoint) const
inlineconstexprnoexcept

The inequality operator.

◆ operator==()

constexpr bool CartoType::TOutlinePoint::operator== ( const TOutlinePoint aPoint) const
inlineconstexprnoexcept

The equality operator.

◆ Point()

TPoint CartoType::TOutlinePoint::Point ( ) const
inlinenoexcept

Create a TPoint by ignoring the point type.

Member Data Documentation

◆ iType

TPointType CartoType::TOutlinePoint::iType { TPointType::OnCurve }

The type of an outline point: on-curve, or a quadratic or cubic control point.


The documentation for this class was generated from the following file: