Chromium Code Reviews| Index: include/core/SkXfermode.h |
| =================================================================== |
| --- include/core/SkXfermode.h (revision 8451) |
| +++ include/core/SkXfermode.h (working copy) |
| @@ -128,6 +128,11 @@ |
| kLastMode = kLuminosity_Mode |
| }; |
| + |
| + /** |
| + * Gets the name of the Mode as a string. |
| + */ |
| + static const char* ModeName(Mode); |
| /** |
| * If the xfermode is one of the modes in the Mode enum, then asMode() |