Home | History | Annotate | Download | only in layout

Lines Matching full:count

65 // Returns: output character count
66 le_int32 ArabicOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft,
73 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
78 outChars = LE_NEW_ARRAY(LEUnicode, count);
85 glyphStorage.allocateGlyphArray(count, rightToLeft, success);
93 CanonShaping::reorderMarks(&chars[offset], count, rightToLeft, outChars, glyphStorage);
98 ArabicShaping::shape(chars, offset, count, max, rightToLeft, glyphStorage);
100 return count;
103 void ArabicOpenTypeLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse,
110 if (chars == NULL || offset < 0 || count < 0) {
116 OpenTypeLayoutEngine::adjustGlyphPositions(chars, offset, count, reverse, glyphStorage, success);
125 adjustMarkGlyphs(&chars[offset], count, reverse, glyphStorage, &filter, success);
174 void UnicodeArabicOpenTypeLayoutEngine::mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, le_bool /*mirror*/, LEGlyphStorage &glyphStorage, LEErrorCode &success)
180 if (chars == NULL || offset < 0 || count < 0) {
188 out = count - 1;
192 glyphStorage.allocateGlyphArray(count, reverse, success);
194 for (i = 0; i < count; i += 1, out += dir) {
199 void UnicodeArabicOpenTypeLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse,
206 if (chars == NULL || offset < 0 || count < 0) {
213 adjustMarkGlyphs(&chars[offset], count, reverse, glyphStorage, &filter, success);