Called on a background thread. Here we can only modify fBackPaths.
282 {
283 const float tsec = static_cast<float>(t);
285
286 for (
int i = 0;
i < kNumPaths; ++
i) {
289
294 };
295
296 SkPath* backpath = &fBackPaths[
i];
299
301 switch (verb) {
305 break;
306 }
309 backpath->
lineTo(endpt.
x(), endpt.
y());
310 break;
311 }
315 backpath->
quadTo(controlPt.
x(), controlPt.
y(), endpt.
x(), endpt.
y());
316 break;
317 }
320 break;
321 }
325 break;
326 }
327 }
328 }
329 }
#define SK_ABORT(message,...)
@ kClose
SkPath::RawIter returns 0 points.
@ kCubic
SkPath::RawIter returns 4 points.
@ kConic
SkPath::RawIter returns 3 points + 1 weight.
@ kQuad
SkPath::RawIter returns 3 points.
@ kMove
SkPath::RawIter returns 1 point.
@ kLine
SkPath::RawIter returns 2 points.
virtual void runAnimationTask(double t, double dt, int w, int h)
std::unique_ptr< SkMatrix[]> fBackMatrices
SkScalar getSkewY() const
SkScalar getTranslateY() const
SkScalar getSkewX() const
SkScalar getScaleX() const
SkScalar getScaleY() const
SkScalar getTranslateX() const
SkPath & moveTo(SkScalar x, SkScalar y)
void setFillType(SkPathFillType ft)
SkPath & lineTo(SkScalar x, SkScalar y)
SkPath & quadTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2)
unsigned useCenter Optional< SkMatrix > matrix
constexpr float y() const
constexpr float x() const