| 105 | } |
| 106 | |
| 107 | Path Path::intersection(const Path& other) const { |
| 108 | Path output; |
| 109 | Op(getSkValue(), other.getSkValue(), kIntersect_SkPathOp, &output.getSkValue()); |
| 110 | |
| 111 | output.getSkValue().setFillType(getSkValue().getFillType()); |
| 112 | return output; |
| 113 | } |
| 114 | |
| 115 | std::optional<Rect> Path::getBounds() const { |
| 116 | if (isEmpty()) { |
no test coverage detected