10#if defined(SK_ENABLE_SVG)
25class SVGFileSlide :
public Slide {
30 ~SVGFileSlide()
override =
default;
34 if (!svgStream.isValid()) {
56 fDom->setContainerSize({
w,
h});
68 return new SVGFileSlide(filename);
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
SK_API SkString static SkString SkStringPrintf()
static SkString Basename(const char *fullPath)
Builder & setTextShapingFactory(sk_sp< SkShapers::Factory >)
sk_sp< SkSVGDOM > make(SkStream &) const
Builder & setFontManager(sk_sp< SkFontMgr >)
void setContainerSize(const SkSize &)
const char * c_str() const
virtual void resize(SkScalar winWidth, SkScalar winHeight)
virtual void load(SkScalar winWidth, SkScalar winHeight)
virtual void draw(SkCanvas *canvas)=0
sk_sp< Factory > BestAvailable()
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path