Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SkOpenTypeSVGDecoder Class Referenceabstract

#include <SkOpenTypeSVGDecoder.h>

Inheritance diagram for SkOpenTypeSVGDecoder:
SkSVGOpenTypeSVGDecoder

Public Member Functions

virtual size_t approximateSize ()=0
 
virtual bool render (SkCanvas &, int upem, SkGlyphID glyphId, SkColor foregroundColor, SkSpan< SkColor > palette)=0
 
virtual ~SkOpenTypeSVGDecoder ()=default
 

Detailed Description

Definition at line 19 of file SkOpenTypeSVGDecoder.h.

Constructor & Destructor Documentation

◆ ~SkOpenTypeSVGDecoder()

virtual SkOpenTypeSVGDecoder::~SkOpenTypeSVGDecoder ( )
virtualdefault

Member Function Documentation

◆ approximateSize()

virtual size_t SkOpenTypeSVGDecoder::approximateSize ( )
pure virtual

Each instance probably owns an SVG DOM. The instance may be cached so needs to report how much memory it retains.

Implemented in SkSVGOpenTypeSVGDecoder.

◆ render()

virtual bool SkOpenTypeSVGDecoder::render ( SkCanvas ,
int  upem,
SkGlyphID  glyphId,
SkColor  foregroundColor,
SkSpan< SkColor palette 
)
pure virtual

Implemented in SkSVGOpenTypeSVGDecoder.


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