Home | History | Annotate | Download | only in font

Lines Matching defs:tangent

230         SkPathMeasure& measure, SkPoint* position, SkVector* tangent) {
237 bool ok = measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent);
242 // Move along the tangent and offset by the normal
243 destination[0].set(-tangent->fX * halfWidth - tangent->fY * vOffset,
244 -tangent->fY * halfWidth + tangent->fX * vOffset);
245 destination[1].set(tangent->fX * halfWidth - tangent->fY * vOffset,
246 tangent->fY * halfWidth + tangent->fX * vOffset);
247 destination[2].set(destination[1].fX + tangent->fY * height,
248 destination[1].fY - tangent->fX * height);
249 destination[3].set(destination[0].fX + tangent->fY * height,
250 destination[0].fY - tangent->fX * height);
305 SkVector tangent;
332 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent);