diff options
Diffstat (limited to 'tools/picture_utils.h')
-rw-r--r-- | tools/picture_utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/picture_utils.h b/tools/picture_utils.h index aeb625f6e5..2cda45bd40 100644 --- a/tools/picture_utils.h +++ b/tools/picture_utils.h @@ -25,6 +25,9 @@ namespace sk_tools { // only) void get_basename(SkString* basename, const SkString& path); + // Returns true if the string ends with % + bool is_percentage(char* const string); + // Prepares the bitmap so that it can be written. // // Specifically, it configures the bitmap, allocates pixels and then |