/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
D | FontComplexTextMac.cpp | 94 void Font::drawComplexText(GraphicsContext* context, const TextRunPaintInfo& runInfo, const FloatPo… in drawComplexText() argument 98 HarfBuzzShaper shaper(this, runInfo.run); in drawComplexText() 99 shaper.setDrawRange(runInfo.from, runInfo.to); in drawComplexText() 101 drawGlyphBuffer(context, runInfo, glyphBuffer, point); in drawComplexText() 108 …at startX = point.x() + getGlyphsAndAdvancesForComplexText(runInfo.run, runInfo.from, runInfo.to, … in drawComplexText() 116 drawGlyphBuffer(context, runInfo, glyphBuffer, startPoint); in drawComplexText() 119 …sisMarksForComplexText(GraphicsContext* context, const TextRunPaintInfo& runInfo, const AtomicStri… in drawEmphasisMarksForComplexText() argument 122 …float initialAdvance = getGlyphsAndAdvancesForComplexText(runInfo.run, runInfo.from, runInfo.to, g… in drawEmphasisMarksForComplexText() 127 …drawEmphasisMarks(context, runInfo, glyphBuffer, mark, FloatPoint(point.x() + initialAdvance, poin… in drawEmphasisMarksForComplexText()
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | WebFontImpl.cpp | 97 TextRunPaintInfo runInfo(textRun); in drawText() local 98 runInfo.from = from; in drawText() 99 runInfo.to = to == -1 ? textRun.length() : to; in drawText() 100 runInfo.bounds = textClipRect; in drawText() 107 m_font.drawText(&gc, runInfo, leftBaseline); in drawText()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
D | Font.cpp | 170 void Font::drawText(GraphicsContext* context, const TextRunPaintInfo& runInfo, const FloatPoint& po… in drawText() argument 178 CodePath codePathToUse = codePath(runInfo.run); in drawText() 180 …if (codePathToUse != Complex && typesettingFeatures() && (runInfo.from || runInfo.to != runInfo.ru… in drawText() 184 return drawSimpleText(context, runInfo, point); in drawText() 186 return drawComplexText(context, runInfo, point); in drawText() 189 void Font::drawEmphasisMarks(GraphicsContext* context, const TextRunPaintInfo& runInfo, const Atomi… in drawEmphasisMarks() argument 194 CodePath codePathToUse = codePath(runInfo.run); in drawEmphasisMarks() 196 …if (codePathToUse != Complex && typesettingFeatures() && (runInfo.from || runInfo.to != runInfo.ru… in drawEmphasisMarks() 200 drawEmphasisMarksForSimpleText(context, runInfo, mark, point); in drawEmphasisMarks() 202 drawEmphasisMarksForComplexText(context, runInfo, mark, point); in drawEmphasisMarks()
|
D | FontFastPath.cpp | 427 void Font::drawSimpleText(GraphicsContext* context, const TextRunPaintInfo& runInfo, const FloatPoi… in drawSimpleText() argument 432 …float startX = point.x() + getGlyphsAndAdvancesForSimpleText(runInfo.run, runInfo.from, runInfo.to… in drawSimpleText() 438 drawGlyphBuffer(context, runInfo, glyphBuffer, startPoint); in drawSimpleText() 441 void Font::drawEmphasisMarksForSimpleText(GraphicsContext* context, const TextRunPaintInfo& runInfo… in drawEmphasisMarksForSimpleText() argument 444 …float initialAdvance = getGlyphsAndAdvancesForSimpleText(runInfo.run, runInfo.from, runInfo.to, gl… in drawEmphasisMarksForSimpleText() 449 …drawEmphasisMarks(context, runInfo, glyphBuffer, mark, FloatPoint(point.x() + initialAdvance, poin… in drawEmphasisMarksForSimpleText() 452 void Font::drawGlyphBuffer(GraphicsContext* context, const TextRunPaintInfo& runInfo, const GlyphBu… in drawGlyphBuffer() argument 461 TextRun::RenderingContext* renderingContext = runInfo.run.renderingContext(); in drawGlyphBuffer() 469 …renderingContext->drawSVGGlyphs(context, runInfo.run, fontData, glyphBuffer, lastFrom, nextGlyph -… in drawGlyphBuffer() 472 …Glyphs(context, fontData, glyphBuffer, lastFrom, nextGlyph - lastFrom, startPoint, runInfo.bounds); in drawGlyphBuffer() [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ |
D | FontHarfBuzz.cpp | 165 void Font::drawComplexText(GraphicsContext* gc, const TextRunPaintInfo& runInfo, const FloatPoint& … in drawComplexText() argument 167 if (!runInfo.run.length()) in drawComplexText() 180 HarfBuzzShaper shaper(this, runInfo.run); in drawComplexText() 181 shaper.setDrawRange(runInfo.from, runInfo.to); in drawComplexText() 185 drawGlyphBuffer(gc, runInfo, glyphBuffer, adjustedPoint); in drawComplexText()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
D | FontWin.cpp | 177 const TextRunPaintInfo& runInfo, in drawComplexText() argument 180 UniscribeHelperTextRun state(runInfo.run, *this); in drawComplexText() 191 …(point.x()), lroundf(point.y() - fontMetrics().ascent()), runInfo.bounds, runInfo.from, runInfo.to… in drawComplexText()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderEmbeddedObject.cpp | 157 TextRunPaintInfo runInfo(run); in paintReplaced() local 158 runInfo.bounds = replacementTextRect; in paintReplaced() 161 context->drawBidiText(font, runInfo, FloatPoint(labelX, labelY)); in paintReplaced()
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | GraphicsContext.cpp | 1001 void GraphicsContext::drawText(const Font& font, const TextRunPaintInfo& runInfo, const FloatPoint&… in drawText() argument 1006 font.drawText(this, runInfo, point); in drawText() 1009 void GraphicsContext::drawEmphasisMarks(const Font& font, const TextRunPaintInfo& runInfo, const At… in drawEmphasisMarks() argument 1014 font.drawEmphasisMarks(this, runInfo, mark, point); in drawEmphasisMarks() 1017 void GraphicsContext::drawBidiText(const Font& font, const TextRunPaintInfo& runInfo, const FloatPo… in drawBidiText() argument 1023 const TextRun& run = runInfo.run; in drawBidiText() 1024 ASSERT((runInfo.from == 0) && (runInfo.to == run.length())); in drawBidiText() 1045 subrunInfo.bounds = runInfo.bounds; in drawBidiText()
|