Lines Matching refs:fPosition
82 canvas->translate(glyph.fPosition.x(), glyph.fPosition.y()); in drawGlyphs()
97 SkPoint fPosition; member
122 fPosition = {rand.nextF() * w, rand.nextF() * h}; in reset()
187 glyph->fPosition.fX += v->fDx * dt; in runAnimationTask()
188 if (glyph->fPosition.x() < 0) { in runAnimationTask()
189 glyph->fPosition.fX -= 2 * glyph->fPosition.x(); in runAnimationTask()
191 } else if (glyph->fPosition.x() > w) { in runAnimationTask()
192 glyph->fPosition.fX -= 2 * (glyph->fPosition.x() - w); in runAnimationTask()
196 glyph->fPosition.fY += v->fDy * dt; in runAnimationTask()
197 if (glyph->fPosition.y() < 0) { in runAnimationTask()
198 glyph->fPosition.fY -= 2 * glyph->fPosition.y(); in runAnimationTask()
200 } else if (glyph->fPosition.y() > h) { in runAnimationTask()
201 glyph->fPosition.fY -= 2 * (glyph->fPosition.y() - h); in runAnimationTask()
207 backMatrix->setTranslate(glyph->fPosition.x(), glyph->fPosition.y()); in runAnimationTask()