FastUIDraw
Public Member Functions | List of all members
fastuidraw::PathContour::tessellation_state Class Referenceabstract

Provides an interface to resume from a previous tessellation of a interpolator_base derived object. More...

#include <path.hpp>

Inheritance diagram for fastuidraw::PathContour::tessellation_state:
Inheritance graph
[legend]

Public Member Functions

virtual unsigned int recursion_depth (void) const =0
 
virtual void resume_tessellation (const TessellatedPath::TessellationParams &tess_params, TessellatedPath::SegmentStorage *out_data, float *out_max_distance)=0
 
- Public Member Functions inherited from fastuidraw::reference_counted_base< T, Counter >
 reference_counted_base (void)
 

Additional Inherited Members

- Static Public Member Functions inherited from fastuidraw::reference_counted_base< T, Counter >
static void add_reference (const reference_counted_base< T, Counter > *p)
 
static void remove_reference (const reference_counted_base< T, Counter > *p)
 

Detailed Description

Provides an interface to resume from a previous tessellation of a interpolator_base derived object.

Definition at line 58 of file path.hpp.

Member Function Documentation

◆ recursion_depth()

virtual unsigned int fastuidraw::PathContour::tessellation_state::recursion_depth ( void  ) const
pure virtual

To be implemented by a derived class to return the depth of recursion at this objects stage of tessellation.

◆ resume_tessellation()

virtual void fastuidraw::PathContour::tessellation_state::resume_tessellation ( const TessellatedPath::TessellationParams tess_params,
TessellatedPath::SegmentStorage out_data,
float *  out_max_distance 
)
pure virtual

To be implemented by a derived class to resume tessellation and to (try to) achieve the required threshhold within the recursion limits of a TessellatedPath::TessellationParams value.

Parameters
tess_paramstessellation parameters
out_datalocation to which to write the tessellations
out_max_distancelocation to which to write an upperbound for the distance between the curve and the tesseallation approximation.

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