Index: src/pathops/SkPathOpsRect.h |
diff --git a/src/pathops/SkPathOpsRect.h b/src/pathops/SkPathOpsRect.h |
index f783d96b99a7585f1cea3d9e6302e49e08707674..7fec70a32a5de83ed833217853d1610e813d271c 100644 |
--- a/src/pathops/SkPathOpsRect.h |
+++ b/src/pathops/SkPathOpsRect.h |
@@ -48,9 +48,23 @@ struct SkDRect { |
return fBottom - fTop; |
} |
- void setBounds(const SkDConic&); |
- void setBounds(const SkDCubic&); |
- void setBounds(const SkDQuad&); |
+ void setBounds(const SkDConic& curve) { |
+ setBounds(curve, curve, 0, 1); |
+ } |
+ |
+ void setBounds(const SkDConic& curve, const SkDConic& sub, double tStart, double tEnd); |
+ |
+ void setBounds(const SkDCubic& curve) { |
+ setBounds(curve, curve, 0, 1); |
+ } |
+ |
+ void setBounds(const SkDCubic& curve, const SkDCubic& sub, double tStart, double tEnd); |
+ |
+ void setBounds(const SkDQuad& curve) { |
+ setBounds(curve, curve, 0, 1); |
+ } |
+ |
+ void setBounds(const SkDQuad& curve, const SkDQuad& sub, double tStart, double tEnd); |
}; |
#endif |