HomeSort by relevance Sort by last modified time
    Searched refs:GlyphBuffer (Results 1 - 25 of 27) sorted by null

1 2

  /external/webkit/Source/WebCore/platform/graphics/
WidthIterator.h 31 class GlyphBuffer;
38 void advance(int to, GlyphBuffer* = 0);
39 bool advanceOneCharacter(float& width, GlyphBuffer* = 0);
Font.h 50 class GlyphBuffer;
171 float getGlyphsAndAdvancesForSimpleText(const TextRun&, int from, int to, GlyphBuffer&, ForTextEmphasisOrNot = NotForTextEmphasis) const;
177 void drawGlyphs(GraphicsContext*, const SimpleFontData*, const GlyphBuffer&, int from, int to, const FloatPoint&) const;
181 void drawGlyphBuffer(GraphicsContext*, const GlyphBuffer&, const FloatPoint&) const;
182 void drawEmphasisMarks(GraphicsContext* context, const GlyphBuffer&, const AtomicString&, const FloatPoint&) const;
183 float floatWidthForSimpleText(const TextRun&, GlyphBuffer*, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const;
195 float getGlyphsAndAdvancesForComplexText(const TextRun&, int from, int to, GlyphBuffer&, ForTextEmphasisOrNot = NotForTextEmphasis) const;
FontFastPath.cpp 29 #include "GlyphBuffer.h"
325 float Font::getGlyphsAndAdvancesForSimpleText(const TextRun& run, int from, int to, GlyphBuffer& glyphBuffer, ForTextEmphasisOrNot forTextEmphasis) const
332 it.advance(to, &glyphBuffer);
334 if (glyphBuffer.isEmpty())
346 for (int i = 0, end = glyphBuffer.size() - 1; i < glyphBuffer.size() / 2; ++i, --end)
347 glyphBuffer.swap(i, end);
356 GlyphBuffer glyphBuffer;
    [all...]
WidthIterator.cpp 26 #include "GlyphBuffer.h"
77 void WidthIterator::advance(int offset, GlyphBuffer* glyphBuffer)
172 if (glyphBuffer) {
173 if (glyphBuffer->isEmpty())
174 glyphBuffer->add(fontData->spaceGlyph(), fontData, m_expansionPerOpportunity);
176 glyphBuffer->expandLastAdvance(m_expansionPerOpportunity);
211 if (glyphBuffer)
212 glyphBuffer->add(glyph, fontData, width);
224 bool WidthIterator::advanceOneCharacter(float& width, GlyphBuffer* glyphBuffer
    [all...]
GlyphBuffer.h 71 class GlyphBuffer {
GraphicsContext.h 119 class GlyphBuffer;
458 void drawText(const SimpleFontData* fontData, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point);
  /external/webkit/Source/WebCore/platform/graphics/win/
UniscribeController.h 31 #include "GlyphBuffer.h"
41 void advance(unsigned to, GlyphBuffer* = 0);
57 void itemizeShapeAndPlace(const UChar*, unsigned length, const SimpleFontData*, GlyphBuffer*);
58 bool shapeAndPlaceItem(const UChar*, unsigned index, const SimpleFontData*, GlyphBuffer*);
FontWin.cpp 30 #include "GlyphBuffer.h"
72 float Font::getGlyphsAndAdvancesForComplexText(const TextRun& run, int from, int to, GlyphBuffer& glyphBuffer, ForTextEmphasisOrNot forTextEmphasis) const
83 controller.advance(to, &glyphBuffer);
85 if (glyphBuffer.isEmpty())
101 GlyphBuffer glyphBuffer;
103 float startX = point.x() + getGlyphsAndAdvancesForComplexText(run, from, to, glyphBuffer);
106 if (glyphBuffer.isEmpty())
111 drawGlyphBuffer(context, glyphBuffer, startPoint)
    [all...]
UniscribeController.cpp 39 // take the GlyphBuffer as an arg so that we don't have to populate the glyph buffer when
93 void UniscribeController::advance(unsigned offset, GlyphBuffer* glyphBuffer)
163 itemizeShapeAndPlace((isSmallCaps ? smallCapsBuffer.data() : cp) + itemStart, itemLength, fontData, glyphBuffer);
175 itemizeShapeAndPlace((nextIsSmallCaps ? smallCapsBuffer.data() : cp) + itemStart, itemLength, nextFontData, glyphBuffer);
181 void UniscribeController::itemizeShapeAndPlace(const UChar* cp, unsigned length, const SimpleFontData* fontData, GlyphBuffer* glyphBuffer)
195 if (!shapeAndPlaceItem(cp, i, fontData, glyphBuffer))
200 if (!shapeAndPlaceItem(cp, i, fontData, glyphBuffer))
218 bool UniscribeController::shapeAndPlaceItem(const UChar* cp, unsigned i, const SimpleFontData* fontData, GlyphBuffer* glyphBuffer
    [all...]
FontCGWin.cpp 31 #include "GlyphBuffer.h"
130 static void drawGDIGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const GlyphBuffer& glyphBuffer,
157 gdiAdvances.append(lroundf(glyphBuffer.advanceAt(from + i)));
202 FloatSize translation = glyphBuffer.offsetAt(from);
223 ExtTextOut(hdc, 0, 0, ETO_GLYPH_INDEX, 0, reinterpret_cast<const WCHAR*>(glyphBuffer.glyphs(from)), numGlyphs, gdiAdvances.data());
229 ExtTextOut(hdc, 0, 0, ETO_GLYPH_INDEX, 0, reinterpret_cast<const WCHAR*>(glyphBuffer.glyphs(from)), numGlyphs, gdiAdvances.data());
249 CGContextTranslateCTM(cgContext, point.x() + glyphBuffer.offsetAt(from).width(), -(point.y() + glyphBuffer.offsetAt(from).height()));
252 RetainPtr<CGPathRef> glyphPath(AdoptCF, createPathForGlyph(hdc, glyphBuffer.glyphAt(from + i)))
    [all...]
  /external/webkit/Source/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/Source/WebCore/platform/graphics/wx/
FontWx.cpp 30 #include "GlyphBuffer.h"
70 void Font::drawGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const GlyphBuffer& glyphBuffer,
80 drawTextWithSpacing(graphicsContext, font, color, glyphBuffer, from, numGlyphs, point);
111 float Font::getGlyphsAndAdvancesForComplexText(const TextRun& /* run */, int /* from */, int /* to */, GlyphBuffer& /* glyphBuffer */, ForTextEmphasisOrNot /* forTextEmphasis */) const
123 GlyphBuffer glyphBuffer;
129 controller.advance(to, &glyphBuffer);
132 if (glyphBuffer.isEmpty()
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/mac/
FontComplexTextMac.cpp 30 #include "GlyphBuffer.h"
59 float Font::getGlyphsAndAdvancesForComplexText(const TextRun& run, int from, int to, GlyphBuffer& glyphBuffer, ForTextEmphasisOrNot forTextEmphasis) const
66 controller.advance(to, &glyphBuffer);
68 if (glyphBuffer.isEmpty())
75 for (int i = 0, end = glyphBuffer.size() - 1; i < glyphBuffer.size() / 2; ++i, --end)
76 glyphBuffer.swap(i, end);
86 GlyphBuffer glyphBuffer;
    [all...]
ComplexTextController.h 29 #include "GlyphBuffer.h"
53 void advance(unsigned to, GlyphBuffer* = 0);
FontMac.mm 26 #import "GlyphBuffer.h"
140 void Font::drawGlyphs(GraphicsContext* context, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) const
235 showGlyphsWithAdvances(FloatPoint(shadowTextX, shadowTextY), font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
237 showGlyphsWithAdvances(FloatPoint(shadowTextX + font->syntheticBoldOffset(), shadowTextY), font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
241 showGlyphsWithAdvances(point, font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
243 showGlyphsWithAdvances(FloatPoint(point.x() + font->syntheticBoldOffset(), point.y()), font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs)
    [all...]
ComplexTextController.cpp 345 void ComplexTextController::advance(unsigned offset, GlyphBuffer* glyphBuffer)
380 if (glyphBuffer && !m_characterInCurrentGlyph)
381 glyphBuffer->add(m_adjustedGlyphs[k], complexTextRun.fontData(), adjustedAdvance);
  /external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/
non-kerned-drawing.cpp 28 #include "GlyphBuffer.h"
44 void drawTextWithSpacing(GraphicsContext* graphicsContext, const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point)
73 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
  /external/webkit/Source/WebCore/platform/graphics/haiku/
FontHaiku.cpp 74 const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) const
84 GlyphBufferGlyph* glyphs = const_cast<GlyphBufferGlyph*>(glyphBuffer.glyphs(from));
91 offset += glyphBuffer.advanceAt(from + i);
  /external/webkit/Source/WebCore/platform/graphics/chromium/
FontChromiumWin.cpp 36 #include "GlyphBuffer.h"
185 // Specialization for simple GlyphBuffer painting.
190 const GlyphBuffer&,
205 const GlyphBuffer& m_glyphBuffer;
217 const GlyphBuffer& glyphBuffer,
222 , m_glyphBuffer(glyphBuffer)
379 const GlyphBuffer& glyphBuffer,
385 TransparencyAwareGlyphPainter painter(graphicsContext, font, glyphBuffer, from, numGlyphs, point)
    [all...]
FontLinux.cpp 36 #include "GlyphBuffer.h"
81 const GlyphBuffer& glyphBuffer, int from, int numGlyphs,
85 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from);
91 // GlyphBuffer has no advances other than the defaults. In that case the
95 const GlyphBufferAdvance* adv = glyphBuffer.advances(from);
  /external/webkit/Source/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/Source/WebCore/platform/graphics/cairo/
FontCairo.cpp 36 #include "GlyphBuffer.h"
99 void Font::drawGlyphs(GraphicsContext* context, const SimpleFontData* font, const GlyphBuffer& glyphBuffer,
102 GlyphBufferGlyph* glyphs = (GlyphBufferGlyph*)glyphBuffer.glyphs(from);
108 offset += glyphBuffer.advanceAt(from + i);
  /external/webkit/Source/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/Source/WebCore/platform/graphics/wince/
FontWinCE.cpp 37 #include "GlyphBuffer.h"
65 void Font::drawGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* fontData, const GlyphBuffer& glyphBuffer,
68 graphicsContext->drawText(fontData, glyphBuffer, from, numGlyphs, point);
  /external/webkit/Source/WebCore/platform/graphics/qt/
FontQt.cpp 276 float Font::floatWidthForSimpleText(const TextRun& run, GlyphBuffer* glyphBuffer, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const

Completed in 512 milliseconds

1 2