Lines Matching refs:glyphs

141   inline bool intersects (const hb_set_t *glyphs) const {
142 return glyphs->intersects (start, end);
146 inline void add_coverage (set_t *glyphs) const {
147 glyphs->add_range (start, end);
639 Supplier<GlyphID> &glyphs,
647 glyphArray[i] = glyphs[i];
648 glyphs.advance (num_glyphs);
657 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const {
658 return glyphs->has (glyphArray[index]);
662 inline void add_coverage (set_t *glyphs) const {
665 glyphs->add (glyphArray[i]);
707 Supplier<GlyphID> &glyphs,
717 if (glyphs[i - 1] + 1 != glyphs[i])
723 rangeRecord[range].start = glyphs[0];
726 if (glyphs[i - 1] + 1 != glyphs[i]) {
728 rangeRecord[range].start = glyphs[i];
730 rangeRecord[range].end = glyphs[i];
732 rangeRecord[range].end = glyphs[i];
734 glyphs.advance (num_glyphs);
743 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const {
750 range.intersects (glyphs))
759 inline void add_coverage (set_t *glyphs) const {
762 rangeRecord[i].add_coverage (glyphs);
816 Supplier<GlyphID> &glyphs,
823 if (glyphs[i - 1] + 1 != glyphs[i])
827 case 1: return TRACE_RETURN (u.format1.serialize (c, glyphs, num_glyphs));
828 case 2: return TRACE_RETURN (u.format2.serialize (c, glyphs, num_glyphs));
843 inline bool intersects (const hb_set_t *glyphs) const {
847 if (glyphs->has (iter.get_glyph ()))
853 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const {
855 case 1: return u.format1.intersects_coverage (glyphs, index);
856 case 2: return u.format2.intersects_coverage (glyphs, index);
862 inline void add_coverage (set_t *glyphs) const {
864 case 1: u.format1.add_coverage (glyphs); break;
865 case 2: u.format2.add_coverage (glyphs); break;
950 inline void add_class (set_t *glyphs, unsigned int klass) const {
954 glyphs->add (startGlyph + i);
957 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const {
960 if (classValue[i] == klass && glyphs->has (startGlyph + i))
993 inline void add_class (set_t *glyphs, unsigned int klass) const {
997 rangeRecord[i].add_coverage (glyphs);
1000 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const {
1003 if (rangeRecord[i].value == klass && rangeRecord[i].intersects (glyphs))
1038 inline void add_class (hb_set_t *glyphs, unsigned int klass) const {
1040 case 1: u.format1.add_class (glyphs, klass); return;
1041 case 2: u.format2.add_class (glyphs, klass); return;
1046 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const {
1048 case 1: return u.format1.intersects_class (glyphs, klass);
1049 case 2: return u.format2.intersects_class (glyphs, klass);