Home
last modified time | relevance | path

Searched refs:numberOfContours (Results 1 - 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/truetype/
H A 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()
55 if (numberOfContours >= 0) { in glyphType()
102 public int numberOfContours() { in numberOfContours() method in Glyph
[all...]
H A 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()
H A DGlyphTable.java40 numberOfContours(0), enum constant
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/
H A DGlyphRenumberer.java41 numberOfContours(0), enum constant
79 return glyph.length() > 0 && glyph.readShort(Offset.numberOfContours.offset) < 0; in isCompositeGlyph()
H A DGlyphStripper.java87 + (simpleGlyph.numberOfContours() * ReadableFontData.DataSize.USHORT.size()); in writeHeaderAndContoursSize()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/
H A DHintStripTest.java104 assertEquals(1, simple.numberOfContours()); in testSimpleGlyph1()
125 assertEquals(2, simple.numberOfContours()); in testSimpleGlyph2()
H A DRenumberingSubsetTest.java129 assertEquals(1, simple.numberOfContours()); in testSimpleGlyph1()
150 assertEquals(2, simple.numberOfContours()); in testSimpleGlyph2()
/third_party/skia/third_party/externals/harfbuzz/src/
H A 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/skia/src/sfnt/
H A DSkOTTable_glyf.h67 SK_OT_SHORT numberOfContours; //== -1 Composite, > 0 Simple member
74 SK_OT_USHORT endPtsOfContours[1/*numberOfContours*/];
/third_party/mesa3d/src/imgui/
H A 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; // in stbtt__GetGlyphShapeTT()
[all...]
/third_party/skia/third_party/externals/imgui/
H A 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; // in stbtt__GetGlyphShapeTT()
[all...]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sflint/
H A DSFLint.java131 if (glyph != null && glyph.numberOfContours() != 0) { in lintWindowsClipping()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
H A DGlyfEncoder.java100 int numContours = glyph.numberOfContours(); in writeSimpleGlyph()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfntdump/
H A DSfntDump.java527 if (simple.numberOfContours() != 2) { in countSpecialGlyphs()
/third_party/glfw/deps/
H A Dnuklear.h11320 nk_short numberOfContours; in nk_tt_GetGlyphShape() local
11329 numberOfContours = nk_ttSHORT(data + g); in nk_tt_GetGlyphShape()
11330 if (numberOfContours > 0) { in nk_tt_GetGlyphShape()
11336 ins = nk_ttUSHORT(data + g + 10 + numberOfContours * 2); in nk_tt_GetGlyphShape()
11337 points = data + g + 10 + numberOfContours * 2 + 2 + ins; in nk_tt_GetGlyphShape()
11339 n = 1+nk_ttUSHORT(endPtsOfContours + numberOfContours*2-2); in nk_tt_GetGlyphShape()
11340 m = n + 2*numberOfContours; /* a loose bound on how many vertices we might need */ in nk_tt_GetGlyphShape()
11450 } else if (numberOfContours == -1) { in nk_tt_GetGlyphShape()
11530 } else if (numberOfContours < 0) { in nk_tt_GetGlyphShape()

Completed in 56 milliseconds