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

  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
GlyphBufferTest.cpp 6 #include "platform/fonts/GlyphBuffer.h"
37 GlyphBuffer glyphBuffer;
38 EXPECT_TRUE(glyphBuffer.isEmpty());
39 EXPECT_EQ(0u, glyphBuffer.size());
47 GlyphBuffer glyphBuffer;
48 glyphBuffer.add(42, font1.get(), 10);
49 glyphBuffer.add(43, font1.get(), 15);
50 glyphBuffer.add(44, font2.get(), FloatSize(12, 2))
    [all...]
WidthIterator.cpp 29 #include "platform/fonts/GlyphBuffer.h"
113 const SimpleFontData& fontData, GlyphBuffer* glyphBuffer)
129 if (glyphBuffer) {
130 if (glyphBuffer->isEmpty()) {
132 glyphBuffer->add(fontData.zeroWidthSpaceGlyph(), &fontData, m_expansionPerOpportunity);
134 glyphBuffer->add(fontData.spaceGlyph(), &fontData, expansionAtThisOpportunity);
136 glyphBuffer->expandLastAdvance(expansionAtThisOpportunity);
178 unsigned WidthIterator::advanceInternal(TextIterator& textIterator, GlyphBuffer* glyphBuffer)
    [all...]
Font.cpp 33 #include "platform/fonts/GlyphBuffer.h"
228 GlyphBuffer glyphBuffer;
229 float initialAdvance = getGlyphsAndAdvancesForSimpleText(runInfo, glyphBuffer);
230 ASSERT(!glyphBuffer.hasVerticalAdvances());
232 if (glyphBuffer.isEmpty())
239 return buildTextBlob(glyphBuffer, initialAdvance, blobBounds, ignoredWidth, couldUseLCDRenderedText);
670 float Font::getGlyphsAndAdvancesForSimpleText(const TextRunPaintInfo& runInfo, GlyphBuffer& glyphBuffer, ForTextEmphasisOrNot forTextEmphasis) const
677 it.advance(runInfo.to, &glyphBuffer);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
FontComplexTextMac.cpp 30 #include "platform/fonts/GlyphBuffer.h"
70 float Font::getGlyphsAndAdvancesForComplexText(const TextRunPaintInfo& runInfo, GlyphBuffer& glyphBuffer, ForTextEmphasisOrNot forTextEmphasis) const
77 controller.advance(runInfo.to, &glyphBuffer);
79 if (glyphBuffer.isEmpty())
86 glyphBuffer.reverse();
96 GlyphBuffer glyphBuffer;
99 if (shaper.shape(&glyphBuffer)) {
100 return drawGlyphBuffer(context, runInfo, glyphBuffer, point)
    [all...]
FontMac.cpp 37 #include "platform/fonts/GlyphBuffer.h"
78 const GlyphBuffer& glyphBuffer, unsigned from, unsigned numGlyphs,
104 const Glyph* glyphs = glyphBuffer.glyphs(from);
115 // GlyphBuffer has no advances other than the defaults. In that case the
119 const FloatSize* adv = glyphBuffer.advances(from);
175 PassTextBlobPtr Font::buildTextBlob(const GlyphBuffer& glyphBuffer, float initialAdvance,
ComplexTextController.cpp 30 #include "platform/fonts/GlyphBuffer.h"
411 void ComplexTextController::advance(unsigned offset, GlyphBuffer* glyphBuffer, GlyphIterationStyle iterationStyle, HashSet<const SimpleFontData*>* fallbackFonts)
455 if (glyphBuffer && !m_characterInCurrentGlyph)
456 glyphBuffer->add(m_adjustedGlyphs[k], complexTextRun.fontData(), FloatSize(adjustedAdvance));
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
FontHarfBuzz.cpp 38 #include "platform/fonts/GlyphBuffer.h"
122 const GlyphBuffer& glyphBuffer, unsigned from, unsigned numGlyphs,
148 const Glyph* glyphs = glyphBuffer.glyphs(from + glyphIndex);
160 currentWidth += glyphBuffer.advanceAt(from + glyphIndex).width();
170 if (!glyphBuffer.hasVerticalAdvances()) {
173 const FloatSize* adv = glyphBuffer.advances(from);
178 const Glyph* glyphs = glyphBuffer.glyphs(from);
185 // GlyphBuffer has no advances other than the defaults. In that case the
191 const FloatSize* adv = glyphBuffer.advances(from)
    [all...]
HarfBuzzShaper.cpp 40 #include "platform/fonts/GlyphBuffer.h"
558 bool HarfBuzzShaper::shape(GlyphBuffer* glyphBuffer)
571 && glyphBuffer && !fillGlyphBuffer(glyphBuffer))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGTextRunRenderingContext.cpp 34 #include "platform/fonts/GlyphBuffer.h"
76 GlyphBuffer glyphBuffer;
77 charsConsumed += it.advance(run.length(), &glyphBuffer);
78 glyphId = !glyphBuffer.isEmpty() ? glyphBuffer.glyphAt(0) : 0;
82 void SVGTextRunRenderingContext::drawSVGGlyphs(GraphicsContext* context, const TextRun& run, const SimpleFontData* fontData, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) const
112 Glyph glyph = glyphBuffer.glyphAt(from + i);
116 float advance = glyphBuffer.advanceAt(from + i).width()
    [all...]
SVGTextMetricsBuilder.cpp 28 #include "platform/fonts/GlyphBuffer.h"
118 GlyphBuffer glyphBuffer;
119 unsigned metricsLength = m_simpleWidthIterator->advance(textPosition + 1, &glyphBuffer);
126 Glyph glyphId = glyphBuffer.glyphAt(0);
  /external/chromium_org/third_party/skia/src/core/
SkTextBlob.cpp 51 uint16_t* glyphBuffer() const {
58 return reinterpret_cast<SkScalar*>(reinterpret_cast<uint8_t*>(this->glyphBuffer()) +
82 SkASSERT(glyphBuffer() + fCount <= (uint16_t*)posBuffer());
251 return fCurrentRun->glyphBuffer();
383 fCurrentRunBuffer.glyphs = run->glyphBuffer() + preMergeCount;
413 fCurrentRunBuffer.glyphs = run->glyphBuffer();
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorCSSAgent.cpp 70 #include "platform/fonts/GlyphBuffer.h"
756 GlyphBuffer glyphBuffer;
757 it.advance(run.length(), &glyphBuffer);
758 for (unsigned i = 0; i < glyphBuffer.size(); ++i) {
759 String familyName = glyphBuffer.fontDataAt(i)->platformData().fontFamilyName();
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
InlineTextBox.cpp 52 #include "platform/fonts/GlyphBuffer.h"
    [all...]
  /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 315 milliseconds