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

  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
WidthIterator.h 36 class GlyphBuffer;
46 unsigned advance(int to, GlyphBuffer*);
47 bool advanceOneCharacter(float& width, GlyphBuffer&);
88 inline unsigned advanceInternal(TextIterator&, GlyphBuffer*);
Font.h 53 class GlyphBuffer;
174 float getGlyphsAndAdvancesForSimpleText(const TextRun&, int from, int to, GlyphBuffer&, ForTextEmphasisOrNot = NotForTextEmphasis) const;
177 void drawGlyphs(GraphicsContext*, const SimpleFontData*, const GlyphBuffer&, unsigned from, unsigned numGlyphs, const FloatPoint&, const FloatRect& textRect) const;
178 void drawGlyphBuffer(GraphicsContext*, const TextRunPaintInfo&, const GlyphBuffer&, const FloatPoint&) const;
179 void drawEmphasisMarks(GraphicsContext*, const TextRunPaintInfo&, const GlyphBuffer&, const AtomicString&, const FloatPoint&) const;
190 float getGlyphsAndAdvancesForComplexText(const TextRun&, int from, int to, GlyphBuffer&, ForTextEmphasisOrNot = NotForTextEmphasis) const;
FontFastPath.cpp 32 #include "platform/fonts/GlyphBuffer.h"
397 float Font::getGlyphsAndAdvancesForSimpleText(const TextRun& run, int from, int to, GlyphBuffer& glyphBuffer, ForTextEmphasisOrNot forTextEmphasis) const
404 GlyphBuffer localGlyphBuffer;
407 it.advance(to, &glyphBuffer);
409 if (glyphBuffer.isEmpty())
422 glyphBuffer.reverse(0, glyphBuffer.size());
430 GlyphBuffer glyphBuffer;
    [all...]
GlyphBuffer.h 34 #include "platform/fonts/GlyphBuffer.h"
65 class GlyphBuffer {
WidthIterator.cpp 25 #include "platform/fonts/GlyphBuffer.h"
99 static inline float applyFontTransforms(GlyphBuffer* glyphBuffer, bool ltr, unsigned& lastGlyphCount, const SimpleFontData* fontData, TypesettingFeatures typesettingFeatures, CharactersTreatedAsSpace& charactersTreatedAsSpace)
103 if (!glyphBuffer)
106 unsigned glyphBufferSize = glyphBuffer->size();
107 if (glyphBuffer->size() <= lastGlyphCount + 1)
110 GlyphBufferAdvance* advances = glyphBuffer->advances(0);
116 glyphBuffer->reverse(lastGlyphCount, glyphBufferSize - lastGlyphCount);
118 fontData->applyTransforms(glyphBuffer->glyphs(lastGlyphCount), advances + lastGlyphCount, glyphBufferSize - lastGlyphCount, typesettingFeatures);
121 glyphBuffer->reverse(lastGlyphCount, glyphBufferSize - lastGlyphCount)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
HarfBuzzShaper.h 35 #include "platform/fonts/GlyphBuffer.h"
59 bool shape(GlyphBuffer* = 0);
127 bool fillGlyphBuffer(GlyphBuffer*);
128 void fillGlyphBufferFromHarfBuzzRun(GlyphBuffer*, HarfBuzzRun*, FloatPoint& firstOffsetOfNextRun);
FontHarfBuzz.cpp 37 #include "platform/fonts/GlyphBuffer.h"
98 const GlyphBuffer& glyphBuffer, unsigned from, unsigned numGlyphs,
126 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from + glyphIndex);
138 currentWidth += glyphBuffer.advanceAt(from + glyphIndex);
150 // GlyphBuffer has no advances other than the defaults. In that case the
154 const GlyphBufferAdvance* adv = glyphBuffer.advances(from);
161 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from);
179 GlyphBuffer glyphBuffer;
    [all...]
