HomeSort by relevance Sort by last modified time
    Searched refs:glyphBuffer (Results 1 - 21 of 21) sorted by null

  /external/webkit/WebCore/platform/graphics/mac/
FontComplexTextMac.cpp 30 #include "GlyphBuffer.h"
60 GlyphBuffer glyphBuffer;
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);
FontMac.mm 26 #import "GlyphBuffer.h"
50 void Font::drawGlyphs(GraphicsContext* context, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) const
129 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
132 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
138 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
141 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs)
    [all...]
ComplexTextController.cpp 354 void ComplexTextController::advance(unsigned offset, GlyphBuffer* glyphBuffer)
389 if (glyphBuffer && !m_characterInCurrentGlyph)
390 glyphBuffer->add(m_adjustedGlyphs[k], complexTextRun.fontData(), adjustedAdvance);
  /external/webkit/WebCore/platform/graphics/
FontFastPath.cpp 30 #include "GlyphBuffer.h"
258 GlyphBuffer glyphBuffer;
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) cons
    [all...]
WidthIterator.cpp 26 #include "GlyphBuffer.h"
69 void WidthIterator::advance(int offset, GlyphBuffer* glyphBuffer)
204 if (glyphBuffer)
205 glyphBuffer->add(glyph, fontData, (rtl ? oldWidth + lastRoundingWidth : width));
215 bool WidthIterator::advanceOneCharacter(float& width, GlyphBuffer* glyphBuffer)
217 glyphBuffer->clear();
218 advance(m_currentCharacter + 1, glyphBuffer);
220 for (int i = 0; i < glyphBuffer->size(); ++i
    [all...]
GraphicsContext.h 115 class GlyphBuffer;
350 void drawText(const SimpleFontData* fontData, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point);
  /external/webkit/WebCore/platform/graphics/wx/
FontWx.cpp 30 #include "GlyphBuffer.h"
55 void Font::drawGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const GlyphBuffer& glyphBuffer,
65 drawTextWithSpacing(graphicsContext, font, color, glyphBuffer, from, numGlyphs, point);
95 GlyphBuffer glyphBuffer;
101 controller.advance(to, &glyphBuffer);
104 if (glyphBuffer.isEmpty())
117 drawGlyphBuffer(context, glyphBuffer, run, startPoint);
  /external/webkit/WebCore/platform/graphics/win/
FontWin.cpp 30 #include "GlyphBuffer.h"
67 GlyphBuffer glyphBuffer;
73 controller.advance(to, &glyphBuffer);
76 if (glyphBuffer.isEmpty())
89 drawGlyphBuffer(context, glyphBuffer, run, startPoint);
FontCGWin.cpp 31 #include "GlyphBuffer.h"
130 static void drawGDIGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const GlyphBuffer& glyphBuffer,
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)))
    [all...]
UniscribeController.cpp 39 // take the GlyphBuffer as an arg so that we don't have to populate the glyph buffer when
88 void UniscribeController::advance(unsigned offset, GlyphBuffer* glyphBuffer)
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)
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
    [all...]
  /external/webkit/WebCore/platform/graphics/haiku/
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);
  /external/webkit/WebCore/platform/wx/wxcode/mac/carbon/
non-kerned-drawing.cpp 28 #include "GlyphBuffer.h"
52 void drawTextWithSpacing(GraphicsContext* graphicsContext, const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point)
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/wx/wxcode/
non-kerned-drawing.h 27 #include "GlyphBuffer.h"
40 extern void drawTextWithSpacing(GraphicsContext* graphicsContext, const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point);
  /external/webkit/WebCore/platform/wx/wxcode/win/
non-kerned-drawing.cpp 27 #include "GlyphBuffer.h"
72 void drawTextWithSpacing(GraphicsContext* graphicsContext, const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point)
106 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from);
107 const GlyphBufferAdvance* advances = glyphBuffer.advances(from);
  /external/webkit/WebCore/platform/wx/wxcode/gtk/
non-kerned-drawing.cpp 27 #include "GlyphBuffer.h"
186 void drawTextWithSpacing(GraphicsContext* graphicsContext, const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point)
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/graphics/chromium/
FontChromiumWin.cpp 37 #include "GlyphBuffer.h"
184 // Specialization for simple GlyphBuffer painting.
189 const GlyphBuffer&,
204 const GlyphBuffer& m_glyphBuffer;
216 const GlyphBuffer& glyphBuffer,
221 , m_glyphBuffer(glyphBuffer)
370 const GlyphBuffer& glyphBuffer,
381 TransparencyAwareGlyphPainter painter(graphicsContext, font, glyphBuffer, from, numGlyphs, point)
    [all...]
FontLinux.cpp 35 #include "GlyphBuffer.h"
78 const GlyphBuffer& glyphBuffer, int from, int numGlyphs,
82 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from);
88 // GlyphBuffer has no advances other than the defaults. In that case the
92 const GlyphBufferAdvance* adv = glyphBuffer.advances(from);
  /external/webkit/WebCore/platform/graphics/android/
FontAndroid.cpp 34 #include "GlyphBuffer.h"
116 const GlyphBuffer& glyphBuffer, int from, int numGlyphs,
129 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from);
130 const GlyphBufferAdvance* adv = glyphBuffer.advances(from);
  /external/webkit/WebCore/platform/graphics/cairo/
FontCairo.cpp 33 #include "GlyphBuffer.h"
44 void Font::drawGlyphs(GraphicsContext* context, const SimpleFontData* font, const GlyphBuffer& glyphBuffer,
52 GlyphBufferGlyph* glyphs = (GlyphBufferGlyph*)glyphBuffer.glyphs(from);
58 offset += glyphBuffer.advanceAt(from + i);
  /external/webkit/WebCore/platform/graphics/wince/
FontWince.cpp 37 #include "GlyphBuffer.h"
64 void Font::drawGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* fontData, const GlyphBuffer& glyphBuffer,
67 graphicsContext->drawText(fontData, glyphBuffer, from, numGlyphs, point);
GraphicsContextWince.cpp 26 #include "GlyphBuffer.h"
    [all...]

Completed in 592 milliseconds