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

  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
WidthIterator.cpp 26 #include "core/platform/graphics/GlyphBuffer.h"
103 static inline float applyFontTransforms(GlyphBuffer* glyphBuffer, bool ltr, int& lastGlyphCount, const SimpleFontData* fontData, TypesettingFeatures typesettingFeatures, CharactersTreatedAsSpace& charactersTreatedAsSpace)
107 if (!glyphBuffer)
110 int glyphBufferSize = glyphBuffer->size();
111 if (glyphBuffer->size() <= lastGlyphCount + 1)
114 GlyphBufferAdvance* advances = glyphBuffer->advances(0);
120 glyphBuffer->reverse(lastGlyphCount, glyphBufferSize - lastGlyphCount);
122 fontData->applyTransforms(glyphBuffer->glyphs(lastGlyphCount), advances + lastGlyphCount, glyphBufferSize - lastGlyphCount, typesettingFeatures);
125 glyphBuffer->reverse(lastGlyphCount, glyphBufferSize - lastGlyphCount)
    [all...]
FontFastPath.cpp 29 #include "core/platform/graphics/GlyphBuffer.h"
395 float Font::getGlyphsAndAdvancesForSimpleText(const TextRun& run, int from, int to, GlyphBuffer& glyphBuffer, ForTextEmphasisOrNot forTextEmphasis) const
402 GlyphBuffer localGlyphBuffer;
405 it.advance(to, &glyphBuffer);
407 if (glyphBuffer.isEmpty())
420 glyphBuffer.reverse(0, glyphBuffer.size());
428 GlyphBuffer glyphBuffer;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/mac/
FontComplexTextMac.cpp 29 #include "core/platform/graphics/GlyphBuffer.h"
72 float Font::getGlyphsAndAdvancesForComplexText(const TextRun& run, int from, int to, GlyphBuffer& glyphBuffer, ForTextEmphasisOrNot forTextEmphasis) const
79 controller.advance(to, &glyphBuffer);
81 if (glyphBuffer.isEmpty())
88 glyphBuffer.reverse(0, glyphBuffer.size());
98 GlyphBuffer glyphBuffer;
101 if (shaper.shape(&glyphBuffer)) {
    [all...]
FontMac.cpp 36 #include "core/platform/graphics/GlyphBuffer.h"
90 const GlyphBuffer& glyphBuffer, int from, int numGlyphs,
117 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from);
125 // GlyphBuffer has no advances other than the defaults. In that case the
129 const GlyphBufferAdvance* adv = glyphBuffer.advances(from);
ComplexTextController.cpp 489 void ComplexTextController::advance(unsigned offset, GlyphBuffer* glyphBuffer, GlyphIterationStyle iterationStyle, HashSet<const SimpleFontData*>* fallbackFonts)
533 if (glyphBuffer && !m_characterInCurrentGlyph)
534 glyphBuffer->add(m_adjustedGlyphs[k], complexTextRun.fontData(), adjustedAdvance);
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/
FontChromiumWin.cpp 37 #include "core/platform/graphics/GlyphBuffer.h"
62 const GlyphBuffer& glyphBuffer,
99 const Glyph* glyphs = glyphBuffer.glyphs(from + glyphIndex);
110 currentWidth += glyphBuffer.advanceAt(from + glyphIndex);
136 glyphs[i] = glyphBuffer.glyphAt(from + glyphIndex);
137 horizontalOffset += glyphBuffer.advanceAt(from + glyphIndex);
140 currentWidth += glyphBuffer.advanceAt(from + glyphIndex);
GlyphPageTreeNodeChromiumWin.cpp 55 static bool getGlyphIndices(HFONT font, HDC dc, const UChar* characters, unsigned charactersLength, WORD* glyphBuffer, DWORD flag)
57 if (GetGlyphIndices(dc, characters, charactersLength, glyphBuffer, flag) != GDI_ERROR)
60 if (GetGlyphIndices(dc, characters, charactersLength, glyphBuffer, flag) != GDI_ERROR)
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/harfbuzz/
FontHarfBuzz.cpp 36 #include "core/platform/graphics/GlyphBuffer.h"
59 const GlyphBuffer& glyphBuffer, int from, int numGlyphs,
63 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from);
69 // GlyphBuffer has no advances other than the defaults. In that case the
73 const GlyphBufferAdvance* adv = glyphBuffer.advances(from);
182 GlyphBuffer glyphBuffer;
185 if (!shaper.shape(&glyphBuffer))
188 drawGlyphBuffer(gc, runInfo, glyphBuffer, adjustedPoint)
    [all...]
HarfBuzzShaper.cpp 366 bool HarfBuzzShaper::shape(GlyphBuffer* glyphBuffer)
374 if (!shapeHarfBuzzRuns(glyphBuffer || m_run.directionalOverride()))
378 if (glyphBuffer && !fillGlyphBuffer(glyphBuffer))
560 void HarfBuzzShaper::fillGlyphBufferFromHarfBuzzRun(GlyphBuffer* glyphBuffer, HarfBuzzRun* currentRun, FloatPoint& firstOffsetOfNextRun)
578 glyphBuffer->add(glyphs[i], currentRun->fontData(), createGlyphBufferAdvance(glyphAdvanceX, glyphAdvanceY));
583 glyphBuffer->add(glyphs[i], currentRun->fontData(), createGlyphBufferAdvance(glyphAdvanceX, glyphAdvanceY));
588 bool HarfBuzzShaper::fillGlyphBuffer(GlyphBuffer* glyphBuffer
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGTextRunRenderingContext.cpp 28 #include "core/platform/graphics/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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jar 

Completed in 1589 milliseconds