Home
last modified time | relevance | path

Searched refs:glyphBuffer (Results 1 – 24 of 24) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/
DFontFastPath.cpp325 …vancesForSimpleText(const TextRun& run, int from, int to, GlyphBuffer& glyphBuffer, ForTextEmphasi… in getGlyphsAndAdvancesForSimpleText() argument
332 it.advance(to, &glyphBuffer); in getGlyphsAndAdvancesForSimpleText()
334 if (glyphBuffer.isEmpty()) in getGlyphsAndAdvancesForSimpleText()
346 for (int i = 0, end = glyphBuffer.size() - 1; i < glyphBuffer.size() / 2; ++i, --end) in getGlyphsAndAdvancesForSimpleText()
347 glyphBuffer.swap(i, end); in getGlyphsAndAdvancesForSimpleText()
356 GlyphBuffer glyphBuffer; in drawSimpleText() local
358 float startX = point.x() + getGlyphsAndAdvancesForSimpleText(run, from, to, glyphBuffer); in drawSimpleText()
360 if (glyphBuffer.isEmpty()) in drawSimpleText()
364 drawGlyphBuffer(context, glyphBuffer, startPoint); in drawSimpleText()
369 GlyphBuffer glyphBuffer; in drawEmphasisMarksForSimpleText() local
[all …]
DWidthIterator.cpp77 void WidthIterator::advance(int offset, GlyphBuffer* glyphBuffer) in advance() argument
172 if (glyphBuffer) { in advance()
173 if (glyphBuffer->isEmpty()) in advance()
174glyphBuffer->add(fontData->spaceGlyph(), fontData, m_expansionPerOpportunity); in advance()
176 glyphBuffer->expandLastAdvance(m_expansionPerOpportunity); in advance()
211 if (glyphBuffer) in advance()
212 glyphBuffer->add(glyph, fontData, width); in advance()
224 bool WidthIterator::advanceOneCharacter(float& width, GlyphBuffer* glyphBuffer) in advanceOneCharacter() argument
226 int oldSize = glyphBuffer->size(); in advanceOneCharacter()
227 advance(m_currentCharacter + 1, glyphBuffer); in advanceOneCharacter()
[all …]
DGraphicsContext.h458 …void drawText(const SimpleFontData* fontData, const GlyphBuffer& glyphBuffer, int from, int numGly…
/external/webkit/Source/WebCore/platform/graphics/mac/
DFontComplexTextMac.cpp59 …ancesForComplexText(const TextRun& run, int from, int to, GlyphBuffer& glyphBuffer, ForTextEmphasi… in getGlyphsAndAdvancesForComplexText() argument
66 controller.advance(to, &glyphBuffer); in getGlyphsAndAdvancesForComplexText()
68 if (glyphBuffer.isEmpty()) in getGlyphsAndAdvancesForComplexText()
75 for (int i = 0, end = glyphBuffer.size() - 1; i < glyphBuffer.size() / 2; ++i, --end) in getGlyphsAndAdvancesForComplexText()
76 glyphBuffer.swap(i, end); in getGlyphsAndAdvancesForComplexText()
86 GlyphBuffer glyphBuffer; in drawComplexText() local
88 float startX = point.x() + getGlyphsAndAdvancesForComplexText(run, from, to, glyphBuffer); in drawComplexText()
91 if (glyphBuffer.isEmpty()) in drawComplexText()
96 drawGlyphBuffer(context, glyphBuffer, startPoint); in drawComplexText()
101 GlyphBuffer glyphBuffer; in drawEmphasisMarksForComplexText() local
[all …]
DFontMac.mm140 …aphicsContext* context, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, int from, int …
235 …es(FloatPoint(shadowTextX, shadowTextY), font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.ad…
237 …nt->syntheticBoldOffset(), shadowTextY), font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.ad…
241 …showGlyphsWithAdvances(point, font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from…
243 …font->syntheticBoldOffset(), point.y()), font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.ad…
DComplexTextController.cpp345 void ComplexTextController::advance(unsigned offset, GlyphBuffer* glyphBuffer) in advance() argument
380 if (glyphBuffer && !m_characterInCurrentGlyph) in advance()
381 glyphBuffer->add(m_adjustedGlyphs[k], complexTextRun.fontData(), adjustedAdvance); in advance()
/external/webkit/Source/WebCore/platform/graphics/wx/
DFontWx.cpp70 …yphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, in drawGlyphs() argument
80 drawTextWithSpacing(graphicsContext, font, color, glyphBuffer, from, numGlyphs, point); in drawGlyphs()
123 GlyphBuffer glyphBuffer; in drawComplexText() local
129 controller.advance(to, &glyphBuffer); in drawComplexText()
132 if (glyphBuffer.isEmpty()) in drawComplexText()
143 for (int i = 0, end = glyphBuffer.size() - 1; i < glyphBuffer.size() / 2; ++i, --end) in drawComplexText()
144 glyphBuffer.swap(i, end); in drawComplexText()
151 drawGlyphBuffer(context, glyphBuffer, startPoint); in drawComplexText()
159 GlyphBuffer glyphBuffer; in drawEmphasisMarksForComplexText() local
160 …float initialAdvance = getGlyphsAndAdvancesForComplexText(run, from, to, glyphBuffer, ForTextEmpha… in drawEmphasisMarksForComplexText()
[all …]
/external/webkit/Source/WebCore/platform/graphics/win/
DFontWin.cpp72 …ancesForComplexText(const TextRun& run, int from, int to, GlyphBuffer& glyphBuffer, ForTextEmphasi… in getGlyphsAndAdvancesForComplexText() argument
83 controller.advance(to, &glyphBuffer); in getGlyphsAndAdvancesForComplexText()
85 if (glyphBuffer.isEmpty()) in getGlyphsAndAdvancesForComplexText()
101 GlyphBuffer glyphBuffer; in drawComplexText() local
103 float startX = point.x() + getGlyphsAndAdvancesForComplexText(run, from, to, glyphBuffer); in drawComplexText()
106 if (glyphBuffer.isEmpty()) in drawComplexText()
111 drawGlyphBuffer(context, glyphBuffer, startPoint); in drawComplexText()
116 GlyphBuffer glyphBuffer; in drawEmphasisMarksForComplexText() local
117 …float initialAdvance = getGlyphsAndAdvancesForComplexText(run, from, to, glyphBuffer, ForTextEmpha… in drawEmphasisMarksForComplexText()
119 if (glyphBuffer.isEmpty()) in drawEmphasisMarksForComplexText()
[all …]
DFontCGWin.cpp130 …yphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, in drawGDIGlyphs() argument
157 gdiAdvances.append(lroundf(glyphBuffer.advanceAt(from + i))); in drawGDIGlyphs()
202 FloatSize translation = glyphBuffer.offsetAt(from); in drawGDIGlyphs()
223 …ExtTextOut(hdc, 0, 0, ETO_GLYPH_INDEX, 0, reinterpret_cast<const WCHAR*>(glyphBuffer.glyphs(from))… in drawGDIGlyphs()
229 …ExtTextOut(hdc, 0, 0, ETO_GLYPH_INDEX, 0, reinterpret_cast<const WCHAR*>(glyphBuffer.glyphs(from))… in drawGDIGlyphs()
249 …CGContextTranslateCTM(cgContext, point.x() + glyphBuffer.offsetAt(from).width(), -(point.y() + gly… in drawGDIGlyphs()
252 … RetainPtr<CGPathRef> glyphPath(AdoptCF, createPathForGlyph(hdc, glyphBuffer.glyphAt(from + i))); in drawGDIGlyphs()
300 …yphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, in drawGlyphs() argument
331 drawGDIGlyphs(graphicsContext, font, glyphBuffer, from, numGlyphs, point); in drawGlyphs()
353 FloatSize translation = glyphBuffer.offsetAt(from); in drawGlyphs()
[all …]
DUniscribeController.cpp93 void UniscribeController::advance(unsigned offset, GlyphBuffer* glyphBuffer) in advance() argument
163 …dPlace((isSmallCaps ? smallCapsBuffer.data() : cp) + itemStart, itemLength, fontData, glyphBuffer); in advance()
175 …nextIsSmallCaps ? smallCapsBuffer.data() : cp) + itemStart, itemLength, nextFontData, glyphBuffer); in advance()
181 …ndPlace(const UChar* cp, unsigned length, const SimpleFontData* fontData, GlyphBuffer* glyphBuffer) in itemizeShapeAndPlace() argument
195 if (!shapeAndPlaceItem(cp, i, fontData, glyphBuffer)) in itemizeShapeAndPlace()
200 if (!shapeAndPlaceItem(cp, i, fontData, glyphBuffer)) in itemizeShapeAndPlace()
218 …AndPlaceItem(const UChar* cp, unsigned i, const SimpleFontData* fontData, GlyphBuffer* glyphBuffer) in shapeAndPlaceItem() argument
341 if (glyphBuffer) { in shapeAndPlaceItem()
343 glyphBuffer->add(glyph, fontData, advance, &size); in shapeAndPlaceItem()
/external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/
Dnon-kerned-drawing.cpp44 … const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int … in drawTextWithSpacing() argument
73 …CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), n… in drawTextWithSpacing()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DFontChromiumWin.cpp217 const GlyphBuffer& glyphBuffer, in TransparencyAwareGlyphPainter() argument
222 , m_glyphBuffer(glyphBuffer) in TransparencyAwareGlyphPainter()
379 const GlyphBuffer& glyphBuffer, in drawGlyphsWin() argument
385 … TransparencyAwareGlyphPainter painter(graphicsContext, font, glyphBuffer, from, numGlyphs, point); in drawGlyphsWin()
410 glyphs[i] = glyphBuffer.glyphAt(from + glyphIndex); in drawGlyphsWin()
411 horizontalOffset += glyphBuffer.advanceAt(from + glyphIndex); in drawGlyphsWin()
414 currentWidth += glyphBuffer.advanceAt(from + glyphIndex); in drawGlyphsWin()
447 const GlyphBuffer& glyphBuffer, in drawGlyphs() argument
458 drawGlyphsWin(graphicsContext, font, glyphBuffer, from, numGlyphs, point); in drawGlyphs()
DFontLinux.cpp81 const GlyphBuffer& glyphBuffer, int from, int numGlyphs, in drawGlyphs() argument
85 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from); in drawGlyphs()
95 const GlyphBufferAdvance* adv = glyphBuffer.advances(from); in drawGlyphs()
/external/webkit/Source/WebCore/platform/graphics/haiku/
DFontHaiku.cpp74 … const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) const in drawGlyphs() argument
84 GlyphBufferGlyph* glyphs = const_cast<GlyphBufferGlyph*>(glyphBuffer.glyphs(from)); in drawGlyphs()
91 offset += glyphBuffer.advanceAt(from + i); in drawGlyphs()
/external/webkit/Source/WebCore/platform/wx/wxcode/gtk/
Dnon-kerned-drawing.cpp186 … const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int … in drawTextWithSpacing() argument
207 … glyphs[i].index = pango_font_get_glyph(pangoFont, pangoContext, glyphBuffer.glyphAt(from + i)); in drawTextWithSpacing()
210 offset += glyphBuffer.advanceAt(from + i); in drawTextWithSpacing()
229 GlyphBufferGlyph* glyphs = const_cast<GlyphBufferGlyph*>(glyphBuffer.glyphs(from)); in drawTextWithSpacing()
234 offset += glyphBuffer.advanceAt(from + i); in drawTextWithSpacing()
/external/webkit/Source/WebCore/platform/wx/wxcode/win/
Dnon-kerned-drawing.cpp72 … const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int … in drawTextWithSpacing() argument
106 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from); in drawTextWithSpacing()
107 const GlyphBufferAdvance* advances = glyphBuffer.advances(from); in drawTextWithSpacing()
/external/webkit/Source/WebCore/platform/graphics/cairo/
DFontCairo.cpp99 …t::drawGlyphs(GraphicsContext* context, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, in drawGlyphs() argument
102 GlyphBufferGlyph* glyphs = (GlyphBufferGlyph*)glyphBuffer.glyphs(from); in drawGlyphs()
108 offset += glyphBuffer.advanceAt(from + i); in drawGlyphs()
/external/webkit/Source/WebCore/platform/wx/wxcode/
Dnon-kerned-drawing.h40 … const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int …
/external/webkit/Source/WebCore/platform/graphics/wince/
DFontWinCE.cpp65 …s(GraphicsContext* graphicsContext, const SimpleFontData* fontData, const GlyphBuffer& glyphBuffer, in drawGlyphs() argument
68 graphicsContext->drawText(fontData, glyphBuffer, from, numGlyphs, point); in drawGlyphs()
DGraphicsContextWinCE.cpp1571 void GraphicsContext::drawText(const SimpleFontData* fontData, const GlyphBuffer& glyphBuffer, in drawText() argument
1580 if (isCharVisible(*glyphBuffer.glyphs(from))) in drawText()
1615 const GlyphBufferAdvance* advance = glyphBuffer.advances(from); in drawText()
1663 const UChar* srcChar = glyphBuffer.glyphs(from); in drawText()
1668 const GlyphBufferAdvance* advance = glyphBuffer.advances(from); in drawText()
1725 UChar c = *glyphBuffer.glyphs(from); in drawText()
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
DFontAndroid.cpp191 const GlyphBuffer& glyphBuffer, int from, int numGlyphs, in drawGlyphs() argument
197 if (numGlyphs == 1 && glyphBuffer.glyphAt(from) == 0x3) { in drawGlyphs()
210 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from); in drawGlyphs()
211 const GlyphBufferAdvance* adv = glyphBuffer.advances(from); in drawGlyphs()
/external/webkit/Source/WebCore/platform/graphics/qt/
DFontQt.cpp276 float Font::floatWidthForSimpleText(const TextRun& run, GlyphBuffer* glyphBuffer, HashSet<const Sim… in floatWidthForSimpleText() argument
/external/webkit/Source/WebKit/mac/
DChangeLog-2002-12-0311617 (-[IFTextRenderer slowPackGlyphsForCharacters:numCharacters:glyphBuffer:numGlyphs:]):
12613 (-[IFTextRenderer slowPackGlyphsForCharacters:numCharacters:glyphBuffer:numGlyphs:]):
14567 (-[IFTextRenderer slowPackGlyphsForCharacters:numCharacters:glyphBuffer:numGlyphs:]):
15387 (-[IFTextRenderer slowPackGlyphsForCharacters:numCharacters:glyphBuffer:numGlyphs:]):
/external/webkit/Source/WebCore/
DChangeLog-2007-10-1424720 (WebCore::UniscribeController::glyphBuffer):