/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderBR.h | 41 virtual float width(unsigned /*from*/, unsigned /*len*/, const Font&, float /*xPos*/, TextDirection, HashSet<const SimpleFontData*>* = 0 /*fallbackFonts*/ , GlyphOverflow* = 0) const OVERRIDE { return 0; } 42 virtual float width(unsigned /*from*/, unsigned /*len*/, float /*xpos*/, TextDirection, bool = false /*firstLine*/, HashSet<const SimpleFontData*>* = 0 /*fallbackFonts*/, GlyphOverflow* = 0) const OVERRIDE { return 0; }
|
RenderCombineText.h | 42 virtual float width(unsigned from, unsigned length, const Font&, float xPosition, TextDirection, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const OVERRIDE;
|
RenderText.h | 88 virtual float width(unsigned from, unsigned len, const Font&, float xPos, TextDirection, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const; 89 virtual float width(unsigned from, unsigned len, float xPos, TextDirection, bool firstLine = false, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const; 163 void computePreferredLogicalWidths(float leadWidth, HashSet<const SimpleFontData*>& fallbackFonts, GlyphOverflow&); 178 float widthFromCache(const Font&, int start, int len, float xPos, TextDirection, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow*) const;
|
RenderCombineText.cpp | 58 float RenderCombineText::width(unsigned from, unsigned length, const Font& font, float xPosition, TextDirection direction, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const 69 return RenderText::width(from, length, font, xPosition, direction, fallbackFonts, glyphOverflow);
|
InlineFlowBox.h | 38 struct GlyphOverflow; 40 typedef HashMap<const InlineTextBox*, pair<Vector<const SimpleFontData*>, GlyphOverflow> > GlyphOverflowAndFallbackFontsMap;
|
RenderText.cpp | 714 ALWAYS_INLINE float RenderText::widthFromCache(const Font& f, int start, int len, float xPos, TextDirection textDirection, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const 722 if (f.isFixedPitch() && f.fontDescription().variant() == FontVariantNormal && m_isAllASCII && (!glyphOverflow || !glyphOverflow->computeBounds)) { 762 return f.width(run, fallbackFonts, glyphOverflow); [all...] |
RenderBlockLineLayout.cpp | 370 GlyphOverflow glyphOverflow; 384 glyphOverflow.computeBounds = true; 438 measuredWidth = renderer->width(run->m_start, run->m_stop - run->m_start, xPos, run->direction(), lineInfo.isFirstLine(), &fallbackFonts, &glyphOverflow); 443 GlyphOverflowAndFallbackFontsMap::ValueType* it = textBoxDataMap.add(toInlineTextBox(run->m_box), std::make_pair(Vector<const SimpleFontData*>(), GlyphOverflow())).storedValue; 448 if (!glyphOverflow.isZero()) { 450 GlyphOverflowAndFallbackFontsMap::ValueType* it = textBoxDataMap.add(toInlineTextBox(run->m_box), std::make_pair(Vector<const SimpleFontData*>(), GlyphOverflow())).storedValue; 451 it->value.second = glyphOverflow; [all...] |
RootInlineBox.cpp | 627 GlyphOverflow* glyphOverflow = 0; 631 glyphOverflow = it == textBoxDataMap.end() ? 0 : &it->value.second; 686 if (includeGlyphsForBox(box) && glyphOverflow && glyphOverflow->computeBounds) { 687 setAscentAndDescent(ascent, descent, glyphOverflow->top, glyphOverflow->bottom, ascentDescentSet); 688 affectsAscent = glyphOverflow->top - box->logicalTop() > 0; 689 affectsDescent = glyphOverflow->bottom + box->logicalTop() > 0; 690 glyphOverflow->top = std::min(glyphOverflow->top, std::max(0, glyphOverflow->top - box->renderer().style(isFirst (…) [all...] |
InlineFlowBox.cpp | [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
Font.h | 63 struct GlyphOverflow { 64 GlyphOverflow() 106 float width(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const;
|
Font.cpp | 142 const FontMetrics& fontMetrics, GlyphOverflow* glyphOverflow) 144 glyphOverflow->top = std::max<int>(glyphOverflow->top, 145 glyphBounds.top() - (glyphOverflow->computeBounds ? 0 : fontMetrics.ascent())); 146 glyphOverflow->bottom = std::max<int>(glyphOverflow->bottom, 147 glyphBounds.bottom() - (glyphOverflow->computeBounds ? 0 : fontMetrics.descent())); 148 glyphOverflow->left = glyphBounds.left(); 149 glyphOverflow->right = glyphBounds.right() [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/ |
BreakingContextInlineHeaders.h | 518 GlyphOverflow glyphOverflow; 520 return text->width(from, len, font, xPos, text->style()->direction(), fallbackFonts, &glyphOverflow); 527 return font.width(run, fallbackFonts, &glyphOverflow); [all...] |