Home
last modified time | relevance | path

Searched refs:TextBlob (Results 1 – 14 of 14) sorted by relevance

/external/skia/modules/sksg/src/
DSkSGText.cpp89 sk_sp<TextBlob> TextBlob::Make(sk_sp<SkTextBlob> blob) { in Make()
90 return sk_sp<TextBlob>(new TextBlob(std::move(blob))); in Make()
93 TextBlob::TextBlob(sk_sp<SkTextBlob> blob) in TextBlob() function in sksg::TextBlob
96 TextBlob::~TextBlob() = default;
98 SkRect TextBlob::onRevalidate(InvalidationController*, const SkMatrix&) { in onRevalidate()
103 void TextBlob::onDraw(SkCanvas* canvas, const SkPaint& paint) const { in onDraw()
107 bool TextBlob::onContains(const SkPoint& p) const { in onContains()
111 SkPath TextBlob::onAsPath() const { in onAsPath()
116 void TextBlob::onClip(SkCanvas* canvas, bool antiAlias) const { in onClip()
/external/skqp/modules/sksg/src/
DSkSGText.cpp85 sk_sp<TextBlob> TextBlob::Make(sk_sp<SkTextBlob> blob) { in Make()
86 return sk_sp<TextBlob>(new TextBlob(std::move(blob))); in Make()
89 TextBlob::TextBlob(sk_sp<SkTextBlob> blob) in TextBlob() function in sksg::TextBlob
92 TextBlob::~TextBlob() = default;
94 SkRect TextBlob::onRevalidate(InvalidationController*, const SkMatrix&) { in onRevalidate()
98 void TextBlob::onDraw(SkCanvas* canvas, const SkPaint& paint) const { in onDraw()
102 SkPath TextBlob::onAsPath() const { in onAsPath()
107 void TextBlob::onClip(SkCanvas* canvas, bool antiAlias) const { in onClip()
/external/skia/modules/canvaskit/
Dfont.js138 CanvasKit.TextBlob.MakeOnPath = function(str, path, font, initialOffset) {
201 CanvasKit.TextBlob.MakeFromRSXform = function(str, rsxBuilderOrArray, font) {
217 var blob = CanvasKit.TextBlob._MakeFromRSXform(strPtr, strLen - 1, rPtr, font);
228 CanvasKit.TextBlob.MakeFromRSXformGlyphs = function(glyphs, rsxBuilderOrArray, font) {
240 …var blob = CanvasKit.TextBlob._MakeFromRSXformGlyphs(glyphPtr, glyphs.length * bytesPerGlyph, rPtr…
251 CanvasKit.TextBlob.MakeFromGlyphs = function(glyphs, font) {
255 var blob = CanvasKit.TextBlob._MakeFromGlyphs(glyphPtr, glyphs.length * bytesPerGlyph, font);
264 CanvasKit.TextBlob.MakeFromText = function(str, font) {
273 var blob = CanvasKit.TextBlob._MakeFromText(strPtr, strLen - 1, font);
Dexterns.js679 TextBlob: { property
/external/skqp/modules/sksg/include/
DSkSGText.h75 class TextBlob final : public GeometryNode {
77 static sk_sp<TextBlob> Make(sk_sp<SkTextBlob> = nullptr);
78 ~TextBlob() override;
91 explicit TextBlob(sk_sp<SkTextBlob>);
/external/skia/modules/sksg/include/
DSkSGText.h76 class TextBlob final : public GeometryNode {
78 static sk_sp<TextBlob> Make(sk_sp<SkTextBlob> = nullptr);
79 ~TextBlob() override;
93 explicit TextBlob(sk_sp<SkTextBlob>);
/external/skia/modules/canvaskit/tests/
Dfont.spec.js54 const textBlob = CanvasKit.TextBlob.MakeOnPath(str, arc, font);
85 const textBlob = CanvasKit.TextBlob.MakeOnPath(str, arc, font, 60.5);
114 const textBlob = CanvasKit.TextBlob.MakeFromText(str + ' text blob', font);
158 const topBlob = CanvasKit.TextBlob.MakeFromGlyphs(ids, font);
179 const bottomBlob = CanvasKit.TextBlob.MakeFromRSXformGlyphs(mIDs, mXforms, font);
Dcanvas.spec.js35 const blob = CanvasKit.TextBlob.MakeFromText('Unicode chars �� é É ص', font);
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts421 readonly TextBlob: TextBlobFactory; property
1410 drawTextBlob(blob: TextBlob, x: number, y: number, paint: Paint): void;
2636 export type TextBlob = EmbindObject<TextBlob>; alias
3438 MakeFromGlyphs(glyphs: InputGlyphIDArray, font: Font): TextBlob;
3448 MakeFromRSXform(str: string, rsxforms: InputFlattenedRSXFormArray, font: Font): TextBlob;
3458 font: Font): TextBlob;
3470 MakeFromText(str: string, font: Font): TextBlob;
3481 MakeOnPath(str: string, path: Path, font: Font, initialOffset?: number): TextBlob;
Dcanvaskit-wasm-tests.ts21 TextBlob,
77 skp?: SkPicture, font?: Font, textBlob?: TextBlob, verts?: Vertices,
872 const tb = CK.TextBlob; // less typing
/external/skqp/modules/skottie/src/
DSkottieAdapter.h29 class TextBlob; variable
238 sk_sp<sksg::TextBlob> fTextNode;
DSkottieAdapter.cpp267 , fTextNode(sksg::TextBlob::Make()) in TextAdapter()
/external/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js675 var blob = CanvasKit.TextBlob.MakeFromText(text, this._font);
1081 var blob = CanvasKit.TextBlob.MakeFromText(text, this._font);
/external/skia/modules/skottie/src/text/
DTextAdapter.cpp129 auto blob_node = sksg::TextBlob::Make(frag.fBlob); in addFragment()