Lines Matching refs:byteLength
278 If byteLength equals zero, returns zero.
279 If byteLength includes a partial character, the partial character is ignored.
294 @param byteLength length of character storage in bytes
297 @return number of glyphs represented by text of length byteLength
299 int textToGlyphs(const void* text, size_t byteLength, SkTextEncoding encoding,
320 @param byteLength length of character storage in bytes
321 @return number of glyphs represented by text of length byteLength
323 int countText(const void* text, size_t byteLength, SkTextEncoding encoding) const {
324 return this->textToGlyphs(text, byteLength, encoding, nullptr, 0);
332 @param byteLength length of character storage in bytes
334 @return number of glyphs represented by text of length byteLength
336 SkScalar measureText(const void* text, size_t byteLength, SkTextEncoding encoding,
338 return this->measureText(text, byteLength, encoding, bounds, nullptr);
347 @param byteLength length of character storage in bytes
350 @return number of glyphs represented by text of length byteLength
352 SkScalar measureText(const void* text, size_t byteLength, SkTextEncoding encoding,