Flutter Impeller
impeller::Arc::Iteration::Quadrant Struct Reference

#include <arc.h>

Public Member Functions

size_t GetPointCount () const
 

Public Attributes

impeller::Vector2 axis
 
size_t start_index = 0u
 
size_t end_index = 0u
 

Detailed Description

Definition at line 45 of file arc.h.

Member Function Documentation

◆ GetPointCount()

size_t impeller::Arc::Iteration::Quadrant::GetPointCount ( ) const
inline

Definition at line 50 of file arc.h.

50  {
51  FML_DCHECK(start_index < end_index);
52  return end_index - start_index;
53  }

References end_index, and start_index.

Referenced by impeller::Arc::Iteration::GetPointCount().

Member Data Documentation

◆ axis

impeller::Vector2 impeller::Arc::Iteration::Quadrant::axis

Definition at line 46 of file arc.h.

Referenced by impeller::StrokePathSegmentReceiver::RecordArc().

◆ end_index

size_t impeller::Arc::Iteration::Quadrant::end_index = 0u

◆ start_index

size_t impeller::Arc::Iteration::Quadrant::start_index = 0u

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