• Home
  • Raw
  • Download

Lines Matching refs:sourceText

1215         const void* sourceText,  in make_clusterator()  argument
1221 SkASSERT(glyphCount == paint.textToGlyphs(sourceText, sourceByteCount, nullptr)); in make_clusterator()
1224 (void)paint.textToGlyphs(sourceText, sourceByteCount, storage->fGlyphStorage.get()); in make_clusterator()
1231 const char* txtPtr = (const char*)sourceText; in make_clusterator()
1233 clusters[i] = SkToU32(txtPtr - (const char*)sourceText); in make_clusterator()
1235 SkASSERT(txtPtr <= (const char*)sourceText + sourceByteCount); in make_clusterator()
1237 SkASSERT(txtPtr == (const char*)sourceText + sourceByteCount); in make_clusterator()
1239 utf8Text = (const char*)sourceText; in make_clusterator()
1243 const uint16_t* utf16ptr = (const uint16_t*)sourceText; in make_clusterator()
1250 while (utf16ptr < (const uint16_t*)sourceText + utf16count) { in make_clusterator()
1257 SkASSERT(utf16ptr == (const uint16_t*)sourceText + utf16count); in make_clusterator()
1261 const SkUnichar* utf32 = (const SkUnichar*)sourceText; in make_clusterator()
1297 static SkPath draw_text_as_path(const void* sourceText, size_t sourceByteCount, in draw_text_as_path() argument
1305 srcPaint.getTextPath(sourceText, sourceByteCount, offset.x(), offset.y(), &path); in draw_text_as_path()
1308 glyphCount = srcPaint.countText(sourceText, sourceByteCount); in draw_text_as_path()
1313 srcPaint.getPosTextPath(sourceText, sourceByteCount, tmpPoints.get(), &path); in draw_text_as_path()
1316 srcPaint.getPosTextPath(sourceText, sourceByteCount, (const SkPoint*)pos, &path); in draw_text_as_path()
1388 const void* sourceText, size_t sourceByteCount, in internalDrawText() argument
1392 if (0 == sourceByteCount || !sourceText) { in internalDrawText()
1409 SkPath path = draw_text_as_path(sourceText, sourceByteCount, pos, in internalDrawText()
1431 int glyphCount = paint.textToGlyphs(sourceText, sourceByteCount, nullptr); in internalDrawText()
1443 glyphs = (const SkGlyphID*)sourceText; in internalDrawText()
1448 SkASSERT(glyphCount == paint.textToGlyphs(sourceText, sourceByteCount, nullptr)); in internalDrawText()
1451 glyphs = (const SkGlyphID*)sourceText; in internalDrawText()
1453 SkASSERT(glyphCount == paint.textToGlyphs(sourceText, sourceByteCount, nullptr)); in internalDrawText()
1459 clusterator = make_clusterator(sourceText, sourceByteCount, srcPaint, in internalDrawText()