Home
last modified time | relevance | path

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

/external/skia/modules/skparagraph/include/
DTextStyle.h38 enum TextDecoration { enum
44 constexpr TextDecoration AllTextDecorations[] = {
65 TextDecoration fType;
183 TextDecoration getDecorationType() const { return fDecoration.fType; } in getDecorationType()
189 void setDecoration(TextDecoration decoration) { fDecoration.fType = decoration; } in setDecoration()
/external/skia/modules/canvaskit/
Dparagraph_bindings.cpp71 ts.setDecoration(para::TextDecoration(s.decoration)); in toTextStyle()
292 constant("NoDecoration", int(para::TextDecoration::kNoDecoration)); in EMSCRIPTEN_BINDINGS()
293 constant("UnderlineDecoration", int(para::TextDecoration::kUnderline)); in EMSCRIPTEN_BINDINGS()
294 constant("OverlineDecoration", int(para::TextDecoration::kOverline)); in EMSCRIPTEN_BINDINGS()
295 constant("LineThroughDecoration", int(para::TextDecoration::kLineThrough)); in EMSCRIPTEN_BINDINGS()
/external/skia/tests/
DSkParagraphTest.cpp219 text_style.setDecoration(TextDecoration::kUnderline); in DEF_TEST()
318 text_style.setDecoration(TextDecoration::kUnderline); in DEF_TEST()
374 text_style.setDecoration(TextDecoration::kUnderline); in DEF_TEST()
430 text_style.setDecoration(TextDecoration::kUnderline); in DEF_TEST()
486 text_style.setDecoration(TextDecoration::kUnderline); in DEF_TEST()
540 text_style.setDecoration(TextDecoration::kUnderline); in DEF_TEST()
594 text_style.setDecoration(TextDecoration::kUnderline); in DEF_TEST()
648 text_style.setDecoration(TextDecoration::kUnderline); in DEF_TEST()
701 text_style.setDecoration(TextDecoration::kUnderline); in DEF_TEST()
836 text_style.setDecoration(TextDecoration::kUnderline); in DEF_TEST()
[all …]
/external/skia/modules/skparagraph/src/
DTextLine.cpp91 if (b->fStyle.getDecorationType() != TextDecoration::kNoDecoration) { in TextLine()
363 if (style.getDecorationType() == TextDecoration::kNoDecoration) { in paintDecorations()
400 case TextDecoration::kUnderline: in paintDecorations()
409 case TextDecoration::kOverline: in paintDecorations()
412 case TextDecoration::kLineThrough: { in paintDecorations()
DTextStyle.cpp13 fDecoration.fType = TextDecoration::kNoDecoration; in TextStyle()
/external/pdfium/core/fxcrt/css/
Dcfx_css.h121 TextDecoration, enumerator
Dcfx_cssstylesheet_unittest.cpp134 VerifyList(CFX_CSSProperty::TextDecoration, in TEST_F()
Dcfx_cssdata.cpp186 {PROP(CFX_CSSProperty::TextDecoration,
Dcfx_cssstyleselector.cpp403 case CFX_CSSProperty::TextDecoration: in ApplyProperty()
/external/skia/samplecode/
DSampleParagraph.cpp129 bool test = (TextDecoration)decoration != TextDecoration::kNoDecoration; in drawTest()
132 style.setDecoration((TextDecoration)decoration); in drawTest()
584 style0.setDecoration(TextDecoration::kUnderline); in drawFlutter()
593 style1.setDecoration(TextDecoration::kOverline); in drawFlutter()
1362 …text_style.setDecoration((TextDecoration)(TextDecoration::kUnderline | TextDecoration::kOverline |… in onDrawContent()