Home
last modified time | relevance | path

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

123

/third_party/flutter/engine/flutter/lib/ui/text/
Dparagraph_builder.cc125 IMPLEMENT_WRAPPERTYPEINFO(ui, ParagraphBuilder);
128 V(ParagraphBuilder, pushStyle) \
129 V(ParagraphBuilder, pop) \
130 V(ParagraphBuilder, addText) \
131 V(ParagraphBuilder, addPlaceholder) \
132 V(ParagraphBuilder, build)
136 void ParagraphBuilder::RegisterNatives(tonic::DartLibraryNatives* natives) { in FOR_EACH_BINDING()
139 fml::RefPtr<ParagraphBuilder> ParagraphBuilder::create( in create()
148 return fml::MakeRefCounted<ParagraphBuilder>(encoded, strutData, fontFamily, in create()
161 ParagraphBuilder::ParagraphBuilder( in ParagraphBuilder() function in flutter::ParagraphBuilder
[all …]
Dparagraph_builder.h23 class ParagraphBuilder : public RefCountedDartWrappable<ParagraphBuilder> {
25 FML_FRIEND_MAKE_REF_COUNTED(ParagraphBuilder);
28 static fml::RefPtr<ParagraphBuilder> create(
38 ~ParagraphBuilder() override;
76 explicit ParagraphBuilder(tonic::Int32List& encoded,
85 std::unique_ptr<txt::ParagraphBuilder> m_paragraphBuilder;
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dparagraph_builder.h32 class ParagraphBuilder {
34 static std::unique_ptr<ParagraphBuilder> CreateTxtBuilder(
39 static std::unique_ptr<ParagraphBuilder> CreateSkiaBuilder(
44 virtual ~ParagraphBuilder() = default;
83 ParagraphBuilder() = default;
86 FML_DISALLOW_COPY_AND_ASSIGN(ParagraphBuilder);
Dparagraph_builder.cc28 std::unique_ptr<ParagraphBuilder> ParagraphBuilder::CreateTxtBuilder( in CreateTxtBuilder()
36 std::unique_ptr<ParagraphBuilder> ParagraphBuilder::CreateSkiaBuilder( in CreateSkiaBuilder()
Dparagraph_builder_txt.h27 class ParagraphBuilderTxt : public ParagraphBuilder {
/third_party/flutter/skia/modules/skparagraph/include/
DParagraphBuilder.h17 class ParagraphBuilder {
19 ParagraphBuilder(const ParagraphStyle& style, sk_sp<FontCollection> fontCollection) { } in ParagraphBuilder() function
21 virtual ~ParagraphBuilder() = default;
54 static std::unique_ptr<ParagraphBuilder> make(const ParagraphStyle& style,
/third_party/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,
/third_party/flutter/engine/flutter/testing/dart/
Dparagraph_builder_test.dart11 final ParagraphBuilder builder = ParagraphBuilder(ParagraphStyle());
22 final ParagraphBuilder paragraphBuilder =
23 ParagraphBuilder(ParagraphStyle());
Dparagraph_test.dart15 final ParagraphBuilder builder = ParagraphBuilder(ParagraphStyle(
39 final ParagraphBuilder builder = ParagraphBuilder(ParagraphStyle(
/third_party/flutter/engine/flutter/lib/web_ui/test/
Dparagraph_builder_test.dart11 final ParagraphBuilder builder = ParagraphBuilder(ParagraphStyle());
22 final ParagraphBuilder paragraphBuilder =
23 ParagraphBuilder(ParagraphStyle());
Dcanvas_test.dart35 final ui.ParagraphBuilder builder =
36 ui.ParagraphBuilder(ui.ParagraphStyle());
59 final ui.ParagraphBuilder builder =
60 ui.ParagraphBuilder(ui.ParagraphStyle());
/third_party/skia/modules/canvaskit/
Dparagraph.js262 CanvasKit.ParagraphBuilder.Make = function(paragraphStyle, fontManager) {
265 var result = CanvasKit.ParagraphBuilder._Make(paragraphStyle, fontManager);
270 CanvasKit.ParagraphBuilder.MakeFromFontProvider = function(paragraphStyle, fontProvider) {
273 … var result = CanvasKit.ParagraphBuilder._MakeFromFontProvider(paragraphStyle, fontProvider);
278 CanvasKit.ParagraphBuilder.ShapeText = function(text, blocks, width) {
286 return CanvasKit.ParagraphBuilder._ShapeText(text, blocks, width);
289 CanvasKit.ParagraphBuilder.prototype.pushStyle = function(textStyle) { class in CanvasKit
295 CanvasKit.ParagraphBuilder.prototype.pushPaintStyle = function(textStyle, fg, bg) {
301 CanvasKit.ParagraphBuilder.prototype.addPlaceholder =
/third_party/skia/fuzz/
DFuzzSkParagraph.cpp124 void AddASCIIText(ParagraphBuilder* builder,Fuzz* fuzz) { in AddASCIIText()
130 void AddUnicodeText(ParagraphBuilder* builder,Fuzz* fuzz) { in AddUnicodeText()
141 void AddZalgoText(ParagraphBuilder* builder, Fuzz* fuzz) { in AddZalgoText()
170 void AddStyle(ParagraphBuilder* builder, Fuzz* fuzz) { in AddStyle()
197 void RemoveStyle(ParagraphBuilder* builder, Fuzz* fuzz) { in RemoveStyle()
205 void AddStyleAndText(ParagraphBuilder* builder, Fuzz* fuzz) { in AddStyleAndText()
/third_party/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,
/third_party/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 …]
/third_party/flutter/skia/modules/skparagraph/src/
DParagraphBuilderImpl.cpp13 std::unique_ptr<ParagraphBuilder> ParagraphBuilder::make( in make()
20 … : ParagraphBuilder(style, fontCollection), fUtf8(), fFontCollection(std::move(fontCollection)) { in ParagraphBuilderImpl()
DParagraphBuilderImpl.h18 class ParagraphBuilderImpl : public ParagraphBuilder {
/third_party/flutter/engine/flutter/third_party/txt/src/skia/
Dparagraph_builder_skia.h27 class ParagraphBuilderSkia : public ParagraphBuilder {
42 std::shared_ptr<skia::textlayout::ParagraphBuilder> builder_;
/third_party/flutter/flutter/examples/layers/raw/
Dtext.dart54 // To create a paragraph of text, we use ParagraphBuilder.
55 final ui.ParagraphBuilder builder = ui.ParagraphBuilder(
Dhello_world.dart14 final ui.ParagraphBuilder paragraphBuilder = ui.ParagraphBuilder(
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Derror.dart5 import 'dart:ui' as ui show Paragraph, ParagraphBuilder, ParagraphConstraints, ParagraphStyle, Text…
46 final ui.ParagraphBuilder builder = ui.ParagraphBuilder(paragraphStyle);
/third_party/flutter/engine/flutter/lib/web_ui/test/text/
Dmeasurement_test.dart18 var builder = ui.ParagraphBuilder(style);
256 final normalBuilder = ui.ParagraphBuilder(ahemStyle);
260 final spacedBuilder = ui.ParagraphBuilder(ahemStyle);
282 final normalBuilder = ui.ParagraphBuilder(ahemStyle);
286 final spacedBuilder = ui.ParagraphBuilder(ahemStyle);
/third_party/skia/bench/
DParagraphBench.cpp69 skia::textlayout::ParagraphBuilder::make(paragraph_style, fFontCollection); in onDelayedSetup()
/third_party/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);

123