Home
last modified time | relevance | path

Searched refs:TextDecoration (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/modules/skparagraph/src/
DDecorations.cpp23 if (textStyle.getDecorationType() == TextDecoration::kNoDecoration) { in paint()
40 decoration == TextDecoration::kOverline in paint()
51 textStyle.getDecorationType() == TextDecoration::kUnderline; in paint()
167 if (textStyle.getDecorationType() == TextDecoration::kLineThrough) { in calculateThickness()
181 void Decorations::calculatePosition(TextDecoration decoration, SkScalar ascent, in calculateThickness()
184 case TextDecoration::kUnderline: in calculateThickness()
197 case TextDecoration::kOverline: in calculateThickness()
200 case TextDecoration::kLineThrough: { in calculateThickness()
DDecorations.h24 …void calculatePosition(TextDecoration decoration, SkScalar ascent, const TextDecorationStyle textD…
DTextLine.cpp144 if (b->fStyle.getDecorationType() != TextDecoration::kNoDecoration) { in TextLine()
/third_party/skia/modules/skparagraph/include/
DTextStyle.h48 enum TextDecoration { enum
54 constexpr TextDecoration AllTextDecorations[] = {
78 TextDecoration fType;
245 TextDecoration getDecorationType() const { return fDecoration.fType; } in getDecorationType()
252 void setDecoration(TextDecoration decoration) { fDecoration.fType = decoration; } in setDecoration()
347 TextDecoration::kNoDecoration,
/third_party/gn/src/gn/
Dstandard_out.cc80 void OutputMarkdownDec(TextDecoration dec) { in OutputMarkdownDec()
103 TextDecoration dec, in OutputString()
162 TextDecoration dec, in OutputString()
326 TextDecoration dec = DECORATION_NONE; in PrintLongHelp()
Dstandard_out.h10 enum TextDecoration { enum
28 TextDecoration dec = DECORATION_NONE,
/third_party/skia/modules/canvaskit/
Dparagraph_bindings.cpp157 ts.setDecoration(para::TextDecoration(s.decoration)); in toTextStyle()
634 constant("NoDecoration", int(para::TextDecoration::kNoDecoration)); in EMSCRIPTEN_BINDINGS()
635 constant("UnderlineDecoration", int(para::TextDecoration::kUnderline)); in EMSCRIPTEN_BINDINGS()
636 constant("OverlineDecoration", int(para::TextDecoration::kOverline)); in EMSCRIPTEN_BINDINGS()
637 constant("LineThroughDecoration", int(para::TextDecoration::kLineThrough)); in EMSCRIPTEN_BINDINGS()
/third_party/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp299 text_style.setDecoration(TextDecoration::kUnderline); in UNIX_ONLY_TEST()
398 text_style.setDecoration(TextDecoration::kUnderline); in UNIX_ONLY_TEST()
454 text_style.setDecoration(TextDecoration::kUnderline); in UNIX_ONLY_TEST()
510 text_style.setDecoration(TextDecoration::kUnderline); in UNIX_ONLY_TEST()
566 text_style.setDecoration(TextDecoration::kUnderline); in UNIX_ONLY_TEST()
620 text_style.setDecoration(TextDecoration::kUnderline); in UNIX_ONLY_TEST()
674 text_style.setDecoration(TextDecoration::kUnderline); in UNIX_ONLY_TEST()
728 text_style.setDecoration(TextDecoration::kUnderline); in UNIX_ONLY_TEST()
781 text_style.setDecoration(TextDecoration::kUnderline); in UNIX_ONLY_TEST()
916 text_style.setDecoration(TextDecoration::kUnderline); in UNIX_ONLY_TEST()
[all …]
/third_party/skia/modules/skparagraph/samples/
DSampleParagraph.cpp137 bool test = (TextDecoration)decoration != TextDecoration::kNoDecoration; in drawTest()
140 style.setDecoration((TextDecoration)decoration); in drawTest()
592 style0.setDecoration(TextDecoration::kUnderline); in drawFlutter()
601 style1.setDecoration(TextDecoration::kOverline); in drawFlutter()
1381 …text_style.setDecoration((TextDecoration)(TextDecoration::kUnderline | TextDecoration::kOverline |… in onDrawContent()
2622 text_style.setDecoration(TextDecoration::kUnderline); in onDrawContent()
3118 text_style.setDecoration(TextDecoration::kUnderline); in onDrawContent()
3677 assyrian.setDecoration(TextDecoration::kUnderline); in onDrawContent()
3687 assyrian.setDecoration(TextDecoration::kNoDecoration); in onDrawContent()
3719 assyrian.setDecoration(TextDecoration::kUnderline); in onDrawContent()
/third_party/skia/modules/skparagraph/gm/
Dsimple_gm.cpp50 style.setDecoration(skia::textlayout::TextDecoration::kUnderline); in buildParagraph()