diff options
Diffstat (limited to 'include/pdf/SkPDFUtils.h')
-rw-r--r-- | include/pdf/SkPDFUtils.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/include/pdf/SkPDFUtils.h b/include/pdf/SkPDFUtils.h index 8c7d0c0760..501d746cd9 100644 --- a/include/pdf/SkPDFUtils.h +++ b/include/pdf/SkPDFUtils.h @@ -17,18 +17,26 @@ #ifndef SkPDFUtils_DEFINED #define SkPDFUtils_DEFINED +#include "SkPath.h" + +class SkMatrix; +class SkPath; +class SkPDFArray; + +#if 0 +#define PRINT_NOT_IMPL(str) fprintf(stderr, str) +#else +#define PRINT_NOT_IMPL(str) +#endif + #define NOT_IMPLEMENTED(condition, assert) \ do { \ if (condition) { \ - fprintf(stderr, "NOT_IMPLEMENTED: " #condition "\n"); \ + PRINT_NOT_IMPL("NOT_IMPLEMENTED: " #condition "\n"); \ SkDEBUGCODE(SkASSERT(!assert);) \ } \ } while(0) -class SkMatrix; -class SkPath; -class SkPDFArray; - class SkPDFUtils { public: static SkPDFArray* MatrixToArray(const SkMatrix& matrix); |