• Home
  • Raw
  • Download

Lines Matching refs:textData

460 int SkPaint::textToGlyphs(const void* textData, size_t byteLength,  in textToGlyphs()  argument
466 SkASSERT(textData != nullptr); in textToGlyphs()
471 return SkUTF8_CountUnichars((const char*)textData, byteLength); in textToGlyphs()
473 return SkUTF16_CountUnichars((const uint16_t*)textData, SkToInt(byteLength >> 1)); in textToGlyphs()
489 memcpy(glyphs, textData, byteLength >> 1 << 1); in textToGlyphs()
496 const char* text = (const char*)textData; in textToGlyphs()
528 bool SkPaint::containsText(const void* textData, size_t byteLength) const { in containsText() argument
533 SkASSERT(textData != nullptr); in containsText()
537 const uint16_t* glyphID = static_cast<const uint16_t*>(textData); in containsText()
552 const char* text = static_cast<const char*>(textData); in containsText()
562 const uint16_t* text = static_cast<const uint16_t*>(textData); in containsText()
572 const int32_t* text = static_cast<const int32_t*>(textData); in containsText()
588 void SkPaint::glyphsToUnichars(const uint16_t glyphs[], int count, SkUnichar textData[]) const { in glyphsToUnichars()
594 SkASSERT(textData != nullptr); in glyphsToUnichars()
601 textData[index] = cache->glyphToUnichar(glyphs[index]); in glyphsToUnichars()
860 SkScalar SkPaint::measureText(const void* textData, size_t length, SkRect* bounds) const { in measureText() argument
861 const char* text = (const char*)textData; in measureText()
1025 int SkPaint::getTextWidths(const void* textData, size_t byteLength, in getTextWidths() argument
1031 SkASSERT(textData); in getTextWidths()
1034 return this->countText(textData, byteLength); in getTextWidths()
1045 const char* text = (const char*)textData; in getTextWidths()
1130 void SkPaint::getTextPath(const void* textData, size_t length, in getTextPath() argument
1132 SkASSERT(length == 0 || textData != nullptr); in getTextPath()
1134 const char* text = (const char*)textData; in getTextPath()
1158 int SkPaint::getTextIntercepts(const void* textData, size_t length, in getTextIntercepts() argument
1161 SkASSERT(length == 0 || textData != nullptr); in getTextIntercepts()
1166 const char* text = (const char*) textData; in getTextIntercepts()
1175 void SkPaint::getPosTextPath(const void* textData, size_t length, in getPosTextPath() argument
1177 SkASSERT(length == 0 || textData != nullptr); in getPosTextPath()
1179 const char* text = (const char*)textData; in getPosTextPath()
1204 int SkPaint::getPosTextIntercepts(const void* textData, size_t length, const SkPoint pos[], in getPosTextIntercepts() argument
1206 SkASSERT(length == 0 || textData != nullptr); in getPosTextIntercepts()
1211 const char* text = (const char*) textData; in getPosTextIntercepts()