• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/WebCore-7537.78.1/rendering/

Lines Matching defs:ePos

136     LayoutUnit ePos = min<LayoutUnit>(endPos - m_start, m_len);
137 return (sPos < ePos);
196 int ePos = min(endPos - m_start, (int)m_len);
198 if (sPos > ePos)
210 bool respectHyphen = ePos == m_len && hasHyphen();
217 if (sPos || ePos != static_cast<int>(m_len))
218 r = enclosingIntRect(font.selectionRectForText(textRun, startingPoint, selHeight, sPos, ePos));
725 int ePos = 0;
727 selectionStartEnd(sPos, ePos);
731 ePos = min<int>(ePos, m_truncation);
748 if (!paintSelectedTextSeparately || ePos <= sPos) {
752 paintTextWithShadows(context, font, textRun, nullAtom, 0, ePos, sPos, length, textOrigin, boxRect, textShadow, textStrokeWidth > 0, isHorizontal());
763 if (!paintSelectedTextSeparately || ePos <= sPos) {
767 paintTextWithShadows(context, combinedText ? combinedText->originalFont() : font, emphasisMarkTextRun, emphasisMark, emphasisMarkOffset, ePos, sPos, length, emphasisMarkTextOrigin, boxRect, textShadow, textStrokeWidth > 0, isHorizontal());
774 if ((paintSelectedTextOnly || paintSelectedTextSeparately) && sPos < ePos) {
779 paintTextWithShadows(context, font, textRun, nullAtom, 0, sPos, ePos, length, textOrigin, boxRect, selectionShadow, selectionStrokeWidth > 0, isHorizontal());
789 paintTextWithShadows(context, combinedText ? combinedText->originalFont() : font, emphasisMarkTextRun, emphasisMark, emphasisMarkOffset, sPos, ePos, length, emphasisMarkTextOrigin, boxRect, selectionShadow, selectionStrokeWidth > 0, isHorizontal());
840 void InlineTextBox::selectionStartEnd(int& sPos, int& ePos)
855 ePos = min(endPos - m_start, (int)m_len);
871 int sPos, ePos;
872 selectionStartEnd(sPos, ePos);
873 if (sPos >= ePos)
899 bool respectHyphen = ePos == length && hasHyphen();
902 ePos = textRun.length();
916 context->drawHighlightForText(font, textRun, localOrigin, selHeight, c, style->colorSpace(), sPos, ePos);
923 int ePos = min(endPos - offset, (int)m_len);
925 if (sPos >= ePos)
937 context->drawHighlightForText(font, constructTextRun(style, font), localOrigin, selHeight, c, style->colorSpace(), sPos, ePos);
1376 int ePos = min(marker->endOffset() - m_start, (unsigned)m_len);
1380 IntRect markerRect = enclosingIntRect(font.selectionRectForText(run, IntPoint(x(), selectionTop()), selHeight, sPos, ePos));
1392 pt->drawHighlightForText(font, run, FloatPoint(boxOrigin.x(), boxOrigin.y() - deltaY), selHeight, color, style->colorSpace(), sPos, ePos);
1403 int ePos = min(marker->endOffset() - m_start, (unsigned)m_len);
1408 IntRect markerRect = enclosingIntRect(font.selectionRectForText(run, startPoint, h, sPos, ePos));