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

1 2 3

  /external/webkit/Source/WebCore/platform/graphics/skia/
SkiaFontWin.h 92 const int* advances,
SkiaFontWin.cpp 285 const int* advances,
303 x += SkIntToScalar(advances[i]);
324 x += advances[i];
353 const int* advances,
375 &glyphs[0], &advances[0], &offsets[0], numGlyphs))
407 &glyphs[0], &advances[0], &offsets[0], numGlyphs))
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/
search.h 45 * @brief Precalculate advances for Knuth-Morris-Pratt algorithm.
48 * @param advances Returned offsets.
115 difference_type advances[pattern_length]; local
116 calc_borders(begin2, pattern_length, advances);
157 start += (pos_in_pattern - advances[pos_in_pattern]);
159 (advances[pos_in_pattern] < 0) ? 0 : advances[pos_in_pattern];
  /external/webkit/Source/WebCore/platform/graphics/chromium/
FontChromiumWin.cpp 199 bool drawGlyphs(int numGlyphs, const WORD* glyphs, const int* advances, float startAdvance) const;
258 const int* advances,
265 numGlyphs, glyphs, advances, 0, &origin);
291 ExtTextOut(m_hdc, x + shadowOffset.width(), y + shadowOffset.height(), ETO_GLYPH_INDEX, 0, reinterpret_cast<const wchar_t*>(&glyphs[0]), numGlyphs, &advances[0]);
295 return !!ExtTextOut(m_hdc, x, y, ETO_GLYPH_INDEX, 0, reinterpret_cast<const wchar_t*>(&glyphs[0]), numGlyphs, &advances[0]);
388 // the arrays of characters and advances. Since ExtTextOut is the
394 Vector<int, kMaxBufferLength> advances; local
398 // of each glyph in floating point units and rounds to integer advances at the last possible moment.
406 advances.resize(curLen);
412 advances[i] = lroundf(horizontalOffset) - lastHorizontalOffsetRounded
    [all...]
ComplexTextControllerLinux.h 100 // Get the advances (widths) for each glyph.
101 const HB_Fixed* advances() const { return m_item.advances; } function in class:WebCore::ComplexTextController
HarfbuzzSkia.cpp 89 static void glyphsToAdvances(HB_Font hbFont, const HB_Glyph* glyphs, hb_uint32 numGlyphs, HB_Fixed* advances, int flags)
102 paint.getTextWidths(glyphs16.get(), numGlyphs * sizeof(uint16_t), reinterpret_cast<SkScalar*>(advances));
104 // The |advances| values which Skia outputs are SkScalars, which are floats
110 memcpy(&value, reinterpret_cast<char*>(advances) + sizeof(float) * i, sizeof(float));
111 advances[i] = SkiaScalarToHarfbuzzFixed(value);
ComplexTextControllerLinux.cpp 233 delete[] m_item.advances;
243 m_item.advances = new HB_Fixed[size];
261 memset(m_item.advances, 0, size * sizeof(HB_Fixed));
307 double advance = truncateFixedPointToInteger(m_item.advances[i]);
FontLinux.cpp 91 // GlyphBuffer has no advances other than the defaults. In that case the
95 const GlyphBufferAdvance* adv = glyphBuffer.advances(from);
260 int advance = truncateFixedPointToInteger(controller.advances()[glyphIndex]);
350 fromX += truncateFixedPointToInteger(controller.advances()[glyph]);
358 toX += truncateFixedPointToInteger(controller.advances()[glyph]);
  /external/webkit/Source/WebCore/platform/graphics/mac/
FontMac.mm 81 static void showGlyphsWithAdvances(const FloatPoint& point, const SimpleFontData* font, CGContextRef context, const CGGlyph* glyphs, const CGSize* advances, size_t count)
114 position.x += advances[i].width;
115 position.y += advances[i].height;
120 CGContextShowGlyphsWithAdvances(context, glyphs, advances, count);
131 CGSize advance = CGSizeApplyAffineTransform(advances[i - 1], matrix);
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);
  /external/freetype/src/base/
ftadvanc.c 26 FT_Fixed* advances,
49 advances[nn] = FT_MulDiv( advances[nn], scale, 64 );
  /external/webkit/Source/WebCore/platform/wx/wxcode/win/
non-kerned-drawing.cpp 107 const GlyphBufferAdvance* advances = glyphBuffer.advances(from); local
111 spacing[i] = advances[i].width();
  /frameworks/base/core/java/android/text/
GraphicsOperations.java 58 int flags, float[] advances, int advancesIndex, Paint paint);
  /frameworks/base/graphics/java/android/graphics/
Paint.java     [all...]
  /external/harfbuzz/contrib/
