Home
last modified time | relevance | path

Searched refs:numberOfContours (Results 1 – 25 of 31) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/truetype/
DGlyph.java21 private final int numberOfContours; field in Glyph
28 this.numberOfContours = 0; in Glyph()
31 this.numberOfContours = this.data.readShort(Offset.numberOfContours.offset); in Glyph()
40 this.numberOfContours = 0; in Glyph()
43 this.numberOfContours = this.data.readShort(Offset.numberOfContours.offset); in Glyph()
54 int numberOfContours = data.readShort(offset); in glyphType() local
55 if (numberOfContours >= 0) { in glyphType()
102 public int numberOfContours() { in numberOfContours() method in Glyph
103 return this.numberOfContours; in numberOfContours()
135 sb.append(this.numberOfContours()); in toString()
DSimpleGlyph.java68 this.data.readUShort(Offset.simpleEndPtsOfCountours.offset + this.numberOfContours() in initialize()
71 Offset.simpleEndPtsOfCountours.offset + (this.numberOfContours() + 1) in initialize()
75 this.numberOfPoints = this.contourEndPoint(this.numberOfContours() - 1) + 1; in initialize()
84 this.contourIndex = new int[this.numberOfContours() + 1]; in initialize()
92 + (this.numberOfContours() * FontData.DataSize.USHORT.size()) in initialize()
200 if (contour >= this.numberOfContours()) { in numberOfPoints()
226 for (int contour = 0; contour < this.numberOfContours(); contour++) { in toString()
DGlyphTable.java40 numberOfContours(0), enumConstant
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/truetype/
DGlyph.java21 private final int numberOfContours; field in Glyph
28 this.numberOfContours = 0; in Glyph()
31 this.numberOfContours = this.data.readShort(Offset.numberOfContours.offset); in Glyph()
40 this.numberOfContours = 0; in Glyph()
43 this.numberOfContours = this.data.readShort(Offset.numberOfContours.offset); in Glyph()
54 int numberOfContours = data.readShort(offset); in glyphType() local
55 if (numberOfContours >= 0) { in glyphType()
102 public int numberOfContours() { in numberOfContours() method in Glyph
103 return this.numberOfContours; in numberOfContours()
135 sb.append(this.numberOfContours()); in toString()
DSimpleGlyph.java68 this.data.readUShort(Offset.simpleEndPtsOfCountours.offset + this.numberOfContours() in initialize()
71 Offset.simpleEndPtsOfCountours.offset + (this.numberOfContours() + 1) in initialize()
75 this.numberOfPoints = this.contourEndPoint(this.numberOfContours() - 1) + 1; in initialize()
84 this.contourIndex = new int[this.numberOfContours() + 1]; in initialize()
92 + (this.numberOfContours() * FontData.DataSize.USHORT.size()) in initialize()
200 if (contour >= this.numberOfContours()) { in numberOfPoints()
226 for (int contour = 0; contour < this.numberOfContours(); contour++) { in toString()
DGlyphTable.java40 numberOfContours(0), enumConstant
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-glyf-table.hh225 int16_t num_contours = (int16_t) glyph_header.numberOfContours; in _zero_instruction_length()
235 if (glyph_header.numberOfContours >= 0) return true; // only for composites in _remove_composite_instruction_flag()
269 HBINT16 numberOfContours; /* If the number of contours is member
356 if (glyph_header.numberOfContours < 0) in get_iterator()
439 int16_t num_contours = (int16_t) glyph_header.numberOfContours; in remove_padding()
541 int16_t num_contours = (int16_t) glyph_header.numberOfContours; in get_instruction_length()
681 int16_t num_contours = (int16_t) header.numberOfContours; in drop_hints()
691 …dest_start = hb_bytes_t (&source_glyph, GlyphHeader::static_size + 2 * header.numberOfContours + 2… in drop_hints()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/
DGlyphRenumberer.java41 numberOfContours(0), enumConstant
79 return glyph.length() > 0 && glyph.readShort(Offset.numberOfContours.offset) < 0; in isCompositeGlyph()
DGlyphStripper.java87 + (simpleGlyph.numberOfContours() * ReadableFontData.DataSize.USHORT.size()); in writeHeaderAndContoursSize()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/
DGlyphRenumberer.java41 numberOfContours(0), enumConstant
79 return glyph.length() > 0 && glyph.readShort(Offset.numberOfContours.offset) < 0; in isCompositeGlyph()
DGlyphStripper.java87 + (simpleGlyph.numberOfContours() * ReadableFontData.DataSize.USHORT.size()); in writeHeaderAndContoursSize()
/third_party/flutter/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/
DHintStripTest.java104 assertEquals(1, simple.numberOfContours()); in testSimpleGlyph1()
125 assertEquals(2, simple.numberOfContours()); in testSimpleGlyph2()
DRenumberingSubsetTest.java129 assertEquals(1, simple.numberOfContours()); in testSimpleGlyph1()
150 assertEquals(2, simple.numberOfContours()); in testSimpleGlyph2()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/
DHintStripTest.java104 assertEquals(1, simple.numberOfContours()); in testSimpleGlyph1()
125 assertEquals(2, simple.numberOfContours()); in testSimpleGlyph2()
DRenumberingSubsetTest.java129 assertEquals(1, simple.numberOfContours()); in testSimpleGlyph1()
150 assertEquals(2, simple.numberOfContours()); in testSimpleGlyph2()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-glyf-table.hh473 bool has_data () const { return numberOfContours; } in has_data()
488 HBINT16 numberOfContours; member
509 { return GlyphHeader::static_size + 2 * header.numberOfContours; } in instruction_len_offset()
588 if (unlikely (!header.numberOfContours)) return; in set_overlaps_flag()
634 int num_contours = header.numberOfContours; in get_contour_points()
888 int num_contours = header->numberOfContours; in Glyph()
/third_party/harfbuzz/src/
Dhb-ot-glyf-table.hh443 bool has_data () const { return numberOfContours; } in has_data()
458 HBINT16 numberOfContours; member
479 { return GlyphHeader::static_size + 2 * header.numberOfContours; } in instruction_len_offset()
593 int num_contours = header.numberOfContours; in get_contour_points()
832 int num_contours = header->numberOfContours; in Glyph()
/third_party/flutter/skia/src/sfnt/
DSkOTTable_glyf.h67 SK_OT_SHORT numberOfContours; //== -1 Composite, > 0 Simple member
/third_party/skia/src/sfnt/
DSkOTTable_glyf.h67 SK_OT_SHORT numberOfContours; //== -1 Composite, > 0 Simple member
/third_party/skia/third_party/externals/imgui/
Dimstb_truetype.h1613 stbtt_int16 numberOfContours; in stbtt_IsGlyphEmpty() local
1619 numberOfContours = ttSHORT(info->data + g); in stbtt_IsGlyphEmpty()
1620 return numberOfContours == 0; in stbtt_IsGlyphEmpty()
1641 stbtt_int16 numberOfContours; in stbtt__GetGlyphShapeTT() local
1652 numberOfContours = ttSHORT(data + g); in stbtt__GetGlyphShapeTT()
1654 if (numberOfContours > 0) { in stbtt__GetGlyphShapeTT()
1660 ins = ttUSHORT(data + g + 10 + numberOfContours * 2); in stbtt__GetGlyphShapeTT()
1661 points = data + g + 10 + numberOfContours * 2 + 2 + ins; in stbtt__GetGlyphShapeTT()
1663 n = 1+ttUSHORT(endPtsOfContours + numberOfContours*2-2); in stbtt__GetGlyphShapeTT()
1665 m = n + 2*numberOfContours; // a loose bound on how many vertices we might need in stbtt__GetGlyphShapeTT()
[all …]
/third_party/mesa3d/src/imgui/
Dimstb_truetype.h1613 stbtt_int16 numberOfContours; in stbtt_IsGlyphEmpty() local
1619 numberOfContours = ttSHORT(info->data + g); in stbtt_IsGlyphEmpty()
1620 return numberOfContours == 0; in stbtt_IsGlyphEmpty()
1641 stbtt_int16 numberOfContours; in stbtt__GetGlyphShapeTT() local
1652 numberOfContours = ttSHORT(data + g); in stbtt__GetGlyphShapeTT()
1654 if (numberOfContours > 0) { in stbtt__GetGlyphShapeTT()
1660 ins = ttUSHORT(data + g + 10 + numberOfContours * 2); in stbtt__GetGlyphShapeTT()
1661 points = data + g + 10 + numberOfContours * 2 + 2 + ins; in stbtt__GetGlyphShapeTT()
1663 n = 1+ttUSHORT(endPtsOfContours + numberOfContours*2-2); in stbtt__GetGlyphShapeTT()
1665 m = n + 2*numberOfContours; // a loose bound on how many vertices we might need in stbtt__GetGlyphShapeTT()
[all …]
/third_party/flutter/skia/third_party/externals/imgui/
Dimstb_truetype.h1597 stbtt_int16 numberOfContours; in stbtt_IsGlyphEmpty() local
1603 numberOfContours = ttSHORT(info->data + g); in stbtt_IsGlyphEmpty()
1604 return numberOfContours == 0; in stbtt_IsGlyphEmpty()
1625 stbtt_int16 numberOfContours; in stbtt__GetGlyphShapeTT() local
1636 numberOfContours = ttSHORT(data + g); in stbtt__GetGlyphShapeTT()
1638 if (numberOfContours > 0) { in stbtt__GetGlyphShapeTT()
1644 ins = ttUSHORT(data + g + 10 + numberOfContours * 2); in stbtt__GetGlyphShapeTT()
1645 points = data + g + 10 + numberOfContours * 2 + 2 + ins; in stbtt__GetGlyphShapeTT()
1647 n = 1+ttUSHORT(endPtsOfContours + numberOfContours*2-2); in stbtt__GetGlyphShapeTT()
1649 m = n + 2*numberOfContours; // a loose bound on how many vertices we might need in stbtt__GetGlyphShapeTT()
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sflint/
DSFLint.java131 if (glyph != null && glyph.numberOfContours() != 0) { in lintWindowsClipping()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sflint/
DSFLint.java131 if (glyph != null && glyph.numberOfContours() != 0) { in lintWindowsClipping()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DGlyfEncoder.java100 int numContours = glyph.numberOfContours(); in writeSimpleGlyph()

12