Lines Matching defs:glyph

1366         const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0);
1368 x += autokern.adjust(glyph) + glyph.fAdvanceX;
1369 y += glyph.fAdvanceY;
1427 static void D1G_RectClip(const SkDraw1Glyph& state, SkFixed fx, SkFixed fy, const SkGlyph& glyph) {
1430 SkASSERT(glyph.fWidth > 0 && glyph.fHeight > 0);
1434 left += glyph.fLeft;
1435 top += glyph.fTop;
1437 int right = left + glyph.fWidth;
1438 int bottom = top + glyph.fHeight;
1454 uint8_t* aa = (uint8_t*)glyph.fImage;
1456 aa = (uint8_t*)state.fCache->findImage(glyph);
1458 return; // can't rasterize glyph
1462 mask.fRowBytes = glyph.rowBytes();
1463 mask.fFormat = static_cast<SkMask::Format>(glyph.fMaskFormat);
1468 static void D1G_RgnClip(const SkDraw1Glyph& state, SkFixed fx, SkFixed fy, const SkGlyph& glyph) {
1471 SkASSERT(glyph.fWidth > 0 && glyph.fHeight > 0);
1476 left += glyph.fLeft;
1477 top += glyph.fTop;
1479 mask.fBounds.set(left, top, left + glyph.fWidth, top + glyph.fHeight);
1484 const uint8_t* aa = (const uint8_t*)glyph.fImage;
1486 aa = (uint8_t*)state.fCache->findImage(glyph);
1492 mask.fRowBytes = glyph.rowBytes();
1493 mask.fFormat = static_cast<SkMask::Format>(glyph.fMaskFormat);
1642 const SkGlyph& glyph = glyphCacheProc(cache, &text, fx & fxMask, fy & fyMask);
1644 fx += autokern.adjust(glyph);
1646 if (glyph.fWidth) {
1647 proc(d1g, fx, fy, glyph);
1650 fx += glyph.fAdvanceX;
1651 fy += glyph.fAdvanceY;
1685 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0);
1686 if (glyph.fWidth) {
1687 const SkPath* path = cache->findPath(glyph);
1692 alignProc(tmsLoc, glyph, &loc);
1773 const SkGlyph& glyph = glyphCacheProc(cache, &text,
1776 if (glyph.fWidth) {
1777 proc(d1g, fx, fy, glyph);
1798 const SkGlyph& glyph = glyphCacheProc(cache, &currentText,
1801 SkASSERT(prevAdvX == glyph.fAdvanceX);
1802 SkASSERT(prevAdvY == glyph.fAdvanceY);
1803 SkASSERT(glyph.fWidth);
1805 proc(d1g, fx, fy, glyph);
1814 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0);
1816 if (glyph.fWidth) {
1823 glyph);
1830 const SkGlyph& glyph = glyphCacheProc(cache, &text, 0, 0);
1832 if (glyph.fWidth) {
1837 alignProc(tmsLoc, glyph, &fixedLoc);
1842 glyph);