Lines Matching refs:glyphs

142   inline bool intersects (const hb_set_t *glyphs) const {
143 return glyphs->intersects (start, end);
147 inline void add_coverage (set_t *glyphs) const {
148 glyphs->add_range (start, end);
641 Supplier<GlyphID> &glyphs,
649 glyphArray[i] = glyphs[i];
650 glyphs.advance (num_glyphs);
659 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const {
660 return glyphs->has (glyphArray[index]);
664 inline void add_coverage (set_t *glyphs) const {
667 glyphs->add (glyphArray[i]);
709 Supplier<GlyphID> &glyphs,
719 if (glyphs[i - 1] + 1 != glyphs[i])
725 rangeRecord[range].start = glyphs[0];
728 if (glyphs[i - 1] + 1 != glyphs[i]) {
730 rangeRecord[range].start = glyphs[i];
732 rangeRecord[range].end = glyphs[i];
734 rangeRecord[range].end = glyphs[i];
736 glyphs.advance (num_glyphs);
745 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const {
752 range.intersects (glyphs))
761 inline void add_coverage (set_t *glyphs) const {
764 rangeRecord[i].add_coverage (glyphs);
818 Supplier<GlyphID> &glyphs,
825 if (glyphs[i - 1] + 1 != glyphs[i])
829 case 1: return TRACE_RETURN (u.format1.serialize (c, glyphs, num_glyphs));
830 case 2: return TRACE_RETURN (u.format2.serialize (c, glyphs, num_glyphs));
845 inline bool intersects (const hb_set_t *glyphs) const {
849 if (glyphs->has (iter.get_glyph ()))
855 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const {
857 case 1: return u.format1.intersects_coverage (glyphs, index);
858 case 2: return u.format2.intersects_coverage (glyphs, index);
864 inline void add_coverage (set_t *glyphs) const {
866 case 1: u.format1.add_coverage (glyphs); break;
867 case 2: u.format2.add_coverage (glyphs); break;
952 inline void add_class (set_t *glyphs, unsigned int klass) const {
956 glyphs->add (startGlyph + i);
959 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const {
965 if (!hb_set_next (glyphs, &g))
970 if (hb_set_next (glyphs, &g))
975 if (classValue[i] == klass && glyphs->has (startGlyph + i))
1008 inline void add_class (set_t *glyphs, unsigned int klass) const {
1012 rangeRecord[i].add_coverage (glyphs);
1015 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const {
1023 if (!hb_set_next (glyphs, &g))
1029 if (g != (hb_codepoint_t) -1 && hb_set_next (glyphs, &g))
1034 if (rangeRecord[i].value == klass && rangeRecord[i].intersects (glyphs))
1069 inline void add_class (hb_set_t *glyphs, unsigned int klass) const {
1071 case 1: u.format1.add_class (glyphs, klass); return;
1072 case 2: u.format2.add_class (glyphs, klass); return;
1077 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const {
1079 case 1: return u.format1.intersects_class (glyphs, klass);
1080 case 2: return u.format2.intersects_class (glyphs, klass);