*rgn = boundsRgn;
SkClipStack::B2TIter iter(fClipStack); while (auto elem = iter.next()) {
tmpPath.rewind();
elem->asDeviceSpacePath(&tmpPath);
SkRegion tmpRgn;
tmpRgn.setPath(tmpPath, boundsRgn); if (elem->isReplaceOp()) { // All replace elements are rectangles // TODO: SkClipStack can be simplified to be I,D,R ops now, which means element // iteration can be from top of the stack to the most recent replace element. // When that's done, this loop will be simplifiable.
rgn->setRect(elem->getDeviceSpaceRect().round());
} else {
rgn->op(tmpRgn, static_cast<SkRegion::Op>(elem->getOp()));
}
}
}
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.18 Sekunden
(vorverarbeitet am 2026-04-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.