aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/picture_utils.h
diff options
context:
space:
mode:
authorGravatar borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-20 18:54:04 +0000
committerGravatar borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-20 18:54:04 +0000
commit2d2b9a0d8c78c62565e8eedeca3c337827d795c1 (patch)
tree01375a842fa069c9088497b453b272f58d5dd31a /tools/picture_utils.h
parentdc12b62bb97f07d9b47b1d4d1674c550d80831c4 (diff)
Remove automatic resizing in *_pictures
Review URL: https://codereview.appspot.com/6554045 git-svn-id: http://skia.googlecode.com/svn/trunk@5614 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools/picture_utils.h')
-rw-r--r--tools/picture_utils.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/picture_utils.h b/tools/picture_utils.h
index db996caf55..4c2f6e546a 100644
--- a/tools/picture_utils.h
+++ b/tools/picture_utils.h
@@ -9,9 +9,7 @@
#define picture_utils_DEFINED
#include "SkTypes.h"
-#include "SkSize.h"
-template <typename T> class SkAutoTUnref;
class SkBitmap;
class SkFILEStream;
class SkPicture;
@@ -44,14 +42,6 @@ namespace sk_tools {
// Specifically, it configures the bitmap, allocates pixels and then
// erases the pixels to transparent black.
void setup_bitmap(SkBitmap* bitmap, int width, int height);
-
- // Determines whether the given dimensions are too large and suggests a new
- // size.
- bool area_too_big(int w, int h, SkISize* newSize);
-
- // Determines whether the given SkPicture is too large and, if so, replaces
- // it with a new, scaled-down SkPicture.
- void resize_if_needed(SkAutoTUnref<SkPicture>* aur);
}
#endif // picture_utils_DEFINED