Lines Matching defs:textParam
1422 TextParam* textParam = new TextParam;
1423 if (textParam == nullptr) {
1427 textParam->text = text;
1428 textParam->fontStyle = fontStyle;
1429 textParam->fontOpa = paint.GetOpacity();
1430 textParam->fontColor = paint.GetFillColor();
1431 textParam->position = point;
1433 cmd.param = textParam;
1490 TextParam* textParam = static_cast<TextParam*>(param);
1491 if (textParam == nullptr) {
1494 if (textParam->fontStyle.fontSize <= 0) {
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));
1505 GetAbsolutePosition(textParam->position, rect, style, start);
1508 drawStyle.textColor_ = textParam->fontColor;
1509 drawStyle.lineColor_ = textParam->fontColor;
1510 drawStyle.bgColor_ = textParam->fontColor;
1511 drawStyle.SetStyle(STYLE_LETTER_SPACE, textParam->fontStyle.letterSpace);
1518 OpacityType opa = DrawUtils::GetMixOpacity(textParam->fontOpa, style.bgOpa_);