Lines Matching refs:glyphPtr
21 var glyphPtr = copy1dArray(glyphs, 'HEAPU16');
24 this._getGlyphWidthBounds(glyphPtr, glyphs.length, nullptr, rectPtr, paint || null);
27 freeArraysThatAreNotMallocedByUsers(glyphPtr, glyphs);
50 var glyphPtr = CanvasKit._malloc(numGlyphIDs * bytesPerGlyph);
52 var actualIDs = this._getGlyphIDs(strPtr, strBytes - 1, numGlyphIDs, glyphPtr);
56 CanvasKit._free(glyphPtr);
59 var glyphs = new Uint16Array(CanvasKit.HEAPU8.buffer, glyphPtr, actualIDs);
62 CanvasKit._free(glyphPtr);
66 CanvasKit._free(glyphPtr);
82 var glyphPtr = copy1dArray(glyphs, 'HEAPU16');
85 this._getGlyphWidthBounds(glyphPtr, glyphs.length, widthPtr, nullptr, paint || null);
88 freeArraysThatAreNotMallocedByUsers(glyphPtr, glyphs);
157 var glyphPtr = CanvasKit._malloc(numGlyphIDs * bytesPerGlyph);
159 var actualIDs = this._getGlyphIDs(strPtr, strBytes - 1, numGlyphIDs, glyphPtr);
163 CanvasKit._free(glyphPtr);
166 var glyphs = new Uint16Array(CanvasKit.HEAPU8.buffer, glyphPtr, actualIDs);
169 CanvasKit._free(glyphPtr);
173 CanvasKit._free(glyphPtr);
263 var glyphPtr = copy1dArray(glyphs, 'HEAPU16');
268 …var blob = CanvasKit.TextBlob._MakeFromRSXformGlyphs(glyphPtr, glyphs.length * bytesPerGlyph, rPtr…
269 freeArraysThatAreNotMallocedByUsers(glyphPtr, glyphs);
281 var glyphPtr = copy1dArray(glyphs, 'HEAPU16');
283 var blob = CanvasKit.TextBlob._MakeFromGlyphs(glyphPtr, glyphs.length * bytesPerGlyph, font);
284 freeArraysThatAreNotMallocedByUsers(glyphPtr, glyphs);