diff options
Diffstat (limited to 'tools/picture_utils.h')
-rw-r--r-- | tools/picture_utils.h | 10 |
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 |