Searched refs:text_style (Results 1 – 7 of 7) sorted by relevance
/external/skia/modules/skparagraph/samples/ |
D | SampleParagraph.cpp | 1227 TextStyle text_style; in onDrawContent() local 1228 text_style.setFontFamilies({SkString("Roboto"), in onDrawContent() 1231 text_style.setFontSize(10 * multiplier); in onDrawContent() 1232 text_style.setLetterSpacing(0); in onDrawContent() 1233 text_style.setWordSpacing(0); in onDrawContent() 1234 text_style.setColor(SK_ColorBLACK); in onDrawContent() 1235 text_style.setHeight(1); in onDrawContent() 1236 builder.pushStyle(text_style); in onDrawContent() 1259 TextStyle text_style; in onDrawContent() local 1260 text_style.setFontFamilies({SkString("Ahem")}); in onDrawContent() [all …]
|
/external/skia/modules/skparagraph/tests/ |
D | SkParagraphTest.cpp | 195 TextStyle text_style; in DEF_TEST() local 196 text_style.setFontFamilies({SkString("Roboto")}); in DEF_TEST() 197 text_style.setColor(SK_ColorBLACK); in DEF_TEST() 198 builder.pushStyle(text_style); in DEF_TEST() 209 REPORTER_ASSERT(reporter, impl->styles()[0].fStyle.equals(text_style)); in DEF_TEST() 236 TextStyle text_style; in DEF_TEST() local 237 text_style.setFontFamilies({SkString("Roboto")}); in DEF_TEST() 238 text_style.setColor(SK_ColorBLACK); in DEF_TEST() 239 text_style.setFontSize(26); in DEF_TEST() 240 text_style.setWordSpacing(5); in DEF_TEST() [all …]
|
/external/fmtlib/include/fmt/ |
D | color.h | 227 class text_style { 229 FMT_CONSTEXPR text_style(emphasis em = emphasis()) FMT_NOEXCEPT 234 FMT_CONSTEXPR text_style& operator|=(const text_style& rhs) { 258 friend FMT_CONSTEXPR text_style operator|(text_style lhs, 259 const text_style& rhs) { 263 FMT_CONSTEXPR text_style& operator&=(const text_style& rhs) { 287 friend FMT_CONSTEXPR text_style operator&(text_style lhs, 288 const text_style& rhs) { 315 FMT_CONSTEXPR text_style(bool is_foreground, in text_style() function 329 friend FMT_CONSTEXPR_DECL text_style fg(detail::color_type foreground) [all …]
|
/external/skia/modules/skparagraph/include/ |
D | Metrics.h | 12 StyleMetrics(const TextStyle* style) : text_style(style) {} in StyleMetrics() 15 : text_style(style), font_metrics(metrics) {} in StyleMetrics() 17 const TextStyle* text_style; variable
|
/external/fmtlib/test/ |
D | color-test.cc | 42 EXPECT_WRITE(stdout, fmt::print(fmt::text_style(), "hi"), "hi"); in TEST() 79 EXPECT_EQ(fmt::format(fmt::text_style(), "hi"), "hi"); in TEST() 93 fmt::text_style ts = fg(fmt::rgb(255, 20, 30)); in TEST()
|
/external/fmtlib/doc/ |
D | api.rst | 444 .. doxygenfunction:: print(const text_style&, const S&, const Args&...)
|
/external/fmtlib/ |
D | ChangeLog.rst | 253 * Added ``fmt::format_to`` overload that take ``text_style`` 1083 * The overload of ``print`` that takes ``text_style`` is now atomic, i.e. the 1413 * Added ``fmt::format`` and ``fmt::vformat`` overloads that take ``text_style`` 1427 ``print`` overloads that take ``text_style`` instead.
|