Searched defs:tangent (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 244 SkPathMeasure& measure, SkPoint* position, SkVector* tangent) { 251 bool ok = measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent); 256 // Move along the tangent and offset by the normal 257 destination[0].set(-tangent->fX * halfWidth - tangent->fY * vOffset, 258 -tangent->fY * halfWidth + tangent->fX * vOffset); 259 destination[1].set(tangent->fX * halfWidth - tangent->fY * vOffset, 260 tangent 243 drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset, SkPathMeasure& measure, SkPoint* position, SkVector* tangent) argument 319 SkVector tangent; local [all...] |
Completed in 8 milliseconds