Lines Matching defs:added
677 void ClipStack::RawElement::updateForElement(RawElement* added, const SaveRecord& current) {
683 // 'A' refers to this element, 'B' refers to 'added'.
684 switch (get_clip_geometry(*this, *added)) {
688 added->markInvalid(current);
692 // This element already clips more than 'added', so mark 'added' is invalid to skip it
693 added->markInvalid(current);
697 // 'added' clips more than this element, so mark this as invalid
704 if (added->combine(*this, current)) {
705 // 'added' now fully represents the combination of the two elements
818 // if-cases. It may be kInvalid if the record hasn't had any elements added to it yet.