Searched refs:textData (Results 1 – 2 of 2) sorted by relevance
325 int SkPaint::textToGlyphs(const void* textData, size_t byteLength, in textToGlyphs() argument331 SkASSERT(textData != NULL); in textToGlyphs()336 return SkUTF8_CountUnichars((const char*)textData, byteLength); in textToGlyphs()338 return SkUTF16_CountUnichars((const uint16_t*)textData, in textToGlyphs()353 memcpy(glyphs, textData, byteLength >> 1 << 1); in textToGlyphs()360 const char* text = (const char*)textData; in textToGlyphs()384 bool SkPaint::containsText(const void* textData, size_t byteLength) const { in containsText() argument389 SkASSERT(textData != NULL); in containsText()393 const uint16_t* glyphID = static_cast<const uint16_t*>(textData); in containsText()408 const char* text = static_cast<const char*>(textData); in containsText()[all …]
360 NSData *textData = [text dataUsingEncoding:NSUTF8StringEncoding];363 … const_cast<char*>(reinterpret_cast<const char*>([textData bytes])), [textData length]);