/third_party/flutter/skia/src/core/ |
D | SkTextBlob.cpp | 39 size_t SkTextBlob::RunRecord::StorageSize(uint32_t glyphCount, uint32_t textSize, in StorageSize() 40 SkTextBlob::GlyphPositioning positioning, in StorageSize() 48 auto size = sizeof(SkTextBlob::RunRecord); in StorageSize() 61 const SkTextBlob::RunRecord* SkTextBlob::RunRecord::First(const SkTextBlob* blob) { in First() 67 const SkTextBlob::RunRecord* SkTextBlob::RunRecord::Next(const RunRecord* run) { in Next() 81 void SkTextBlob::RunRecord::validate(const uint8_t* storageTop) const { in validate() 94 static_assert(sizeof(SkTextBlob::RunRecord) == sizeof(RunRecordStorageEquivalent), in validate() 98 const SkTextBlob::RunRecord* SkTextBlob::RunRecord::NextUnchecked(const RunRecord* run) { in NextUnchecked() 107 size_t SkTextBlob::RunRecord::PosCount(uint32_t glyphCount, in PosCount() 108 SkTextBlob::GlyphPositioning positioning, in PosCount() [all …]
|
D | SkTextBlobPriv.h | 30 static void Flatten(const SkTextBlob& , SkWriteBuffer&); 39 static sk_sp<SkTextBlob> MakeFromBuffer(SkReadBuffer&); 83 class SkTextBlob::RunRecord { 154 SkTextBlob::GlyphPositioning positioning, 157 static const RunRecord* First(const SkTextBlob* blob); 175 SkTextBlob::GlyphPositioning positioning, 202 SkTextBlobRunIterator(const SkTextBlob* blob); 261 const SkTextBlob::RunRecord* fCurrentRun;
|
D | SkGlyphRun.h | 23 class SkTextBlob; variable 62 const SkTextBlob* fOriginalTextBlob{nullptr}; 71 const SkTextBlob* blob, 95 const SkTextBlob* blob() const { return fOriginalTextBlob; } in blob() 122 void drawTextBlob(const SkPaint& paint, const SkTextBlob& blob, SkPoint origin, SkBaseDevice*); 125 const SkPaint& paint, const SkTextBlob& blob, SkPoint origin); 143 void makeGlyphRunList(const SkPaint& paint, const SkTextBlob* blob, SkPoint origin);
|
/third_party/skia/src/core/ |
D | SkTextBlob.cpp | 39 size_t SkTextBlob::RunRecord::StorageSize(uint32_t glyphCount, uint32_t textSize, in StorageSize() 40 SkTextBlob::GlyphPositioning positioning, in StorageSize() 48 auto size = sizeof(SkTextBlob::RunRecord); in StorageSize() 61 const SkTextBlob::RunRecord* SkTextBlob::RunRecord::First(const SkTextBlob* blob) { in First() 67 const SkTextBlob::RunRecord* SkTextBlob::RunRecord::Next(const RunRecord* run) { in Next() 81 void SkTextBlob::RunRecord::validate(const uint8_t* storageTop) const { in validate() 94 static_assert(sizeof(SkTextBlob::RunRecord) == sizeof(RunRecordStorageEquivalent), in validate() 98 const SkTextBlob::RunRecord* SkTextBlob::RunRecord::NextUnchecked(const RunRecord* run) { in NextUnchecked() 107 size_t SkTextBlob::RunRecord::PosCount(uint32_t glyphCount, in PosCount() 108 SkTextBlob::GlyphPositioning positioning, in PosCount() [all …]
|
D | SkTextBlobPriv.h | 30 static void Flatten(const SkTextBlob& , SkWriteBuffer&); 39 static sk_sp<SkTextBlob> MakeFromBuffer(SkReadBuffer&); 64 class SkTextBlob::RunRecord { 137 SkTextBlob::GlyphPositioning positioning, 140 static const RunRecord* First(const SkTextBlob* blob); 158 SkTextBlob::GlyphPositioning positioning, 185 SkTextBlobRunIterator(const SkTextBlob* blob); 245 const SkTextBlob::RunRecord* fCurrentRun;
|
D | SkGlyphRun.h | 25 class SkTextBlob; variable 70 const SkTextBlob* blob, 100 sk_sp<SkTextBlob> makeBlob() const; 104 const SkTextBlob* blob() const { return fOriginalTextBlob; } in blob() 117 const SkTextBlob* fOriginalTextBlob{nullptr}; 130 const SkGlyphRunList& blobToGlyphRunList(const SkTextBlob& blob, SkPoint origin); 137 void initialize(const SkTextBlob& blob); 152 const SkTextBlob* blob, const SkRect& bounds, SkPoint origin);
|
/third_party/skia/include/core/ |
D | SkTextBlob.h | 28 class SK_API SkTextBlob final : public SkNVRefCnt<SkTextBlob> { 82 static sk_sp<SkTextBlob> MakeFromText(const void* text, size_t byteLength, const SkFont& font, 102 static sk_sp<SkTextBlob> MakeFromString(const char* string, const SkFont& font, 122 static sk_sp<SkTextBlob> MakeFromPosTextH(const void* text, size_t byteLength, 137 static sk_sp<SkTextBlob> MakeFromPosText(const void* text, size_t byteLength, 141 static sk_sp<SkTextBlob> MakeFromRSXform(const void* text, size_t byteLength, 193 static sk_sp<SkTextBlob> Deserialize(const void* data, size_t size, 209 Iter(const SkTextBlob&); 231 friend class SkNVRefCnt<SkTextBlob>; 235 explicit SkTextBlob(const SkRect& bounds); [all …]
|
/third_party/flutter/skia/include/core/ |
D | SkTextBlob.h | 28 class SK_API SkTextBlob final : public SkNVRefCnt<SkTextBlob> { 79 static sk_sp<SkTextBlob> MakeFromText(const void* text, size_t byteLength, const SkFont& font, 99 static sk_sp<SkTextBlob> MakeFromString(const char* string, const SkFont& font, 119 static sk_sp<SkTextBlob> MakeFromPosTextH(const void* text, size_t byteLength, 134 static sk_sp<SkTextBlob> MakeFromPosText(const void* text, size_t byteLength, 138 static sk_sp<SkTextBlob> MakeFromRSXform(const void* text, size_t byteLength, 186 static sk_sp<SkTextBlob> Deserialize(const void* data, size_t size, 190 friend class SkNVRefCnt<SkTextBlob>; 195 explicit SkTextBlob(const SkRect& bounds); 197 ~SkTextBlob(); [all …]
|
/third_party/skia/tests/ |
D | TextBlobTest.cpp | 109 sk_sp<SkTextBlob> blob(builder.make()); in TestBounds() 116 sk_sp<SkTextBlob> blob(builder.make()); in TestBounds() 123 sk_sp<SkTextBlob> blob(builder.make()); in TestBounds() 130 sk_sp<SkTextBlob> blob(builder.make()); in TestBounds() 143 sk_sp<SkTextBlob> blob(builder.make()); in TestBounds() 148 sk_sp<SkTextBlob> blob(builder.make()); in TestBounds() 167 sk_sp<SkTextBlob> blob(builder.make()); in TestBounds() 208 sk_sp<SkTextBlob> blob(builder.make()); in TestPaintProps() 234 sk_sp<SkTextBlob> blob(builder.make()); in RunBuilderTest() 326 sk_sp<SkTextBlob> blob(textBlobBuilder.make()); in DEF_TEST() [all …]
|
/third_party/flutter/skia/docs/examples/ |
D | TextBlob_serialize_2.cpp | 11 sk_sp<SkTextBlob> blob = SkTextBlob::MakeFromText("Hello World", 11, blobFont); in draw() 13 sk_sp<SkTextBlob> copy = SkTextBlob::Deserialize(data->data(), data->size(), SkDeserialProcs()); in draw()
|
D | TextBlob_Deserialize.cpp | 12 sk_sp<SkTextBlob> blob = SkTextBlob::MakeFromText("Hello World!", 12, blobFont); 18 sk_sp<SkTextBlob> copy = SkTextBlob::Deserialize(data->data(), data->size(), SkDeserialProcs());
|
D | TextBlob_serialize.cpp | 12 sk_sp<SkTextBlob> blob = SkTextBlob::MakeFromText("Hello World", 11, blobFont); 15 sk_sp<SkTextBlob> copy = SkTextBlob::Deserialize(storage, used, SkDeserialProcs());
|
/third_party/skia/docs/examples/ |
D | TextBlob_serialize_2.cpp | 11 sk_sp<SkTextBlob> blob = SkTextBlob::MakeFromText("Hello World", 11, blobFont); in draw() 13 sk_sp<SkTextBlob> copy = SkTextBlob::Deserialize(data->data(), data->size(), SkDeserialProcs()); in draw()
|
D | TextBlob_Deserialize.cpp | 12 sk_sp<SkTextBlob> blob = SkTextBlob::MakeFromText("Hello World!", 12, blobFont); 18 sk_sp<SkTextBlob> copy = SkTextBlob::Deserialize(data->data(), data->size(), SkDeserialProcs());
|
D | TextBlob_serialize.cpp | 12 sk_sp<SkTextBlob> blob = SkTextBlob::MakeFromText("Hello World", 11, blobFont); 15 sk_sp<SkTextBlob> copy = SkTextBlob::Deserialize(storage, used, SkDeserialProcs());
|
D | skpaint_skia.cpp | 22 sk_sp<SkTextBlob> blob1 = in draw() 23 SkTextBlob::MakeFromString("Skia!", SkFont(nullptr, 64.0f, 1.0f, 0.0f)); in draw() 24 sk_sp<SkTextBlob> blob2 = in draw() 25 SkTextBlob::MakeFromString("Skia!", SkFont(nullptr, 64.0f, 1.5f, 0.0f)); in draw()
|
D | text_rendering.cpp | 20 sk_sp<SkTextBlob> blob1 = SkTextBlob::MakeFromString("Skia", font1); in draw() 21 sk_sp<SkTextBlob> blob2 = SkTextBlob::MakeFromString("Skia", font2); in draw()
|
/third_party/flutter/engine/flutter/third_party/txt/src/txt/ |
D | paint_record.h | 40 sk_sp<SkTextBlob> text, 49 sk_sp<SkTextBlob> text, 58 sk_sp<SkTextBlob> text, 73 SkTextBlob* text() const { return text_.get(); } in text() 96 sk_sp<SkTextBlob> text_;
|
/third_party/flutter/skia/site/user/api/ |
D | SkTextBlob_Reference.md | 1 SkTextBlob Reference 5 <a name='SkTextBlob'></a> 10 …ence#SkTextBlob'>SkTextBlob</a> final : public <a href='undocumented#SkNVRefCnt'>SkNVRefCnt</a><<a… 16 …ref='undocumented#sk_sp'>sk_sp</a><<a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a>> <a hr… 18 …ref='undocumented#sk_sp'>sk_sp</a><<a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a>> <a hr… 22 …ref='undocumented#sk_sp'>sk_sp</a><<a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a>> <a hr… 28 <a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a> combines multiple <a href='undocumented#Te… 68 identifier for <a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a> 127 …='undocumented#sk_sp'>sk_sp</a><<a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a>> <a… 175 …='undocumented#sk_sp'>sk_sp</a><<a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a>> <a… [all …]
|
D | SkTextBlobBuilder_Reference.md | 14 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a>> <… 25 Helper class for constructing <a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a>. 117 <a href='#SkTextBlobBuilder_make'>make</a> <a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a>… 138 <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a>&… 141 Returns <a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a> built from runs of <a href='undocu… 142 <a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a> is immutable; it may be copied, but its co… 150 <a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a> or nullptr 168 <a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a>::<a href='#SkTextBlob_MakeFromText'>MakeFr… 189 …ounding box, used to suppress drawing when <a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a> 190 …Run_bounds'>bounds</a> is nullptr, <a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a> <a hre… [all …]
|
/third_party/flutter/skia/modules/sksg/include/ |
D | SkSGText.h | 68 sk_sp<SkTextBlob> fBlob; // cached text blob 78 static sk_sp<TextBlob> Make(sk_sp<SkTextBlob> = nullptr); 81 SG_ATTRIBUTE(Blob , sk_sp<SkTextBlob>, fBlob ) 93 explicit TextBlob(sk_sp<SkTextBlob>); 95 sk_sp<SkTextBlob> fBlob;
|
/third_party/skia/modules/sksg/include/ |
D | SkSGText.h | 68 sk_sp<SkTextBlob> fBlob; // cached text blob 78 static sk_sp<TextBlob> Make(sk_sp<SkTextBlob> = nullptr); 81 SG_ATTRIBUTE(Blob , sk_sp<SkTextBlob>, fBlob ) 93 explicit TextBlob(sk_sp<SkTextBlob>); 95 sk_sp<SkTextBlob> fBlob;
|
/third_party/flutter/skia/tests/ |
D | TextBlobTest.cpp | 109 sk_sp<SkTextBlob> blob(builder.make()); in TestBounds() 116 sk_sp<SkTextBlob> blob(builder.make()); in TestBounds() 123 sk_sp<SkTextBlob> blob(builder.make()); in TestBounds() 130 sk_sp<SkTextBlob> blob(builder.make()); in TestBounds() 143 sk_sp<SkTextBlob> blob(builder.make()); in TestBounds() 148 sk_sp<SkTextBlob> blob(builder.make()); in TestBounds() 168 sk_sp<SkTextBlob> blob(builder.make()); in TestBounds() 209 sk_sp<SkTextBlob> blob(builder.make()); in TestPaintProps() 240 sk_sp<SkTextBlob> blob(builder.make()); in RunBuilderTest() 333 sk_sp<SkTextBlob> blob(textBlobBuilder.make()); in DEF_TEST() [all …]
|
/third_party/skia/gm/ |
D | texteffects.cpp | 52 sk_sp<SkTextBlob> MakeFancyBlob(const SkPaint& paint, const SkFont& font, const char* text) { in MakeFancyBlob() 123 sk_sp<SkTextBlob> blob = MakeFancyBlob(paint, skFont, test); 151 static sk_sp<SkTextBlob> make_text(const SkFont& font, const SkGlyphID glyphs[], int count) { in make_text() 152 return SkTextBlob::MakeFromText(glyphs, count * sizeof(SkGlyphID), font, in make_text() 156 static sk_sp<SkTextBlob> make_posh(const SkFont& font, const SkGlyphID glyphs[], int count, in make_posh() 163 return SkTextBlob::MakeFromPosTextH(glyphs, count * sizeof(SkGlyphID), xpos.get(), 0, font, in make_posh() 167 static sk_sp<SkTextBlob> make_pos(const SkFont& font, const SkGlyphID glyphs[], int count, in make_pos() 174 return SkTextBlob::MakeFromPosText(glyphs, count * sizeof(SkGlyphID), pos.get(), font, in make_pos() 204 static void draw_blob_adorned(SkCanvas* canvas, sk_sp<SkTextBlob> blob) { in draw_blob_adorned()
|
/third_party/flutter/skia/gm/ |
D | texteffects.cpp | 52 sk_sp<SkTextBlob> MakeFancyBlob(const SkPaint& paint, const SkFont& font, const char* text) { in MakeFancyBlob() 123 sk_sp<SkTextBlob> blob = MakeFancyBlob(paint, skFont, test); 151 static sk_sp<SkTextBlob> make_text(const SkFont& font, const SkGlyphID glyphs[], int count) { in make_text() 152 return SkTextBlob::MakeFromText(glyphs, count * sizeof(SkGlyphID), font, in make_text() 156 static sk_sp<SkTextBlob> make_posh(const SkFont& font, const SkGlyphID glyphs[], int count, in make_posh() 163 return SkTextBlob::MakeFromPosTextH(glyphs, count * sizeof(SkGlyphID), xpos.get(), 0, font, in make_posh() 167 static sk_sp<SkTextBlob> make_pos(const SkFont& font, const SkGlyphID glyphs[], int count, in make_pos() 174 return SkTextBlob::MakeFromPosText(glyphs, count * sizeof(SkGlyphID), pos.get(), font, in make_pos() 204 static void draw_blob_adorned(SkCanvas* canvas, sk_sp<SkTextBlob> blob) { in draw_blob_adorned()
|