Home | History | Annotate | Download | only in rendering

Lines Matching full:spos

58     int sPos = max(startPos - m_start, 0);
60 return (sPos < ePos);
108 int sPos = max(startPos - m_start, 0);
111 if (sPos > ePos)
120 IntPoint(tx + m_x, ty + selTop), selHeight, sPos, ePos));
477 int sPos = 0;
480 selectionStartEnd(sPos, ePos);
484 sPos = min<int>(sPos, m_truncation);
496 if (!paintSelectedTextSeparately || ePos <= sPos) {
500 paintTextWithShadows(context, font, textRun, ePos, sPos, length, textOrigin, m_x + tx, m_y + ty, width(), height(), textShadow, textStrokeWidth > 0);
506 if ((paintSelectedTextOnly || paintSelectedTextSeparately) && sPos < ePos) {
512 paintTextWithShadows(context, font, textRun, sPos, ePos, length, textOrigin, m_x + tx, m_y + ty, width(), height(), selectionShadow, selectionStrokeWidth > 0);
554 void InlineTextBox::selectionStartEnd(int& sPos, int& ePos)
568 sPos = max(startPos - m_start, 0);
575 int sPos, ePos;
576 selectionStartEnd(sPos, ePos);
577 if (sPos >= ePos)
600 IntPoint(m_x + tx, y + ty), h, c, style->colorSpace(), sPos, ePos);
607 int sPos = max(startPos - offset, 0);
610 if (sPos >= ePos)
623 IntPoint(m_x + tx, y + ty), h, c, style->colorSpace(), sPos, ePos);
805 int sPos = max(marker.startOffset - m_start, (unsigned)0);
810 IntRect markerRect = enclosingIntRect(font.selectionRectForText(run, IntPoint(m_x, y), h, sPos, ePos));
822 pt->drawHighlightForText(font, run, IntPoint(m_x + tx, y + ty), h, color, style->colorSpace(), sPos, ePos);
833 int sPos = max(marker.startOffset - m_start, (unsigned)0);
839 IntRect markerRect = enclosingIntRect(font.selectionRectForText(run, startPoint, h, sPos, ePos));