Home
last modified time | relevance | path

Searched refs:ParagraphBuilder (Results 1 – 20 of 20) sorted by relevance

/external/skia/modules/skparagraph/include/
DParagraphBuilder.h17 class ParagraphBuilder {
19 ParagraphBuilder(const ParagraphStyle&, sk_sp<FontCollection>) { } in ParagraphBuilder() function
21 virtual ~ParagraphBuilder() = default;
62 static std::unique_ptr<ParagraphBuilder> make(const ParagraphStyle& style,
/external/skia/modules/canvaskit/
Dparagraph.js251 CanvasKit.ParagraphBuilder.Make = function(paragraphStyle, fontManager) {
254 var result = CanvasKit.ParagraphBuilder._Make(paragraphStyle, fontManager);
259 CanvasKit.ParagraphBuilder.MakeFromFontProvider = function(paragraphStyle, fontProvider) {
262 … var result = CanvasKit.ParagraphBuilder._MakeFromFontProvider(paragraphStyle, fontProvider);
267 CanvasKit.ParagraphBuilder.ShapeText = function(text, blocks, width) {
275 return CanvasKit.ParagraphBuilder._ShapeText(text, blocks, width);
278 CanvasKit.ParagraphBuilder.prototype.pushStyle = function(textStyle) { class in CanvasKit
284 CanvasKit.ParagraphBuilder.prototype.pushPaintStyle = function(textStyle, fg, bg) {
290 CanvasKit.ParagraphBuilder.prototype.addPlaceholder =
Dexterns.js146 ParagraphBuilder: { property
DCHANGELOG.md287 - Added `addPlaceholder` to `ParagraphBuilder`.
318 - Added `CanvasKit.ParagraphBuilder.MakeFromFontProvider` to make a
319 `ParagraphBuilder` from a `TypefaceFontProvider`.
320 - Added `CanvasKit.ParagraphBuilder.pushPaintStyle` which can be used to stroke or fill
Dparagraph_bindings.cpp481 auto pb = para::ParagraphBuilder::make(pstyle, fc); in EMSCRIPTEN_BINDINGS()
/external/skia/fuzz/
DFuzzSkParagraph.cpp122 void AddASCIIText(ParagraphBuilder* builder,Fuzz* fuzz) { in AddASCIIText()
128 void AddUnicodeText(ParagraphBuilder* builder,Fuzz* fuzz) { in AddUnicodeText()
139 void AddZalgoText(ParagraphBuilder* builder, Fuzz* fuzz) { in AddZalgoText()
168 void AddStyle(ParagraphBuilder* builder, Fuzz* fuzz) { in AddStyle()
195 void RemoveStyle(ParagraphBuilder* builder, Fuzz* fuzz) { in RemoveStyle()
203 void AddStyleAndText(ParagraphBuilder* builder, Fuzz* fuzz) { in AddStyleAndText()
/external/skia/modules/skparagraph/src/
DParagraphBuilderImpl.cpp19 std::unique_ptr<ParagraphBuilder> ParagraphBuilder::make( in make()
24 std::unique_ptr<ParagraphBuilder> ParagraphBuilderImpl::make( in make()
33 std::unique_ptr<ParagraphBuilder> ParagraphBuilderImpl::make( in make()
43 : ParagraphBuilder(style, fontCollection) in ParagraphBuilderImpl()
DParagraphBuilderImpl.h19 class ParagraphBuilderImpl : public ParagraphBuilder {
64 static std::unique_ptr<ParagraphBuilder> make(const ParagraphStyle& style,
69 static std::unique_ptr<ParagraphBuilder> make(const ParagraphStyle& style,
DParagraphImpl.h228 friend class ParagraphBuilder;
/external/skia/modules/canvaskit/tests/
Dparagraph.spec.js72 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
154 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
183 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
228 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
260 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
309 const builder = CanvasKit.ParagraphBuilder.Make(paraStrutStyle, fontMgr);
320 const builder2 = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
361 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
388 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
446 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
[all …]
/external/skia/bench/
DParagraphBench.cpp67 skia::textlayout::ParagraphBuilder::make(paragraph_style, fFontCollection); in onDelayedSetup()
/external/skia/site/docs/user/modules/
Dquickstart.md277 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
307 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
342 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
346 Next, we create a `ParagraphBuilder` with a style, add some text, and finalize it with `build()`.
351 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
Dcanvaskit.md390 const builder = CanvasKit.ParagraphBuilder.Make(paraStyle, fontMgr);
/external/skia/modules/skparagraph/
Dskparagraph.gni14 "$_include/ParagraphBuilder.h",
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts413 readonly ParagraphBuilder: ParagraphBuilderFactory; property
872 export interface ParagraphBuilder extends EmbindObject<ParagraphBuilder> { interface
3034 Make(style: ParagraphStyle, fontManager: FontMgr): ParagraphBuilder;
3041 MakeFromFontProvider(style: ParagraphStyle, fontSrc: TypefaceFontProvider): ParagraphBuilder;
Dcanvaskit-wasm-tests.ts553 const builder = CK.ParagraphBuilder.Make(paraStyle, fontMgr); // $ExpectType ParagraphBuilder
563 const builder2 = CK.ParagraphBuilder.MakeFromFontProvider(// $ExpectType ParagraphBuilder
/external/skia/demos.skia.org/demos/textedit/
Dtextapi_utils.js345 this._lines = CanvasKit.ParagraphBuilder.ShapeText(this._text, blocks, this._width);
/external/skia/modules/canvaskit/npm_build/
Dtextapi_utils.js369 this._lines = CanvasKit.ParagraphBuilder.ShapeText(this._text, blocks, this._width);
/external/skia/modules/skparagraph/samples/
DSampleParagraph.cpp2976 auto builder = ParagraphBuilder::make(paraStyle, fontCollection); in onDrawContent()
2991 auto builder2 = ParagraphBuilder::make(paraStyle, fontCollection); in onDrawContent()
3030 auto builder = ParagraphBuilder::make(paraStyle, fontCollection); in onDrawContent()
3038 auto builder2 = ParagraphBuilder::make(paraStyle, fontCollection); in onDrawContent()
3046 auto builder3 = ParagraphBuilder::make(paraStyle, fontCollection); in onDrawContent()
/external/skia/tools/perf-canvaskit-puppeteer/
Dcanvas_perf.js614 const builder = CanvasKit.ParagraphBuilder.Make(ctx.paraStyle, ctx.fontMgr);