// Methods and constants below here are only public for tests.
// Return the depth of the tree structure. int getDepth() const { return fCount ? fRoot.fSubtree->fLevel + 1 : 0; } // Insertion count (not overall node count, which may be greater). int getCount() const { return fCount; }
// These values were empirically determined to produce reasonable performance in most cases. staticconstint kMinChildren = 6,
kMaxChildren = 11;
private: struct Node;
struct Branch { union {
Node* fSubtree; int fOpIndex;
};
SkRect fBounds;
};
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.