Lines Matching refs:fPosition
86 canvas->translate(glyph.fPosition.x(), glyph.fPosition.y()); in drawGlyphs()
101 SkPoint fPosition; member
126 fPosition = {rand.nextF() * w, rand.nextF() * h}; in reset()
191 glyph->fPosition.fX += v->fDx * dt; in runAnimationTask()
192 if (glyph->fPosition.x() < 0) { in runAnimationTask()
193 glyph->fPosition.fX -= 2 * glyph->fPosition.x(); in runAnimationTask()
195 } else if (glyph->fPosition.x() > w) { in runAnimationTask()
196 glyph->fPosition.fX -= 2 * (glyph->fPosition.x() - w); in runAnimationTask()
200 glyph->fPosition.fY += v->fDy * dt; in runAnimationTask()
201 if (glyph->fPosition.y() < 0) { in runAnimationTask()
202 glyph->fPosition.fY -= 2 * glyph->fPosition.y(); in runAnimationTask()
204 } else if (glyph->fPosition.y() > h) { in runAnimationTask()
205 glyph->fPosition.fY -= 2 * (glyph->fPosition.y() - h); in runAnimationTask()
211 backMatrix->setTranslate(glyph->fPosition.x(), glyph->fPosition.y()); in runAnimationTask()