10#if defined(SK_ENABLE_SVG)
25class SVGFileSlide :
public Slide {
30 ~SVGFileSlide()
override =
default;
34 if (!svgStream.isValid()) {
44 fDom->setContainerSize(
SkSize{
w,
h});
56 fDom->setContainerSize({
w,
h});
68 return new SVGFileSlide(filename);
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
SK_API SkString SkStringPrintf(const char *format,...) SK_PRINTF_LIKE(1
Creates a new string and writes into it using a printf()-style format.
static SkString Basename(const char *fullPath)
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()
DlVertices::Builder Builder
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