Lines Matching refs:strPtr
10 var strPtr = CanvasKit._malloc(strLen + 1);
11 stringToUTF8(str, strPtr, strLen + 1);
12 this._drawSimpleText(strPtr, strLen, x, y, font, paint);
13 CanvasKit._free(strPtr);
46 var strPtr = CanvasKit._malloc(strBytes);
47 stringToUTF8(str, strPtr, strBytes); // This includes the null terminator
52 var actualIDs = this._getGlyphIDs(strPtr, strBytes - 1, numGlyphIDs, glyphPtr);
53 CanvasKit._free(strPtr);
206 var strPtr = CanvasKit._malloc(strLen);
208 stringToUTF8(str, strPtr, strLen);
217 var blob = CanvasKit.TextBlob._MakeFromRSXform(strPtr, strLen - 1, rPtr, font);
218 CanvasKit._free(strPtr);
269 var strPtr = CanvasKit._malloc(strLen);
271 stringToUTF8(str, strPtr, strLen);
273 var blob = CanvasKit.TextBlob._MakeFromText(strPtr, strLen - 1, font);
274 CanvasKit._free(strPtr);