aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DMSrcSink.h
diff options
context:
space:
mode:
Diffstat (limited to 'dm/DMSrcSink.h')
-rw-r--r--dm/DMSrcSink.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h
index d42c1868aa..257ca8befa 100644
--- a/dm/DMSrcSink.h
+++ b/dm/DMSrcSink.h
@@ -21,8 +21,6 @@
//#define TEST_VIA_SVG
-namespace skottie { class Animation; }
-
namespace DM {
// This is just convenience. It lets you use either return "foo" or return SkStringPrintf(...).
@@ -265,9 +263,11 @@ private:
// Generates a kTileCount x kTileCount filmstrip with evenly distributed frames.
static constexpr int kTileCount = 5;
- Name fName;
- SkISize fTileSize = SkISize::MakeEmpty();
- sk_sp<skottie::Animation> fAnimation;
+ // Fit kTileCount x kTileCount frames to a 1000x1000 film strip.
+ static constexpr SkScalar kTargetSize = 1000;
+ static constexpr SkScalar kTileSize = kTargetSize / kTileCount;
+
+ Path fPath;
};
#endif