Searched defs:advances (Results 1 - 23 of 23) sorted by relevance

/external/chromium_org/third_party/freetype/src/base/
H A Dftadvanc.c28 FT_Fixed* advances,
51 advances[nn] = FT_MulDiv( advances[nn], scale, 64 );
27 _ft_face_scale_advances( FT_Face face, FT_Fixed* advances, FT_UInt count, FT_Int32 flags ) argument
/external/freetype/src/base/
H A Dftadvanc.c28 FT_Fixed* advances,
51 advances[nn] = FT_MulDiv( advances[nn], scale, 64 );
27 _ft_face_scale_advances( FT_Face face, FT_Fixed* advances, FT_UInt count, FT_Int32 flags ) argument
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
H A DSkiaFontWin.cpp54 const int* advances,
73 x += SkIntToScalar(advances[i]);
81 x += SkIntToScalar(advances[i]);
93 const int* advances,
114 skiaDrawText(context, origin, textRect, &paint, &glyphs[0], &advances[0], &offsets[0], numGlyphs);
142 skiaDrawText(context, origin, textRect, &paint, &glyphs[0], &advances[0], &offsets[0], numGlyphs);
152 const int* advances,
158 numGlyphs, glyphs, advances, offsets, origin, textRect);
166 const int* advances,
179 paintSkiaText(context, data, face.get(), size, paintTextFlags, numGlyphs, glyphs, advances, offset
49 skiaDrawText(GraphicsContext* context, const SkPoint& point, const SkRect& textRect, SkPaint* paint, const WORD* glyphs, const int* advances, const GOFFSET* offsets, unsigned numGlyphs) argument
88 paintSkiaText(GraphicsContext* context, const FontPlatformData& data, SkTypeface* face, float size, uint32_t textFlags, unsigned numGlyphs, const WORD* glyphs, const int* advances, const GOFFSET* offsets, const SkPoint& origin, const SkRect& textRect) argument
148 paintSkiaText(GraphicsContext* context, const FontPlatformData& data, unsigned numGlyphs, const WORD* glyphs, const int* advances, const GOFFSET* offsets, const SkPoint& origin, const SkRect& textRect) argument
161 paintSkiaText(GraphicsContext* context, const FontPlatformData& data, HFONT hfont, unsigned numGlyphs, const WORD* glyphs, const int* advances, const GOFFSET* offsets, const SkPoint& origin, const SkRect& textRect) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DGlyphBuffer.h48 // CG uses CGSize instead of FloatSize so that the result of advances()
78 GlyphBufferAdvance* advances(unsigned from) { return m_advances.data() + from; } function in class:WebCore::GlyphBuffer
80 const GlyphBufferAdvance* advances(unsigned from) const { return m_advances.data() + from; } function in class:WebCore::GlyphBuffer
/external/harfbuzz/contrib/
H A Dharfbuzz-freetype.c37 HB_Fixed *advances, int flags) {
44 advances[i] = 0;
48 advances[i] = face->glyph->advance.x;
36 hb_freetype_advances_get(HB_Font font, const HB_Glyph *glyphs, hb_uint32 len, HB_Fixed *advances, int flags) argument
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
H A DHarfBuzzShaper.h89 float* advances() { return &m_advances[0]; } function in class:WebCore::FINAL::HarfBuzzRun
H A DHarfBuzzShaper.cpp273 // Sum up advances that belong to a character.
772 float* advances = currentRun->advances(); local
780 float glyphAdvanceX = advances[i] + nextOffset.x() - currentOffset.x();
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
H A DFontWin.cpp72 // the arrays of characters and advances.
74 Vector<int, kMaxBufferLength> advances; local
99 // To position glyphs vertically, we use offsets instead of advances.
100 advances.resize(curLen);
101 advances.fill(0);
112 paintSkiaText(graphicsContext, font->platformData(), curLen, &glyphs[0], &advances[0], &offsets[0], origin, SkRect(textRect));
121 // of each glyph in floating point units and rounds to integer advances at the last possible moment.
129 advances.resize(curLen);
135 advances[i] = lroundf(horizontalOffset) - lastHorizontalOffsetRounded;
136 lastHorizontalOffsetRounded += advances[
[all...]
H A DUniscribeHelper.cpp220 Vector<int, 64> advances; local
221 advances.resize(totalGlyphs);
234 advances[destIndex] = shaping.m_advance[i];
248 ScriptJustify(&visualAttributes[0], &advances[0], totalGlyphs,
432 const int* advances = shaping.m_justify.size() ? local
449 advances,
1140 // the run. (The ABC width is the sum of the advances).
/external/chromium_org/third_party/skia/src/ports/
H A DSkHarfBuzzFont.cpp50 hb_uint32 numGlyphs, HB_Fixed* advances, int flags) {
68 advances[i] = SkScalarToHarfbuzzFixed(scalarWidths[i]);
49 glyphsToAdvances(HB_Font hbFont, const HB_Glyph* glyphs, hb_uint32 numGlyphs, HB_Fixed* advances, int flags) argument
H A DSkFontHost_FreeType.cpp393 FT_Int32 loadFlags, FT_Fixed* advances) {
395 return FT_Get_Advances(face, start, count, loadFlags, advances);
408 advances[i] = face->glyph->advance.x;
621 // So as to not blow out the stack, get advances in batches.
623 FT_Fixed advances[128];
628 advances);
630 int16_t advance = advances[i];
938 // advances, as fontconfig and cairo do.
1059 /* unhinted and light hinted text have linearly scaled advances
392 getAdvances(FT_Face face, FT_UInt start, FT_UInt count, FT_Int32 loadFlags, FT_Fixed* advances) argument
/external/harfbuzz/tests/shaping/
H A Dmain.cpp82 static void hb_getAdvances(HB_Font /*font*/, const HB_Glyph * /*glyphs*/, hb_uint32 numGlyphs, HB_Fixed *advances, int /*flags*/) argument
85 advances[i] = 0; // ### not tested right now
259 shaper_item.advances = hb_advances.data();
/external/harfbuzz_ng/src/
H A Dhb-old.cc112 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];
109 hb_old_getGlyphAdvances(HB_Font old_font, const HB_Glyph *glyphs, hb_uint32 numGlyphs, HB_Fixed *advances, int flags HB_UNUSED) argument
/external/skia/src/ports/
H A DSkHarfBuzzFont.cpp50 hb_uint32 numGlyphs, HB_Fixed* advances, int flags) {
68 advances[i] = SkScalarToHarfbuzzFixed(scalarWidths[i]);
49 glyphsToAdvances(HB_Font hbFont, const HB_Glyph* glyphs, hb_uint32 numGlyphs, HB_Fixed* advances, int flags) argument
H A DSkFontHost_FreeType.cpp395 FT_Int32 loadFlags, FT_Fixed* advances) {
397 return FT_Get_Advances(face, start, count, loadFlags, advances);
410 advances[i] = face->glyph->advance.x;
623 // So as to not blow out the stack, get advances in batches.
625 FT_Fixed advances[128];
630 advances);
632 int16_t advance = advances[i];
1000 // advances, as fontconfig and cairo do.
1121 /* unhinted and light hinted text have linearly scaled advances
394 getAdvances(FT_Face face, FT_UInt start, FT_UInt count, FT_Int32 loadFlags, FT_Fixed* advances) argument
/external/skia/tests/
H A DWArrayTest.cpp137 const int16_t advances[], int advanceLen,
140 : fAdvances(advances)
136 TestWData(skiatest::Reporter* reporter, const int16_t advances[], int advanceLen, const uint32_t subset[], int subsetLen, const char* expected) argument
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
H A DComplexTextController.h97 const CGSize* advances() const { return m_advances; } function in class:WebCore::ComplexTextController::ComplexTextRun
/external/harfbuzz_ng/src/hb-old/
H A Dharfbuzz-shaper.cpp204 item->advances[gfrom+i] = 0;
906 // calulate the advances for the shaped glyphs
913 HB_Fixed *advances = item->advances; local
929 ; //advances[i] = adjustment;
931 advances[i] += adjustment;
949 offsets[i].x -= advances[i-back];
954 offsets[i].x -= advances[i-back];
H A Dharfbuzz-shaper.h212 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/chromium_org/skia/ext/
H A Dvector_platform_device_emf_win.cc534 INT* advances = storage.get(); local
536 advances[i] = SkScalarRound(pos[2] - pos[0]);
541 count, advances, paint.getTypeface());
/external/harfbuzz/src/
H A Dharfbuzz-shaper.cpp404 item->advances[gfrom+i] = 0;
1268 // calulate the advances for the shaped glyphs
1275 HB_Fixed *advances = item->advances; local
1291 advances[i] = adjustment;
1293 advances[i] += adjustment;
1311 offsets[i].x -= advances[i-back];
1316 offsets[i].x -= advances[i-back];
H A Dharfbuzz-shaper.h243 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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 625 milliseconds