Lines Matching refs:fPosition
86 SkPoint fPosition; member
101 canvas->translate(glyph.fPosition.x(), glyph.fPosition.y()); in draw()
135 fPosition = {rand.nextF() * w, rand.nextF() * h}; in reset()
198 glyph->fPosition.fX += v->fDx * dt; in runAnimationTask()
199 if (glyph->fPosition.x() < 0) { in runAnimationTask()
200 glyph->fPosition.fX -= 2 * glyph->fPosition.x(); in runAnimationTask()
202 } else if (glyph->fPosition.x() > w) { in runAnimationTask()
203 glyph->fPosition.fX -= 2 * (glyph->fPosition.x() - w); in runAnimationTask()
207 glyph->fPosition.fY += v->fDy * dt; in runAnimationTask()
208 if (glyph->fPosition.y() < 0) { in runAnimationTask()
209 glyph->fPosition.fY -= 2 * glyph->fPosition.y(); in runAnimationTask()
211 } else if (glyph->fPosition.y() > h) { in runAnimationTask()
212 glyph->fPosition.fY -= 2 * (glyph->fPosition.y() - h); in runAnimationTask()
218 backMatrix->setTranslate(glyph->fPosition.x(), glyph->fPosition.y()); in runAnimationTask()