Skia
2D Graphics Library
SkOpenTypeSVGDecoder Class Referenceabstract

#include <SkOpenTypeSVGDecoder.h>

Inheritance diagram for SkOpenTypeSVGDecoder:

Public Member Functions

virtual size_t approximateSize ()=0
 Each instance probably owns an SVG DOM. More...
 
virtual bool render (SkCanvas &, int upem, SkGlyphID glyphId, SkColor foregroundColor, SkSpan< SkColor > palette)=0
 
virtual ~SkOpenTypeSVGDecoder ()=default
 

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: