Remove unused drawPath
There is no drawPath(path, paint, blitter) call. The drawPath(path, paint) call can be fulfilled by drawPath(path, paint, prePathMatrix, pathIsMutable). Bug: skia: Change-Id: I3b5ae2a6b7392693caf80b211c63ec1ac25a22da Reviewed-on: https://skia-review.googlesource.com/42100 Reviewed-by: Cary Clark <caryclark@google.com> Commit-Queue: Yuqian Li <liyuqian@google.com>
This commit is contained in:
parent
ebef5ff355
commit
7b6d64ad88
@ -52,15 +52,10 @@ public:
|
||||
* pre-concated with the current matrix.
|
||||
*/
|
||||
void drawPath(const SkPath& path, const SkPaint& paint,
|
||||
const SkMatrix* prePathMatrix, bool pathIsMutable) const {
|
||||
const SkMatrix* prePathMatrix = nullptr, bool pathIsMutable = false) const {
|
||||
this->drawPath(path, paint, prePathMatrix, pathIsMutable, false);
|
||||
}
|
||||
|
||||
void drawPath(const SkPath& path, const SkPaint& paint,
|
||||
SkBlitter* customBlitter = nullptr) const {
|
||||
this->drawPath(path, paint, nullptr, false, false, customBlitter);
|
||||
}
|
||||
|
||||
/* If dstOrNull is null, computes a dst by mapping the bitmap's bounds through the matrix. */
|
||||
void drawBitmap(const SkBitmap&, const SkMatrix&, const SkRect* dstOrNull,
|
||||
const SkPaint&) const;
|
||||
|
Loading…
Reference in New Issue
Block a user