Home | History | Annotate | Download | only in rendering

Lines Matching full:xpos

432 ALWAYS_INLINE int RenderText::widthFromCache(const Font& f, int start, int len, int xPos, HashSet<const SimpleFontData*>* fallbackFonts) const
447 w += tabWidth ? tabWidth - ((xPos + w) % tabWidth) : monospaceCharacterWidth;
462 return f.width(TextRun(text()->characters() + start, len, allowTabs(), xPos), fallbackFonts);
1084 unsigned RenderText::width(unsigned from, unsigned len, int xPos, bool firstLine, HashSet<const SimpleFontData*>* fallbackFonts) const
1092 return width(from, len, style(firstLine)->font(), xPos, fallbackFonts);
1095 unsigned RenderText::width(unsigned from, unsigned len, const Font& f, int xPos, HashSet<const SimpleFontData*>* fallbackFonts) const
1114 w = widthFromCache(f, from, len, xPos, fallbackFonts);
1116 w = f.width(TextRun(text()->characters() + from, len, allowTabs(), xPos), fallbackFonts);