Lines Matching defs:text
22 using namespace skia::text;
32 skia::text::Paint::drawText(u"Hello word", canvas, 0, 0);
47 const std::u16string& text,
60 Paint::drawText(direction == TextDirection::kRtl ? mirror(text) : normal(text),
68 std::u16string mirror(const std::u16string& text) {
71 for (auto i = text.size(); i > 0; --i) {
72 result += text[i - 1];
74 //for (auto ch : text) {
81 std::u16string normal(const std::u16string& text) {
84 for (auto ch : text) {
97 const std::u16string line = u"One line of text";
133 "very very very very very very very very very very very very very long text", canvas, this->width());
146 std::u16string mirror(const std::string& text) {
149 for (auto i = text.size(); i > 0; --i) {
150 result += text[i - 1];
152 for (auto ch : text) {