Skia
2D Graphics Library
SkSVGDOM::Builder Class Referencefinal

#include <SkSVGDOM.h>

Public Member Functions

BuildersetFontManager (sk_sp< SkFontMgr >)
 Specify a font manager for loading fonts (e.g. More...
 
BuildersetResourceProvider (sk_sp< skresources::ResourceProvider >)
 Specify a resource provider for loading images etc. More...
 
sk_sp< SkSVGDOMmake (SkStream &) const
 

Member Function Documentation

◆ make()

sk_sp<SkSVGDOM> SkSVGDOM::Builder::make ( SkStream ) const

◆ setFontManager()

Builder& SkSVGDOM::Builder::setFontManager ( sk_sp< SkFontMgr )

Specify a font manager for loading fonts (e.g.

from the system) to render <text> SVG nodes. If this is not set, but a font is required as part of rendering, the text will not be displayed.

◆ setResourceProvider()

Builder& SkSVGDOM::Builder::setResourceProvider ( sk_sp< skresources::ResourceProvider >  )

Specify a resource provider for loading images etc.


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