Home | History | Annotate | Download | only in rendering

Lines Matching refs:ePos

115     int ePos = min(endPos - m_start, (int)m_len);
116 return (sPos < ePos);
177 int ePos = min(endPos - m_start, (int)m_len);
179 if (sPos > ePos)
191 if (ePos == len && hasHyphen()) {
193 ePos = len;
197 IntPoint(), selHeight, sPos, ePos));
656 int ePos = 0;
658 selectionStartEnd(sPos, ePos);
662 ePos = min<int>(ePos, m_truncation);
680 if (!paintSelectedTextSeparately || ePos <= sPos) {
684 paintTextWithShadows(context, font, textRun, nullAtom, 0, ePos, sPos, length, textOrigin, boxRect, textShadow, textStrokeWidth > 0, isHorizontal());
695 if (!paintSelectedTextSeparately || ePos <= sPos) {
699 paintTextWithShadows(context, combinedText ? combinedText->originalFont() : font, emphasisMarkTextRun, emphasisMark, emphasisMarkOffset, ePos, sPos, length, emphasisMarkTextOrigin, boxRect, textShadow, textStrokeWidth > 0, isHorizontal());
709 if ((paintSelectedTextOnly || paintSelectedTextSeparately) && sPos < ePos) {
715 paintTextWithShadows(context, font, textRun, nullAtom, 0, sPos, ePos, length, textOrigin, boxRect, selectionShadow, selectionStrokeWidth > 0, isHorizontal());
725 paintTextWithShadows(context, combinedText ? combinedText->originalFont() : font, emphasisMarkTextRun, emphasisMark, emphasisMarkOffset, sPos, ePos, length, emphasisMarkTextOrigin, boxRect, selectionShadow, selectionStrokeWidth > 0, isHorizontal());
774 void InlineTextBox::selectionStartEnd(int& sPos, int& ePos)
789 ePos = min(endPos - m_start, (int)m_len);
795 int sPos, ePos;
796 selectionStartEnd(sPos, ePos);
797 if (sPos >= ePos)
819 if (ePos == length && hasHyphen()) {
821 ePos = length;
830 localOrigin, selHeight, c, style->colorSpace(), sPos, ePos);
838 int ePos = min(endPos - offset, (int)m_len);
840 if (sPos >= ePos)
854 localOrigin, selHeight, c, style->colorSpace(), sPos, ePos);
1058 int ePos = min(marker.endOffset - m_start, (unsigned)m_len);
1062 IntRect markerRect = enclosingIntRect(font.selectionRectForText(run, IntPoint(m_x, selectionTop()), selHeight, sPos, ePos));
1074 pt->drawHighlightForText(font, run, FloatPoint(boxOrigin.x(), boxOrigin.y() - deltaY), selHeight, color, style->colorSpace(), sPos, ePos, marker.activeMatch);
1077 pt->drawHighlightForText(font, run, FloatPoint(boxOrigin.x(), boxOrigin.y() - deltaY), selHeight, color, style->colorSpace(), sPos, ePos);
1090 int ePos = min(marker.endOffset - m_start, (unsigned)m_len);
1095 IntRect markerRect = enclosingIntRect(font.selectionRectForText(run, startPoint, h, sPos, ePos));