Lines Matching defs:text
647 const char* text,
652 if (text == nullptr) {
665 label->SetText(text);
1416 void UICanvas::StrokeText(const char* text, const Point& point, const FontStyle& fontStyle, const Paint& paint)
1418 if (text == nullptr) {
1427 textParam->text = text;
1444 Point UICanvas::MeasureText(const char* text, const FontStyle& fontStyle)
1447 textCompent->SetText(text);
1497 Text* text = textParam->textComment;
1498 text->SetText(textParam->text);
1499 text->SetFont(textParam->fontStyle.fontName, textParam->fontStyle.fontSize);
1500 text->SetDirect(static_cast<UITextLanguageDirect>(textParam->fontStyle.direct));
1501 text->SetAlign(static_cast<UITextLanguageAlignment>(textParam->fontStyle.align));
1512 text->ReMeasureTextSize(textRect, drawStyle);
1513 if (text->GetTextSize().x == 0 || text->GetTextSize().y == 0) {
1516 textRect.SetWidth(text->GetTextSize().x + 1);
1517 textRect.SetHeight(text->GetTextSize().y + 1);
1522 text->OnDraw(*mapBufferInfo, textImageRect, textImageRect, textImageRect, 0, drawStyle,
1533 text->OnDraw(gfxDstBuffer, invalidatedArea, textRect, textRect, 0,