HarfBuzzShaper.cpp 539 bool HarfBuzzShaper::shape(GlyphBuffer* glyphBuffer)
547 if (!shapeHarfBuzzRuns(glyphBuffer || m_run.directionalOverride()))
553 if (glyphBuffer && !fillGlyphBuffer(glyphBuffer))
768 void HarfBuzzShaper::fillGlyphBufferFromHarfBuzzRun(GlyphBuffer* glyphBuffer, HarfBuzzRun* currentRun, FloatPoint& firstOffsetOfNextRun)
786 glyphBuffer->add(glyphs[i], currentRun->fontData(), createGlyphBufferAdvance(glyphAdvanceX, glyphAdvanceY));
791 glyphBuffer->add(glyphs[i], currentRun->fontData(), createGlyphBufferAdvance(glyphAdvanceX, glyphAdvanceY));
796 bool HarfBuzzShaper::fillGlyphBuffer(GlyphBuffer* glyphBuffer
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGTextRunRenderingContext.h 46 virtual void drawSVGGlyphs(GraphicsContext*, const TextRun&, const SimpleFontData*, const GlyphBuffer&, int from, int to, const FloatPoint&) const;
SVGTextRunRenderingContext.cpp 34 #include "platform/fonts/GlyphBuffer.h"
79 GlyphBuffer glyphBuffer;
80 charsConsumed += it.advance(run.length(), &glyphBuffer);
85 void SVGTextRunRenderingContext::drawSVGGlyphs(GraphicsContext* context, const TextRun& run, const SimpleFontData* fontData, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) const
125 Glyph glyph = glyphBuffer.glyphAt(from + i);
129 float advance = glyphBuffer.advanceAt(from + i);
SVGTextMetricsBuilder.cpp 59 GlyphBuffer glyphBuffer;
60 unsigned metricsLength = m_simpleWidthIterator->advance(m_textPosition + 1, &glyphBuffer);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
FontComplexTextMac.cpp 29 #include "platform/fonts/GlyphBuffer.h"
71 float Font::getGlyphsAndAdvancesForComplexText(const TextRun& run, int from, int to, GlyphBuffer& glyphBuffer, ForTextEmphasisOrNot forTextEmphasis) const
78 controller.advance(to, &glyphBuffer);
80 if (glyphBuffer.isEmpty())
87 glyphBuffer.reverse(0, glyphBuffer.size());
97 GlyphBuffer glyphBuffer;
100 if (shaper.shape(&glyphBuffer)) {
    [all...]
ComplexTextController.h 28 #include "platform/fonts/GlyphBuffer.h"
57 void advance(unsigned to, GlyphBuffer* = 0, GlyphIterationStyle = IncludePartialGlyphs, HashSet<const SimpleFontData*>* fallbackFonts = 0);
FontMac.cpp 36 #include "platform/fonts/GlyphBuffer.h"
90 const GlyphBuffer& glyphBuffer, unsigned from, unsigned numGlyphs,
118 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from);
126 // GlyphBuffer has no advances other than the defaults. In that case the
130 const GlyphBufferAdvance* adv = glyphBuffer.advances(from);
ComplexTextController.cpp 486 void ComplexTextController::advance(unsigned offset, GlyphBuffer* glyphBuffer, GlyphIterationStyle iterationStyle, HashSet<const SimpleFontData*>* fallbackFonts)
530 if (glyphBuffer && !m_characterInCurrentGlyph)
531 glyphBuffer->add(m_adjustedGlyphs[k], complexTextRun.fontData(), adjustedAdvance);
  /external/chromium_org/third_party/WebKit/Source/platform/text/
TextRun.h 38 class GlyphBuffer;
221 virtual void drawSVGGlyphs(GraphicsContext*, const TextRun&, const SimpleFontData*, const GlyphBuffer&, int from, int to, const FloatPoint&) const = 0;
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
FontWin.cpp 37 #include "platform/fonts/GlyphBuffer.h"
61 const SimpleFontData* font, const GlyphBuffer& glyphBuffer,
96 const Glyph* glyphs = glyphBuffer.glyphs(from + glyphIndex);
107 currentWidth += glyphBuffer.advanceAt(from + glyphIndex);
133 glyphs[i] = glyphBuffer.glyphAt(from + glyphIndex);
134 horizontalOffset += glyphBuffer.advanceAt(from + glyphIndex);
137 currentWidth += glyphBuffer.advanceAt(from + glyphIndex);
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
InlineTextBox.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorCSSAgent.cpp 72 #include "platform/fonts/GlyphBuffer.h"
    [all...]

Completed in 75 milliseconds