SkPathIter(SkSpan<const SkPoint> pts, SkSpan<const SkPathVerb> vbs, SkSpan<constfloat> cns)
: pIndex(0), vIndex(0), cIndex(0)
, fPoints(pts), fVerbs(vbs), fConics(cns)
{ // For compat older iterators, we trim off a trailing Move. // SkPathData is defined to never create this pattern, so perhaps in the future // this check can be removed (or replaced by an assert) if (!vbs.empty() && vbs.back() == SkPathVerb::kMove) {
fVerbs = vbs.first(vbs.size() - 1);
}
}
/* Holds the current verb, and its associated points *move:pts[0] *line:pts[0..1] *quad:pts[0..2] *conic:pts[0..2]fConicWeight *cubic:pts[0..3] *close:pts[0..1]...asifclosewerealinefrompts[0]topts[1]
*/
std::optional<Rec> next();
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.