FastUIDraw
Public Member Functions | Friends | List of all members
fastuidraw::TessellatedPath::Refiner Class Reference

#include <tessellated_path.hpp>

Inheritance diagram for fastuidraw::TessellatedPath::Refiner:
Inheritance graph
[legend]

Public Member Functions

void refine_tessellation (float max_distance, unsigned int additional_recursion)
 
reference_counted_ptr< TessellatedPathtessellated_path (void) const
 
- Public Member Functions inherited from fastuidraw::reference_counted_base< T, Counter >
 reference_counted_base (void)
 

Friends

class TessellatedPath
 

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

A Refiner is stateful object that creates new TessellatedPath objects from a starting TessellatedPath where the tessellation is made finer.

Definition at line 680 of file tessellated_path.hpp.

Member Function Documentation

◆ refine_tessellation()

void fastuidraw::TessellatedPath::Refiner::refine_tessellation ( float  max_distance,
unsigned int  additional_recursion 
)

Update the TessellatedPath returned by tessellated_path() by refining the current value returned by tessellated_path().

Parameters
max_distancenew maximum distance to aim for
additional_recursionamount by which to additionally recurse when tessellating.

◆ tessellated_path()

reference_counted_ptr<TessellatedPath> fastuidraw::TessellatedPath::Refiner::tessellated_path ( void  ) const

Returns the current TessellatedPath of this Refiner.


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