diff options
Diffstat (limited to 'src/gpu/GrPathRenderer.h')
-rw-r--r-- | src/gpu/GrPathRenderer.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/gpu/GrPathRenderer.h b/src/gpu/GrPathRenderer.h index 3d4c993c52..ebd464ffb3 100644 --- a/src/gpu/GrPathRenderer.h +++ b/src/gpu/GrPathRenderer.h @@ -1,4 +1,4 @@ - + /* * Copyright 2011 Google Inc. * @@ -173,22 +173,6 @@ protected: this->drawPath(path, stroke, target, false); } - // Helper for getting the device bounds of a path. Inverse filled paths will have bounds set - // by devSize. Non-inverse path bounds will not necessarily be clipped to devSize. - static void GetPathDevBounds(const SkPath& path, - int devW, - int devH, - const SkMatrix& matrix, - SkRect* bounds); - - // Helper version that gets the dev width and height from a GrSurface. - static void GetPathDevBounds(const SkPath& path, - const GrSurface* device, - const SkMatrix& matrix, - SkRect* bounds) { - GetPathDevBounds(path, device->width(), device->height(), matrix, bounds); - } - private: typedef GrRefCnt INHERITED; |