Lines Matching refs:Segment
35 struct Segment {
46 // is the corner where the previous segment meets this segment
64 typedef SkTArray<Segment, true> SegmentArray;
136 Segment& sega = (*segments)[a];
138 Segment& segb = (*segments)[b];
148 if (Segment::kLine == segb.fType) {
160 const Segment& sega = (*segments)[a];
162 Segment& segb = (*segments)[b];
232 segments->back().fType = Segment::kLine;
244 segments->back().fType = Segment::kQuad;
364 const Segment& sega = segments[a];
366 const Segment& segb = segments[b];
368 // Check whether adding the verts for this segment to the current draw would cause index
371 if (Segment::kLine == segb.fType) {
412 if (Segment::kLine == segb.fType) {
850 // segment representation.
867 kPreallocSegmentCnt = 512 / sizeof(Segment),
870 SkSTArray<kPreallocSegmentCnt, Segment, true> segments;