Searched refs:fSkyline (Results 1 – 4 of 4) sorted by relevance
22 for (int i = 0; i < fSkyline.count(); ++i) { in addRect()26 if (y < bestY || (y == bestY && fSkyline[i].fWidth < bestWidth)) { in addRect()28 bestWidth = fSkyline[i].fWidth; in addRect()29 bestX = fSkyline[i].fX; in addRect()51 int x = fSkyline[skylineIndex].fX; in rectangleFits()58 int y = fSkyline[skylineIndex].fY; in rectangleFits()60 y = SkMax32(y, fSkyline[i].fY); in rectangleFits()64 widthLeft -= fSkyline[i].fWidth; in rectangleFits()66 SkASSERT(i < fSkyline.count() || widthLeft <= 0); in rectangleFits()78 fSkyline.insert(skylineIndex, 1, &newSegment); in addSkylineLevel()[all …]
26 fSkyline.reset(); in reset()27 SkylineSegment* seg = fSkyline.append(1); in reset()46 SkTDArray<SkylineSegment> fSkyline; variable
24 for (int i = 0; i < fSkyline.count(); ++i) { in addRect()28 if (y < bestY || (y == bestY && fSkyline[i].fWidth < bestWidth)) { in addRect()30 bestWidth = fSkyline[i].fWidth; in addRect()31 bestX = fSkyline[i].fX; in addRect()53 int x = fSkyline[skylineIndex].fX; in rectangleFits()60 int y = fSkyline[skylineIndex].fY; in rectangleFits()62 y = std::max(y, fSkyline[i].fY); in rectangleFits()66 widthLeft -= fSkyline[i].fWidth; in rectangleFits()68 SkASSERT(i < fSkyline.count() || widthLeft <= 0); in rectangleFits()80 fSkyline.insert(skylineIndex, 1, &newSegment); in addSkylineLevel()[all …]
28 fSkyline.reset(); in reset()29 SkylineSegment* seg = fSkyline.append(1); in reset()48 SkTDArray<SkylineSegment> fSkyline; variable