Searched refs:textData (Results 1 – 1 of 1) sorted by relevance
398 int SkPaint::textToGlyphs(const void* textData, size_t byteLength, in textToGlyphs() argument404 SkASSERT(textData != NULL); in textToGlyphs()409 return SkUTF8_CountUnichars((const char*)textData, byteLength); in textToGlyphs()411 return SkUTF16_CountUnichars((const uint16_t*)textData, SkToInt(byteLength >> 1)); in textToGlyphs()427 memcpy(glyphs, textData, byteLength >> 1 << 1); in textToGlyphs()434 const char* text = (const char*)textData; in textToGlyphs()466 bool SkPaint::containsText(const void* textData, size_t byteLength) const { in containsText() argument471 SkASSERT(textData != NULL); in containsText()475 const uint16_t* glyphID = static_cast<const uint16_t*>(textData); in containsText()490 const char* text = static_cast<const char*>(textData); in containsText()[all …]