Home
last modified time | relevance | path

Searched refs:TextShadow (Results 1 – 11 of 11) sorted by relevance

/external/skia/modules/skparagraph/src/
DTextShadow.cpp8 TextShadow::TextShadow() = default;
9 TextShadow::TextShadow(SkColor color, SkPoint offset, double blurSigma) in TextShadow() function in skia::textlayout::TextShadow
12 bool TextShadow::operator==(const TextShadow& other) const { in operator ==()
20 bool TextShadow::operator!=(const TextShadow& other) const { return !(*this == other); } in operator !=()
22 bool TextShadow::hasShadow() const { in hasShadow()
DParagraphImpl.h243 SkTArray<StyleBlock<std::vector<TextShadow>>> fShadowStyles;
DTextLine.cpp370 for (TextShadow shadow : style.getShadows()) { in paintShadow()
/external/skia/modules/skparagraph/include/
DTextShadow.h11 class TextShadow {
17 TextShadow();
19 TextShadow(SkColor color, SkPoint offset, double blurSigma);
21 bool operator==(const TextShadow& other) const;
23 bool operator!=(const TextShadow& other) const;
DTextStyle.h199 std::vector<TextShadow> getShadows() const { return fTextShadows; } in getShadows()
200 void addShadow(TextShadow shadow) { fTextShadows.emplace_back(shadow); } in addShadow()
283 std::vector<TextShadow> fTextShadows;
/external/skia/modules/skparagraph/
Dskparagraph.gni11 "$_include/TextShadow.h",
38 "$_src/TextShadow.cpp",
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts2738 export interface TextShadow { interface
2763 shadows?: TextShadow[];
/external/skia/modules/canvaskit/
Dparagraph_bindings.cpp191 para::TextShadow shadow(colors[i].toSkColor(), offsets[i], blurRadii[i]); in toTextStyle()
/external/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp4072 text_style.addShadow(TextShadow(SK_ColorBLACK, SkPoint::Make(2.0f, 2.0f), 1.0)); in DEF_TEST()
4110 text_style.addShadow(TextShadow(SK_ColorBLACK, SkPoint::Make(2.0f, 2.0f), 1.0f)); in DEF_TEST()
4114 text_style.addShadow(TextShadow(SK_ColorRED, SkPoint::Make(2.0f, 2.0f), 5.0f)); in DEF_TEST()
4115 text_style.addShadow(TextShadow(SK_ColorGREEN, SkPoint::Make(10.0f, -5.0f), 3.0f)); in DEF_TEST()
4122 text_style.addShadow(TextShadow(SK_ColorRED, SkPoint::Make(0.0f, 1.0f), 0.0f)); in DEF_TEST()
/external/skia/modules/skparagraph/samples/
DSampleParagraph.cpp130 style.addShadow(TextShadow(SK_ColorBLACK, SkPoint::Make(5, 5), 2)); in drawTest()
1800 text_style.addShadow(TextShadow(SK_ColorBLACK, SkPoint::Make(h, v), b)); in onDrawContent()
/external/skia/
DAndroid.bp2448 "modules/skparagraph/src/TextShadow.cpp",
3598 "modules/skparagraph/src/TextShadow.cpp",