Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
fontations_ffi::PathWrapper Class Referenceabstract

#include <skpath_bridge.h>

Inheritance diagram for fontations_ffi::PathWrapper:
sk_fontations::PathGeometrySink

Public Member Functions

virtual ~PathWrapper ()=default
 
virtual void move_to (float x, float y)=0
 
virtual void line_to (float x, float y)=0
 
virtual void quad_to (float cx0, float cy0, float x, float y)=0
 
virtual void curve_to (float cx0, float cy0, float cx1, float cy1, float x, float y)=0
 
virtual void close ()=0
 

Detailed Description

C++ pure virtual interface type, exposed to Rust side to be able to write from Skrifa path output functions to an SkPath type to capture and convert a glyph path.

Definition at line 14 of file skpath_bridge.h.

Constructor & Destructor Documentation

◆ ~PathWrapper()

virtual fontations_ffi::PathWrapper::~PathWrapper ( )
virtualdefault

Member Function Documentation

◆ close()

virtual void fontations_ffi::PathWrapper::close ( )
pure virtual

◆ curve_to()

virtual void fontations_ffi::PathWrapper::curve_to ( float  cx0,
float  cy0,
float  cx1,
float  cy1,
float  x,
float  y 
)
pure virtual

◆ line_to()

virtual void fontations_ffi::PathWrapper::line_to ( float  x,
float  y 
)
pure virtual

◆ move_to()

virtual void fontations_ffi::PathWrapper::move_to ( float  x,
float  y 
)
pure virtual

◆ quad_to()

virtual void fontations_ffi::PathWrapper::quad_to ( float  cx0,
float  cy0,
float  x,
float  y 
)
pure virtual

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