HomeSort by relevance Sort by last modified time
    Searched defs:glyphs (Results 1 - 25 of 42) sorted by null

1 2

  /external/webkit/WebCore/platform/graphics/chromium/
GlyphPageTreeNodeLinux.cpp 55 uint16_t* glyphs = glyphStorage.get(); local
57 unsigned count = paint.textToGlyphs(buffer, bufferLength * 2, glyphs);
65 setGlyphDataForIndex(offset + i, glyphs[i], glyphs[i] ? fontData : NULL);
66 allGlyphs |= glyphs[i];
SimpleFontDataLinux.cpp 148 uint16_t glyphs[maxBufferCount]; local
154 int n = SkMin32(length, SK_ARRAY_COUNT(glyphs));
157 int count = paint.textToGlyphs(characters, n * 2, glyphs);
159 if (0 == glyphs[i])
FontChromiumWin.cpp 194 // Draws the partial string of glyphs, starting at |startAdvance| to the
198 bool drawGlyphs(int numGlyphs, const WORD* glyphs, const int* advances, int startAdvance) const;
255 const WORD* glyphs,
263 numGlyphs, glyphs, advances, 0, &origin);
288 ExtTextOut(m_hdc, x + shadowSize.width(), y + shadowSize.height(), ETO_GLYPH_INDEX, 0, reinterpret_cast<const wchar_t*>(&glyphs[0]), numGlyphs, &advances[0]);
292 return !!ExtTextOut(m_hdc, x, y, ETO_GLYPH_INDEX, 0, reinterpret_cast<const wchar_t*>(&glyphs[0]), numGlyphs, &advances[0]);
383 // We draw the glyphs in chunks to avoid having to do a heap allocation for
389 Vector<WORD, kMaxBufferLength> glyphs; local
396 glyphs.resize(curLen);
401 glyphs[i] = glyphBuffer.glyphAt(from + glyphIndex)
    [all...]
  /external/webkit/WebCore/platform/graphics/android/
