/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
D | FontComplexTextMac.cpp | 70 float Font::getGlyphsAndAdvancesForComplexText(const TextRunPaintInfo& runInfo, GlyphBuffer& glyphB… in getGlyphsAndAdvancesForComplexText() argument 74 ComplexTextController controller(this, runInfo.run, false, 0, forTextEmphasis); in getGlyphsAndAdvancesForComplexText() 75 controller.advance(runInfo.from); in getGlyphsAndAdvancesForComplexText() 77 controller.advance(runInfo.to, &glyphBuffer); in getGlyphsAndAdvancesForComplexText() 84 if (runInfo.run.rtl()) { in getGlyphsAndAdvancesForComplexText() 93 float Font::drawComplexText(GraphicsContext* context, const TextRunPaintInfo& runInfo, const FloatP… in drawComplexText() argument 97 HarfBuzzShaper shaper(this, runInfo.run); in drawComplexText() 98 shaper.setDrawRange(runInfo.from, runInfo.to); in drawComplexText() 100 return drawGlyphBuffer(context, runInfo, glyphBuffer, point); in drawComplexText() 106 float startX = point.x() + getGlyphsAndAdvancesForComplexText(runInfo, glyphBuffer); in drawComplexText() [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
D | Font.cpp | 106 float Font::drawText(GraphicsContext* context, const TextRunPaintInfo& runInfo, const FloatPoint& p… in drawText() argument 114 CodePath codePathToUse = codePath(runInfo.run); in drawText() 116 …omplexPath && fontDescription().typesettingFeatures() && (runInfo.from || runInfo.to != runInfo.ru… in drawText() 120 return drawSimpleText(context, runInfo, point); in drawText() 122 return drawComplexText(context, runInfo, point); in drawText() 125 void Font::drawEmphasisMarks(GraphicsContext* context, const TextRunPaintInfo& runInfo, const Atomi… in drawEmphasisMarks() argument 130 CodePath codePathToUse = codePath(runInfo.run); in drawEmphasisMarks() 132 …omplexPath && fontDescription().typesettingFeatures() && (runInfo.from || runInfo.to != runInfo.ru… in drawEmphasisMarks() 136 drawEmphasisMarksForSimpleText(context, runInfo, mark, point); in drawEmphasisMarks() 138 drawEmphasisMarksForComplexText(context, runInfo, mark, point); in drawEmphasisMarks() [all …]
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | WebFontImpl.cpp | 95 TextRunPaintInfo runInfo(textRun); in drawText() local 96 runInfo.from = from; in drawText() 97 runInfo.to = to == -1 ? textRun.length() : to; in drawText() 98 runInfo.bounds = textClipRect; in drawText() 105 m_font.drawText(&gc, runInfo, leftBaseline); in drawText()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ |
D | FontHarfBuzz.cpp | 222 float Font::drawComplexText(GraphicsContext* gc, const TextRunPaintInfo& runInfo, const FloatPoint&… in drawComplexText() argument 224 if (!runInfo.run.length()) in drawComplexText() 235 HarfBuzzShaper shaper(this, runInfo.run); in drawComplexText() 236 shaper.setDrawRange(runInfo.from, runInfo.to); in drawComplexText() 240 return drawGlyphBuffer(gc, runInfo, glyphBuffer, adjustedPoint); in drawComplexText() 243 …sisMarksForComplexText(GraphicsContext* context, const TextRunPaintInfo& runInfo, const AtomicStri… in drawEmphasisMarksForComplexText() argument 247 … float initialAdvance = getGlyphsAndAdvancesForComplexText(runInfo, glyphBuffer, ForTextEmphasis); in drawEmphasisMarksForComplexText() 252 …drawEmphasisMarks(context, runInfo, glyphBuffer, mark, FloatPoint(point.x() + initialAdvance, poin… in drawEmphasisMarksForComplexText() 255 float Font::getGlyphsAndAdvancesForComplexText(const TextRunPaintInfo& runInfo, GlyphBuffer& glyphB… in getGlyphsAndAdvancesForComplexText() argument 257 HarfBuzzShaper shaper(this, runInfo.run, HarfBuzzShaper::ForTextEmphasis); in getGlyphsAndAdvancesForComplexText() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderEmbeddedObject.cpp | 152 TextRunPaintInfo runInfo(run); in paintReplaced() local 153 runInfo.bounds = replacementTextRect; in paintReplaced() 156 context->drawBidiText(font, runInfo, FloatPoint(labelX, labelY)); in paintReplaced()
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | GraphicsContext.cpp | 1003 void GraphicsContext::drawText(const Font& font, const TextRunPaintInfo& runInfo, const FloatPoint&… in drawText() argument 1008 font.drawText(this, runInfo, point); in drawText() 1011 void GraphicsContext::drawEmphasisMarks(const Font& font, const TextRunPaintInfo& runInfo, const At… in drawEmphasisMarks() argument 1016 font.drawEmphasisMarks(this, runInfo, mark, point); in drawEmphasisMarks() 1019 void GraphicsContext::drawBidiText(const Font& font, const TextRunPaintInfo& runInfo, const FloatPo… in drawBidiText() argument 1025 const TextRun& run = runInfo.run; in drawBidiText() 1026 ASSERT((runInfo.from == 0) && (runInfo.to == run.length())); in drawBidiText() 1048 subrunInfo.bounds = runInfo.bounds; in drawBidiText()
|