/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 | 87 virtual float width(unsigned from, unsigned len, const Font&, float xPos, TextDirection, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const; 88 virtual float width(unsigned from, unsigned len, float xPos, TextDirection, bool firstLine = false, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const; 165 void computePreferredLogicalWidths(float leadWidth, HashSet<const SimpleFontData*>& fallbackFonts, GlyphOverflow&); 180 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 | 37 struct GlyphOverflow; 39 typedef HashMap<const InlineTextBox*, pair<Vector<const SimpleFontData*>, GlyphOverflow> > GlyphOverflowAndFallbackFontsMap;
|
RenderText.cpp | 708 ALWAYS_INLINE float RenderText::widthFromCache(const Font& f, int start, int len, float xPos, TextDirection textDirection, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const 716 if (f.isFixedPitch() && f.fontDescription().variant() == FontVariantNormal && m_isAllASCII && (!glyphOverflow || !glyphOverflow->computeBounds)) { 756 return f.width(run, fallbackFonts, glyphOverflow); [all...] |
RenderBlockLineLayout.cpp | 420 GlyphOverflow glyphOverflow; 434 glyphOverflow.computeBounds = true; 488 measuredWidth = renderer->width(run->m_start, run->m_stop - run->m_start, xPos, run->direction(), lineInfo.isFirstLine(), &fallbackFonts, &glyphOverflow); 493 GlyphOverflowAndFallbackFontsMap::ValueType* it = textBoxDataMap.add(toInlineTextBox(run->m_box), make_pair(Vector<const SimpleFontData*>(), GlyphOverflow())).storedValue; 498 if ((glyphOverflow.top || glyphOverflow.bottom || glyphOverflow.left || glyphOverflow.right)) { 500 GlyphOverflowAndFallbackFontsMap::ValueType* it = textBoxDataMap.add(toInlineTextBox(run->m_box), make_pair(Vector<const SimpleFontData*>(), GlyphOverflow())).storedValue [all...] |
RootInlineBox.cpp | 634 GlyphOverflow* glyphOverflow = 0; 638 glyphOverflow = it == textBoxDataMap.end() ? 0 : &it->value.second; 693 if (includeGlyphsForBox(box) && glyphOverflow && glyphOverflow->computeBounds) { 694 setAscentAndDescent(ascent, descent, glyphOverflow->top, glyphOverflow->bottom, ascentDescentSet); 695 affectsAscent = glyphOverflow->top - box->logicalTop() > 0; 696 affectsDescent = glyphOverflow->bottom + box->logicalTop() > 0; 697 glyphOverflow->top = min(glyphOverflow->top, max(0, glyphOverflow->top - box->renderer().style(isFirstLineStyle( (…) [all...] |
InlineFlowBox.cpp | [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
Font.h | 60 struct GlyphOverflow { 61 GlyphOverflow() 98 float width(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const;
|
WidthCache.h | 39 struct GlyphOverflow;
|
Font.cpp | 141 const FontMetrics& fontMetrics, GlyphOverflow* glyphOverflow) 143 glyphOverflow->top = max<int>(glyphOverflow->top, 144 glyphBounds.top() - (glyphOverflow->computeBounds ? 0 : fontMetrics.ascent())); 145 glyphOverflow->bottom = max<int>(glyphOverflow->bottom, 146 glyphBounds.bottom() - (glyphOverflow->computeBounds ? 0 : fontMetrics.descent())); 147 glyphOverflow->left = glyphBounds.left(); 148 glyphOverflow->right = glyphBounds.right() [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/ |
BreakingContextInlineHeaders.h | 511 GlyphOverflow glyphOverflow; 513 return text->width(from, len, font, xPos, text->style()->direction(), fallbackFonts, &glyphOverflow); 519 return font.width(run, fallbackFonts, &glyphOverflow); [all...] |