Flutter Engine
The Flutter Engine
|
#include <SkSVGDOM.h>
Public Member Functions | |
Builder & | setFontManager (sk_sp< SkFontMgr >) |
Builder & | setResourceProvider (sk_sp< skresources::ResourceProvider >) |
Builder & | setTextShapingFactory (sk_sp< SkShapers::Factory >) |
sk_sp< SkSVGDOM > | make (SkStream &) const |
Definition at line 28 of file SkSVGDOM.h.
Definition at line 414 of file SkSVGDOM.cpp.
SkSVGDOM::Builder & SkSVGDOM::Builder::setFontManager | ( | sk_sp< SkFontMgr > | fmgr | ) |
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.
Definition at line 399 of file SkSVGDOM.cpp.
SkSVGDOM::Builder & SkSVGDOM::Builder::setResourceProvider | ( | sk_sp< skresources::ResourceProvider > | rp | ) |
Specify a resource provider for loading images etc.
Definition at line 404 of file SkSVGDOM.cpp.
SkSVGDOM::Builder & SkSVGDOM::Builder::setTextShapingFactory | ( | sk_sp< SkShapers::Factory > | f | ) |
Specify the callbacks for dealing with shaping text. See also modules/skshaper/utils/FactoryHelpers.h
Definition at line 409 of file SkSVGDOM.cpp.