Home
last modified time | relevance | path

Searched refs:paraStyle (Results 1 – 7 of 7) sorted by relevance

/external/skia/modules/canvaskit/tests/
Dparagraph.spec.js61 const paraStyle = new CanvasKit.ParagraphStyle({
72 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
143 const paraStyle = new CanvasKit.ParagraphStyle({
154 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
179 const paraStyle = new CanvasKit.ParagraphStyle({
183 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
217 const paraStyle = new CanvasKit.ParagraphStyle({
228 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
249 const paraStyle = new CanvasKit.ParagraphStyle({
260 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
[all …]
/external/skia/modules/skparagraph/samples/
DSampleParagraph.cpp102 ParagraphStyle paraStyle; in drawTest() local
108 paraStyle.setTextStyle(defaultStyle); in drawTest()
109 ParagraphBuilderImpl builder(paraStyle, fontCollection); in drawTest()
203 ParagraphStyle paraStyle; in drawCode() local
204 paraStyle.setTextStyle(defaultStyle); in drawCode()
208 ParagraphBuilderImpl builder(paraStyle, fontCollection); in drawCode()
282 ParagraphStyle paraStyle; in drawText() local
283 paraStyle.setTextStyle(style); in drawText()
284 paraStyle.setMaxLines(lineLimit); in drawText()
286 paraStyle.setEllipsis(ellipsis); in drawText()
[all …]
/external/skia/modules/skparagraph/gm/
Dsimple_gm.cpp56 skia::textlayout::ParagraphStyle paraStyle; in buildParagraph() local
57 paraStyle.setTextStyle(style); in buildParagraph()
61 auto builder = skia::textlayout::ParagraphBuilderImpl::make(paraStyle, collection); in buildParagraph()
/external/skia/site/docs/user/modules/
Dquickstart.md268 const paraStyle = new CanvasKit.ParagraphStyle({
277 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
298 const paraStyle = new CanvasKit.ParagraphStyle({
307 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
325 const paraStyle = new CanvasKit.ParagraphStyle({
342 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
351 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
Dcanvaskit.md379 const paraStyle = new CanvasKit.ParagraphStyle({
390 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
/external/skia/tools/perf-canvaskit-puppeteer/
Dcanvas_perf.js601 ctx.paraStyle = new CanvasKit.ParagraphStyle({
614 const builder = CanvasKit.ParagraphBuilder.Make(ctx.paraStyle, ctx.fontMgr);
/external/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts520 const paraStyle = new CK.ParagraphStyle({ // $ExpectType ParagraphStyle constant
553 const builder = CK.ParagraphBuilder.Make(paraStyle, fontMgr); // $ExpectType ParagraphBuilder
564 paraStyle, fontSrc);