Home | History | Annotate | Download | only in rendering

Lines Matching refs:startPos

143 bool InlineTextBox::isSelected(int startPos, int endPos) const
145 int sPos = max(startPos - m_start, 0);
156 int startPos, endPos;
157 renderer().selectionStartEnd(startPos, endPos);
164 bool start = (state != RenderObject::SelectionEnd && startPos >= m_start && startPos <= m_start + m_len + endOfLineAdjustmentForCSSLineBreak);
172 else if ((state == RenderObject::SelectionEnd || startPos < m_start) &&
198 LayoutRect InlineTextBox::localSelectionRect(int startPos, int endPos)
200 int sPos = max(startPos - m_start, 0);
790 int startPos, endPos;
792 startPos = 0;
795 textRenderer().selectionStartEnd(startPos, endPos);
799 startPos = 0;
802 sPos = max(startPos - m_start, 0);
878 void InlineTextBox::paintSingleCompositionBackgroundRun(GraphicsContext* context, const FloatPoint& boxOrigin, RenderStyle* style, const Font& font, Color backgroundColor, int startPos, int endPos)
880 int sPos = std::max(startPos - m_start, 0);
1525 unsigned startPos = start();
1528 if (string.length() != length || startPos)
1529 string.narrow(startPos, length);
1531 return constructTextRun(style, font, string, textRenderer().textLength() - startPos, charactersWithHyphen);