harfbuzz-freetype.c 37 HB_Fixed *advances, int flags) {
44 advances[i] = 0;
48 advances[i] = face->glyph->advance.x;
  /external/webkit/Source/WebCore/platform/graphics/win/
UniscribeController.cpp 242 Vector<int> advances; local
244 advances.resize(glyphs.size());
247 &item.a, advances.data(), offsets.data(), 0);
255 &item.a, advances.data(), offsets.data(), 0);
280 advances[clusters[k]] = treatAsSpace ? logicalSpaceWidth : 0;
293 float advance = advances[k] / cLogicalScale;
354 // Mutate the glyph array to contain our altered advances.
356 advances[k] = advance;
363 advances.data(), &item.a, &m_offsetPosition, &trailing);
  /external/webkit/Source/WebCore/platform/graphics/android/fonts/
FontAndroid.cpp 211 const GlyphBufferAdvance* adv = glyphBuffer.advances(from);
474 // Get the advances (widths) for each glyph.
475 const HB_Fixed* advances() const { return m_item.advances; } function in class:WebCore::TextRunWalker
762 delete[] m_item.advances;
772 m_item.advances = new HB_Fixed[size];
789 memset(m_item.advances, 0, size * sizeof(m_item.advances[0]));
831 int advance = truncateFixedPointToInteger(m_item.advances[i]);
857 if (0 == m_item.advances[i])
1086 const HB_Fixed* advances = walker.advances(); local
    [all...]
HarfbuzzSkia.cpp 76 static void glyphsToAdvances(HB_Font hbFont, const HB_Glyph* glyphs, hb_uint32 numGlyphs, HB_Fixed* advances, int flags)
89 paint.getTextWidths(glyphs16.get(), numGlyphs * sizeof(uint16_t), reinterpret_cast<SkScalar*>(advances));
91 // The |advances| values which Skia outputs are SkScalars, which are floats
97 memcpy(&value, reinterpret_cast<char*>(advances) + sizeof(float) * i, sizeof(value));
98 advances[i] = SkiaScalarToHarfbuzzFixed(value);
  /external/harfbuzz_ng/src/
hb-buffer-deserialize-text.rl 77 advances= '+' (num >tok %parse_x_advance) (',' (num >tok %parse_y_advance))?;
83 advances?
hb-old.cc 112 HB_Fixed *advances,
118 advances[i] = font->get_glyph_h_advance (glyphs[i]);
338 ALLOCATE_ARRAY (HB_Fixed, item.advances, num_glyphs);
389 info[i].mask = item.advances[i];
  /external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/
non-kerned-drawing.cpp 73 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
  /external/harfbuzz/src/
harfbuzz-shaper.h 243 void (*getGlyphAdvances)(HB_Font font, const HB_Glyph *glyphs, hb_uint32 numGlyphs, HB_Fixed *advances, int flags /*HB_ShaperFlag*/);
277 hb_uint32 num_glyphs; /* input: capacity of output arrays <glyphs>, <attributes>, <advances>, <offsets>, and <log_clusters>; */
282 HB_Fixed *advances; /* output: <num_glyphs> advances */ member in struct:HB_ShaperItem_
  /external/harfbuzz_ng/src/hb-old/
harfbuzz-shaper.h 212 void (*getGlyphAdvances)(HB_Font font, const HB_Glyph *glyphs, hb_uint32 numGlyphs, HB_Fixed *advances, int flags /*HB_ShaperFlag*/);
246 hb_uint32 num_glyphs; /* input: capacity of output arrays <glyphs>, <attributes>, <advances>, <offsets>, and <log_clusters>; */
251 HB_Fixed *advances; /* output: <num_glyphs> advances */ member in struct:HB_ShaperItem_
  /external/webkit/Source/WebCore/platform/graphics/
GlyphBuffer.h 59 // CG uses CGSize instead of FloatSize so that the result of advances()
87 GlyphBufferAdvance* advances(int from) { return m_advances.data() + from; } function in class:WebCore::GlyphBuffer
89 const GlyphBufferAdvance* advances(int from) const { return m_advances.data() + from; } function in class:WebCore::GlyphBuffer
  /external/freetype/src/truetype/
ttdriver.c 133 FT_Fixed *advances )
150 advances[nn] = ah;
162 advances[nn] = aw;
  /cts/tests/tests/text/src/android/text/cts/
StaticLayoutLineBreakingTest.java 51 int contextIndex, int contextCount, int flags, float[] advances,
67 | (advances == null ? 0 :
68 (advances.length - (advancesIndex + count)))) < 0) {
74 if (advances != null) {
77 advances[advancesIndex + i] = width;

Completed in 418 milliseconds

1 2 3