Home
last modified time | relevance | path

Searched refs:testFont (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/modules/canvaskit/tests/
Dfont.spec.js308 const testFont = new CanvasKit.Font(notoSerif, 20); constant
310 canvas.drawText('SEA', 35, 15, textPaint, testFont);
311 testFont.setEdging(CanvasKit.FontEdging.Alias);
312 canvas.drawText('SEA', 35, 35, textPaint, testFont);
313 testFont.setEdging(CanvasKit.FontEdging.AntiAlias);
314 canvas.drawText('SEA', 35, 55, textPaint, testFont);
315 testFont.setEdging(CanvasKit.FontEdging.SubpixelAntiAlias);
316 canvas.drawText('SEA', 35, 75, textPaint, testFont);
320 testFont.delete();
/third_party/skia/tools/fonts/
DTestTypeface.cpp90 TestTypeface::TestTypeface(sk_sp<SkTestFont> testFont, const SkFontStyle& style) in TestTypeface() argument
91 : SkTypeface(style, false), fTestFont(std::move(testFont)) {} in TestTypeface()