Lines Matching defs:state
713 // Map from the internal shape kind to the clip state enum
824 ClipStack::ClipState ClipStack::SaveRecord::state() const {
896 // Validity check the element's state first; if the shape class isn't empty, the outer bounds
1053 // Update final state
1086 // The aggregate state of the save record mirrors the element
1186 if (current.state() == ClipState::kEmpty) {
1188 } else if (current.state() == ClipState::kWideOpen) {
1210 if (cs.state() == ClipState::kEmpty) {
1212 } else if (cs.state() == ClipState::kWideOpen) {
1237 if (cs.state() == ClipState::kDeviceRect) {
1240 } else if (cs.state() == ClipState::kDeviceRRect) {
1247 SkASSERT(cs.state() == ClipState::kComplex);
1279 if (cs.state() == ClipState::kEmpty) {
1281 } else if (cs.state() == ClipState::kWideOpen) {
1322 SkASSERT(cs.state() == ClipState::kDeviceRect ||
1323 cs.state() == ClipState::kDeviceRRect ||
1324 cs.state() == ClipState::kComplex);
1521 if (this->currentSaveRecord().state() == ClipState::kEmpty) {
1546 if (this->currentSaveRecord().state() == ClipState::kEmpty) {
1565 // in the clip state; fall through to below and updateForElement() will handle it.