GlyphMapAndroid.cpp 54 uint16_t* glyphs = glyphStorage.get(); local
55 unsigned count = paint.textToGlyphs(buffer, bufferLength << 1, glyphs);
69 uint16_t glyphID = glyphs[i];
78 uint16_t glyphID = glyphs[i];
FontAndroid.cpp 129 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from); local
147 if (EmojiFont::IsEmojiGlyph(glyphs[i])) {
149 canvas->drawPosText(&glyphs[localIndex],
152 EmojiFont::Draw(canvas, glyphs[i], x, y, paint);
153 // reset local index/count track for "real" glyphs
163 // draw the last run of glyphs (if any)
165 canvas->drawPosText(&glyphs[localIndex],
174 canvas->drawPosText(glyphs, numGlyphs * sizeof(uint16_t), pos, paint);
206 // go to chars, instead of glyphs, which was set by setupForText(
    [all...]
  /external/chromium/third_party/icu/source/test/letest/
letest.h 38 LEGlyphID *glyphs; member in struct:TestResult
cletest.c 42 LEGlyphID *glyphs = NULL; local
60 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10);
71 le_getGlyphs(engine, glyphs, &status);
74 log_err("Calling getGlyphs(glyphs, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n");
121 DELETE_ARRAY(glyphs);
215 LEGlyphID glyphs[6]; local
236 le_getGlyphs(engine, glyphs, &status);
296 if (actual->glyphs[i] != expected->glyphs[i]) {
298 testID, i, expected->glyphs[i], actual->glyphs[i])
    [all...]
gendata.cpp 164 LEGlyphID *glyphs = NULL; local
259 glyphs = NEW_ARRAY(LEGlyphID, glyphCount);
263 engine->getGlyphs(glyphs, leStatus);
267 dumpLongs(outputFile, "result-glyphs", (le_int32 *) glyphs, glyphCount);
277 DELETE_ARRAY(glyphs);
xmlreader.cpp 149 UnicodeString result_glyphs = UNICODE_STRING_SIMPLE("result-glyphs");
180 UnicodeString text, glyphs, indices, positions; local
212 glyphs = element->getText(TRUE);
226 expected.glyphs = (LEGlyphID *) getHexArray(glyphs, glyphCount);
243 DELETE_ARRAY(expected.glyphs);
  /external/icu4c/layout/
LEInsertionList.cpp 20 LEGlyphID glyphs[ANY_NUMBER]; member in struct:InsertionRecord
82 return insertion->glyphs;
88 if (callback->applyInsertion(rec->position, rec->count, rec->glyphs)) {
  /external/icu4c/test/letest/
letest.h 38 LEGlyphID *glyphs; member in struct:TestResult
cletest.c 42 LEGlyphID *glyphs = NULL; local
60 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10);
71 le_getGlyphs(engine, glyphs, &status);
74 log_err("Calling getGlyphs(glyphs, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n");
121 DELETE_ARRAY(glyphs);
215 LEGlyphID glyphs[6]; local
236 le_getGlyphs(engine, glyphs, &status);
296 if (actual->glyphs[i] != expected->glyphs[i]) {
298 testID, i, expected->glyphs[i], actual->glyphs[i])
    [all...]
gendata.cpp 164 LEGlyphID *glyphs = NULL; local
259 glyphs = NEW_ARRAY(LEGlyphID, glyphCount);
263 engine->getGlyphs(glyphs, leStatus);
267 dumpLongs(outputFile, "result-glyphs", (le_int32 *) glyphs, glyphCount);
277 DELETE_ARRAY(glyphs);
xmlreader.cpp 149 UnicodeString result_glyphs = UNICODE_STRING_SIMPLE("result-glyphs");
180 UnicodeString text, glyphs, indices, positions; local
212 glyphs = element->getText(TRUE);
226 expected.glyphs = (LEGlyphID *) getHexArray(glyphs, glyphCount);
243 DELETE_ARRAY(expected.glyphs);
  /external/webkit/WebCore/platform/graphics/gtk/
GlyphPageTreeNodePango.cpp 55 PangoGlyphString* glyphs = pango_glyph_string_new(); local
56 pango_shape(buffer, length, &item->analysis, glyphs);
60 if (glyphs->num_glyphs == 1)
61 result = glyphs->glyphs[0].glyph;
63 g_warning("didn't get 1 glyph but %d", glyphs->num_glyphs);
65 pango_glyph_string_free(glyphs);
  /external/webkit/WebCore/platform/graphics/haiku/
FontHaiku.cpp 79 GlyphBufferGlyph* glyphs = const_cast<GlyphBufferGlyph*>(glyphBuffer.glyphs(from)); local
83 charUnicodeToUTF8HACK(glyphs[i], out);
  /external/webkit/WebCore/platform/wx/wxcode/mac/carbon/
non-kerned-drawing.cpp 95 CGGlyph glyphs[numGlyphs]; local
104 CGFontGetGlyphsForUnichars(cgFont, glyphBuffer.glyphs(from), glyphs, numGlyphs);
111 CGContextShowGlyphsWithAdvances(cgContext, glyphs, sizes, numGlyphs);
  /external/webkit/WebCore/svg/
SVGGlyphMap.h 39 Vector<SVGGlyphIdentifier> glyphs; member in struct:WebCore::GlyphMapNode
66 node->glyphs.append(glyph);
67 node->glyphs.last().priority = m_currentPriority++;
68 node->glyphs.last().nameLength = len;
69 node->glyphs.last().isValid = true;
78 void get(const String& string, Vector<SVGGlyphIdentifier>& glyphs)
87 glyphs.append(node->glyphs);
90 std::sort(glyphs.begin(), glyphs.end(), compareGlyphPriority)
    [all...]
  /external/webkit/WebCore/platform/graphics/
GlyphBuffer.h 86 GlyphBufferGlyph* glyphs(int from) { return m_glyphs.data() + from; } function in class:WebCore::GlyphBuffer
88 const GlyphBufferGlyph* glyphs(int from) const { return m_glyphs.data() + from; } function in class:WebCore::GlyphBuffer
  /external/webkit/WebCore/platform/graphics/cairo/
FontCairo.cpp 52 GlyphBufferGlyph* glyphs = (GlyphBufferGlyph*)glyphBuffer.glyphs(from); local
56 glyphs[i].x = offset;
57 glyphs[i].y = 0.0f;
91 cairo_scaled_font_glyph_extents(font->platformData().scaledFont(), glyphs, numGlyphs, &extents);
107 cairo_show_glyphs(shadowCr, glyphs, numGlyphs);
111 cairo_show_glyphs(shadowCr, glyphs, numGlyphs);
118 cairo_show_glyphs(cr, glyphs, numGlyphs);
122 cairo_show_glyphs(cr, glyphs, numGlyphs);
151 cairo_show_glyphs(cr, glyphs, numGlyphs)
    [all...]
  /external/webkit/WebCore/platform/wx/wxcode/gtk/
non-kerned-drawing.cpp 165 PangoGlyphString* glyphs = pango_glyph_string_new(); local
166 pango_shape(buffer, length, &item->analysis, glyphs);
170 if (glyphs->num_glyphs == 1)
171 result = glyphs->glyphs[0].glyph;
173 g_warning("didn't get 1 glyph but %d", glyphs->num_glyphs);
175 pango_glyph_string_free(glyphs);
201 cairo_glyph_t* glyphs = NULL; local
202 glyphs = static_cast<cairo_glyph_t*>(malloc(sizeof(cairo_glyph_t) * numGlyphs));
207 glyphs[i].index = pango_font_get_glyph(pangoFont, pangoContext, glyphBuffer.glyphAt(from + i))
    [all...]
  /external/webkit/WebCore/platform/wx/wxcode/win/
non-kerned-drawing.cpp 106 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from); local
124 wxString string = wxString((wxChar*)(&glyphs[from]), numGlyphs);
125 ::ExtTextOut(hdc, x, y, ETO_GLYPH_INDEX, 0, reinterpret_cast<const WCHAR*>(glyphs), numGlyphs, spacing);
  /external/icu4c/samples/layout/
paragraph.cpp 241 const LEGlyphID *glyphs = visualRun->getGlyphs(); local
244 surface->drawGlyphs(font, glyphs, glyphCount, positions, x, y, fWidth, fHeight);
  /external/webkit/WebCore/platform/graphics/mac/
ComplexTextController.h 42 // ComplexTextController is responsible for rendering and measuring glyphs for
51 // Advance and emit glyphs up to the specified character.
92 const CGGlyph* glyphs() const { return m_glyphs; } function in class:WebCore::ComplexTextController::ComplexTextRun
  /external/webkit/WebCore/platform/graphics/win/
UniscribeController.cpp 221 Vector<WORD> glyphs; local
229 glyphs.resize(1.5 * len + 16);
230 visualAttributes.resize(glyphs.size());
232 if (!shape(str, len, item, fontData, glyphs, clusters, visualAttributes))
235 // We now have a collection of glyphs.
238 offsets.resize(glyphs.size());
239 advances.resize(glyphs.size());
241 HRESULT placeResult = ScriptPlace(0, fontData->scriptCache(), glyphs.data(), glyphs.size(), visualAttributes.data(),
249 placeResult = ScriptPlace(hdc, fontData->scriptCache(), glyphs.data(), glyphs.size(), visualAttributes.data()
    [all...]

Completed in 4507 milliseconds

1 2