#include <opennurbs_font.h>

Public Types

enum  ContourPointType : ON__UINT8 {
  ContourPointType::Unset = 0, ContourPointType::MoveTo = 1, ContourPointType::LineTo = 2, ContourPointType::QuadraticBezierPoint = 3,
  ContourPointType::CubicBezierPoint = 4, ContourPointType::LineToCloseContour = 5
}
 

Public Member Functions

 ON_FontGlyphOutlinePoint ()=default
 
 ON_FontGlyphOutlinePoint (const ON_FontGlyphOutlinePoint &)=default
 
 ~ON_FontGlyphOutlinePoint ()=default
 
ON_FontGlyphOutlinePointoperator= (const ON_FontGlyphOutlinePoint &)=default
 

Static Public Member Functions

static ON_FontGlyphOutlinePoint::ContourPointType ContourPointTypeFromUnsigned (unsigned contour_point_type_as_unsigned)
 

Public Attributes

ON__UINT8 m_bToPoint = 0
 
ON__UINT16 m_contour_index = 0
 
ON_2iPoint m_point = ON_2iPoint::Unset
 
ON_FontGlyphOutlinePoint::ContourPointType m_point_type = ContourPointType::Unset
 

Static Public Attributes

static const ON_FontGlyphOutlinePoint Unset
 

Member Enumeration Documentation

◆ ContourPointType

Enumerator
Unset 
MoveTo 
LineTo 
QuadraticBezierPoint 

quadratic bezier (degree=2, order=3) control point.

CubicBezierPoint 

cubic bezier (degree=3, order=4) control point.

LineToCloseContour 

Constructor & Destructor Documentation

◆ ON_FontGlyphOutlinePoint() [1/2]

ON_FontGlyphOutlinePoint::ON_FontGlyphOutlinePoint ( )
default

◆ ~ON_FontGlyphOutlinePoint()

ON_FontGlyphOutlinePoint::~ON_FontGlyphOutlinePoint ( )
default

◆ ON_FontGlyphOutlinePoint() [2/2]

ON_FontGlyphOutlinePoint::ON_FontGlyphOutlinePoint ( const ON_FontGlyphOutlinePoint )
default

Member Function Documentation

◆ ContourPointTypeFromUnsigned()

static ON_FontGlyphOutlinePoint::ContourPointType ON_FontGlyphOutlinePoint::ContourPointTypeFromUnsigned ( unsigned  contour_point_type_as_unsigned)
static

◆ operator=()

ON_FontGlyphOutlinePoint& ON_FontGlyphOutlinePoint::operator= ( const ON_FontGlyphOutlinePoint )
default

Member Data Documentation

◆ m_bToPoint

ON__UINT8 ON_FontGlyphOutlinePoint::m_bToPoint = 0

◆ m_contour_index

ON__UINT16 ON_FontGlyphOutlinePoint::m_contour_index = 0

◆ m_point

ON_2iPoint ON_FontGlyphOutlinePoint::m_point = ON_2iPoint::Unset

◆ m_point_type

ON_FontGlyphOutlinePoint::ContourPointType ON_FontGlyphOutlinePoint::m_point_type = ContourPointType::Unset

◆ Unset

const ON_FontGlyphOutlinePoint ON_FontGlyphOutlinePoint::Unset
static