Home
last modified time | relevance | path

Searched refs:textPaintOffsetY (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/
H A Dcalendar_paint_method.cpp97 double textPaintOffsetY = (boxRect.Height() - textHeight) / 2.0; in DrawCalendarText() local
98 paragraph->Paint(canvas, offset.GetX() + textPaintOffsetX, offset.GetY() + textPaintOffsetY); in DrawCalendarText()
99 …textRect.SetRect(offset.GetX() + textPaintOffsetX, offset.GetY() + textPaintOffsetY, textWidth, te… in DrawCalendarText()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Drosen_render_calendar.cpp104 double textPaintOffsetY = (boxRect.Height() - textHeight) / 2.0; in GetTextParagraph() local
105 paragraph->Paint(canvas, offset.GetX() + textPaintOffsetX, offset.GetY() + textPaintOffsetY); in GetTextParagraph()
106 …textRect.SetRect(offset.GetX() + textPaintOffsetX, offset.GetY() + textPaintOffsetY, textWidth, te… in GetTextParagraph()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp10227 float textPaintOffsetY = textPaintOffset.GetY() - (minDet / 2.0); in OnBackPressed() local
10228 float textOffsetClickY = realLastClickOffsetY - textPaintOffsetY; in OnBackPressed()
10229 float textOffsetDownY = realCaretOffsetY - textPaintOffsetY; in OnBackPressed()
10260 float textPaintOffsetY = textPaintOffset.GetY() - (minDet / 2.0); in OnBackPressed() local
10262 textOffset = { 0, lastClickOffset_.GetY() - textPaintOffsetY }; in OnBackPressed()
10264 textOffset = { 0, caretOffsetDown.GetY() - textPaintOffsetY }; in OnBackPressed()