/external/webkit/WebCore/platform/graphics/mac/ |
H A D | FontComplexTextMac.cpp | 60 GlyphBuffer glyphBuffer; local 66 controller.advance(to, &glyphBuffer); 69 if (glyphBuffer.isEmpty()) 76 for (int i = 0, end = glyphBuffer.size() - 1; i < glyphBuffer.size() / 2; ++i, --end) 77 glyphBuffer.swap(i, end); 83 drawGlyphBuffer(context, glyphBuffer, run, startPoint);
|
H A D | ComplexTextController.cpp | 354 void ComplexTextController::advance(unsigned offset, GlyphBuffer* glyphBuffer) argument 389 if (glyphBuffer && !m_characterInCurrentGlyph) 390 glyphBuffer->add(m_adjustedGlyphs[k], complexTextRun.fontData(), adjustedAdvance);
|
/external/webkit/WebCore/platform/graphics/win/ |
H A D | FontWin.cpp | 67 GlyphBuffer glyphBuffer; local 73 controller.advance(to, &glyphBuffer); 76 if (glyphBuffer.isEmpty()) 89 drawGlyphBuffer(context, glyphBuffer, run, startPoint);
|
H A D | FontCGWin.cpp | 130 static void drawGDIGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, argument 155 gdiAdvances.append(lroundf(glyphBuffer.advanceAt(from + i))); 196 FloatSize translation = glyphBuffer.offsetAt(from); 217 ExtTextOut(hdc, 0, 0, ETO_GLYPH_INDEX, 0, reinterpret_cast<const WCHAR*>(glyphBuffer.glyphs(from)), numGlyphs, gdiAdvances.data()); 223 ExtTextOut(hdc, 0, 0, ETO_GLYPH_INDEX, 0, reinterpret_cast<const WCHAR*>(glyphBuffer.glyphs(from)), numGlyphs, gdiAdvances.data()); 243 CGContextTranslateCTM(cgContext, point.x() + glyphBuffer.offsetAt(from).width(), -(point.y() + glyphBuffer.offsetAt(from).height())); 246 RetainPtr<CGPathRef> glyphPath(AdoptCF, createPathForGlyph(hdc, glyphBuffer.glyphAt(from + i))); 294 void Font::drawGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, argument 327 drawGDIGlyphs(graphicsContext, font, glyphBuffer, fro [all...] |
H A D | UniscribeController.cpp | 88 void UniscribeController::advance(unsigned offset, GlyphBuffer* glyphBuffer) argument 158 itemizeShapeAndPlace((isSmallCaps ? smallCapsBuffer.data() : cp) + itemStart, itemLength, fontData, glyphBuffer); 170 itemizeShapeAndPlace((nextIsSmallCaps ? smallCapsBuffer.data() : cp) + itemStart, itemLength, nextFontData, glyphBuffer); 176 void UniscribeController::itemizeShapeAndPlace(const UChar* cp, unsigned length, const SimpleFontData* fontData, GlyphBuffer* glyphBuffer) argument 190 if (!shapeAndPlaceItem(cp, i, fontData, glyphBuffer)) 195 if (!shapeAndPlaceItem(cp, i, fontData, glyphBuffer)) 213 bool UniscribeController::shapeAndPlaceItem(const UChar* cp, unsigned i, const SimpleFontData* fontData, GlyphBuffer* glyphBuffer) argument 372 if (glyphBuffer) { 374 glyphBuffer->add(glyph, fontData, advance, &size);
|
/external/webkit/WebCore/platform/graphics/haiku/ |
H A D | FontHaiku.cpp | 69 const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) const 79 GlyphBufferGlyph* glyphs = const_cast<GlyphBufferGlyph*>(glyphBuffer.glyphs(from)); 86 offset += glyphBuffer.advanceAt(from + i); 68 drawGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) const argument
|
/external/webkit/WebCore/platform/graphics/wx/ |
H A D | FontWx.cpp | 55 void Font::drawGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, argument 65 drawTextWithSpacing(graphicsContext, font, color, glyphBuffer, from, numGlyphs, point); 95 GlyphBuffer glyphBuffer; local 101 controller.advance(to, &glyphBuffer); 104 if (glyphBuffer.isEmpty()) 117 drawGlyphBuffer(context, glyphBuffer, run, startPoint);
|
/external/webkit/WebCore/platform/wx/wxcode/mac/carbon/ |
H A D | non-kerned-drawing.cpp | 52 void drawTextWithSpacing(GraphicsContext* graphicsContext, const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) argument 92 const FloatSize* advanceSizes = static_cast<const FloatSize*>(glyphBuffer.advances(from)); 93 int size = glyphBuffer.size() - from; 104 CGFontGetGlyphsForUnichars(cgFont, glyphBuffer.glyphs(from), glyphs, numGlyphs);
|
/external/webkit/WebCore/platform/graphics/ |
H A D | WidthIterator.cpp | 69 void WidthIterator::advance(int offset, GlyphBuffer* glyphBuffer) argument 204 if (glyphBuffer) 205 glyphBuffer->add(glyph, fontData, (rtl ? oldWidth + lastRoundingWidth : width)); 215 bool WidthIterator::advanceOneCharacter(float& width, GlyphBuffer* glyphBuffer) argument 217 glyphBuffer->clear(); 218 advance(m_currentCharacter + 1, glyphBuffer); 220 for (int i = 0; i < glyphBuffer->size(); ++i) 221 w += glyphBuffer->advanceAt(i); 223 return !glyphBuffer->isEmpty();
|
H A D | FontFastPath.cpp | 258 GlyphBuffer glyphBuffer; local 264 it.advance(to, &glyphBuffer); 267 if (glyphBuffer.isEmpty()) 281 for (int i = 0, end = glyphBuffer.size() - 1; i < glyphBuffer.size() / 2; ++i, --end) 282 glyphBuffer.swap(i, end); 287 drawGlyphBuffer(context, glyphBuffer, run, startPoint); 290 void Font::drawGlyphBuffer(GraphicsContext* context, const GlyphBuffer& glyphBuffer, const TextRun&, const FloatPoint& point) const argument 293 const SimpleFontData* fontData = glyphBuffer.fontDataAt(0); 294 FloatSize offset = glyphBuffer 317 floatWidthForSimpleText(const TextRun& run, GlyphBuffer* glyphBuffer, HashSet<const SimpleFontData*>* fallbackFonts) const argument [all...] |
/external/webkit/WebCore/platform/graphics/cairo/ |
H A D | FontCairo.cpp | 44 void Font::drawGlyphs(GraphicsContext* context, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, argument 52 GlyphBufferGlyph* glyphs = (GlyphBufferGlyph*)glyphBuffer.glyphs(from); 58 offset += glyphBuffer.advanceAt(from + i);
|
/external/webkit/WebCore/platform/wx/wxcode/gtk/ |
H A D | non-kerned-drawing.cpp | 186 void drawTextWithSpacing(GraphicsContext* graphicsContext, const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) argument 207 glyphs[i].index = pango_font_get_glyph(pangoFont, pangoContext, glyphBuffer.glyphAt(from + i)); 210 offset += glyphBuffer.advanceAt(from + i); 229 GlyphBufferGlyph* glyphs = const_cast<GlyphBufferGlyph*>(glyphBuffer.glyphs(from)); 234 offset += glyphBuffer.advanceAt(from + i);
|
/external/webkit/WebCore/platform/wx/wxcode/win/ |
H A D | non-kerned-drawing.cpp | 72 void drawTextWithSpacing(GraphicsContext* graphicsContext, const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) argument 106 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from); 107 const GlyphBufferAdvance* advances = glyphBuffer.advances(from);
|
/external/webkit/WebCore/platform/graphics/android/ |
H A D | FontAndroid.cpp | 116 const GlyphBuffer& glyphBuffer, int from, int numGlyphs, 129 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from); 130 const GlyphBufferAdvance* adv = glyphBuffer.advances(from); 115 drawGlyphs(GraphicsContext* gc, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) const argument
|
/external/webkit/WebCore/platform/graphics/wince/ |
H A D | FontWince.cpp | 64 void Font::drawGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* fontData, const GlyphBuffer& glyphBuffer, argument 67 graphicsContext->drawText(fontData, glyphBuffer, from, numGlyphs, point);
|
H A D | GraphicsContextWince.cpp | 1610 void GraphicsContext::drawText(const SimpleFontData* fontData, const GlyphBuffer& glyphBuffer, argument 1619 if (isCharVisible(*glyphBuffer.glyphs(from))) 1654 const GlyphBufferAdvance* advance = glyphBuffer.advances(from); 1701 const UChar* srcChar = glyphBuffer.glyphs(from); 1706 const GlyphBufferAdvance* advance = glyphBuffer.advances(from); 1763 UChar c = *glyphBuffer.glyphs(from);
|
/external/webkit/WebCore/platform/graphics/chromium/ |
H A D | FontChromiumWin.cpp | 216 const GlyphBuffer& glyphBuffer, 221 , m_glyphBuffer(glyphBuffer) 370 const GlyphBuffer& glyphBuffer, 381 TransparencyAwareGlyphPainter painter(graphicsContext, font, glyphBuffer, from, numGlyphs, point); 401 glyphs[i] = glyphBuffer.glyphAt(from + glyphIndex); 402 advances[i] = static_cast<int>(glyphBuffer.advanceAt(from + glyphIndex)); 213 TransparencyAwareGlyphPainter( GraphicsContext* context, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) argument 368 drawGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) const argument
|
H A D | FontLinux.cpp | 78 const GlyphBuffer& glyphBuffer, int from, int numGlyphs, 82 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from); 92 const GlyphBufferAdvance* adv = glyphBuffer.advances(from); 77 drawGlyphs(GraphicsContext* gc, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) const argument
|