Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_drag/
H A Dtext_drag_pattern.cpp171 float textEnd = textStart + GetTextRect().Width(); in GenerateClipPath() local
182 endX = std::min(selectPosition.endX_, textEnd); in GenerateClipPath()
184 path->LineTo(textEnd, startY); in GenerateClipPath()
185 path->LineTo(textEnd, endY); in GenerateClipPath()
225 float textEnd = textStart + GetTextRect().Width(); in GenerateBackgroundPoints() local
241 points.push_back(TextPoint(textEnd + offset, startY - offset)); in GenerateBackgroundPoints()
242 if (textEnd - radius < endX + radius) { in GenerateBackgroundPoints()
243 points.push_back(TextPoint(textEnd + offset, endY + lastLineHeight_ + offset)); in GenerateBackgroundPoints()
245 points.push_back(TextPoint(textEnd + offset, endY + offset)); in GenerateBackgroundPoints()
258 points.push_back(TextPoint(textEnd + offset, startY - offset)); in GenerateBackgroundPoints()