| Index: experimental/PdfViewer/SkPdfUtils.cpp | 
| =================================================================== | 
| --- experimental/PdfViewer/SkPdfUtils.cpp	(revision 9879) | 
| +++ experimental/PdfViewer/SkPdfUtils.cpp	(working copy) | 
| @@ -1,2 +1,21 @@ | 
| #include "SkPdfUtils.h" | 
| +#include "SkPdfConfig.h" | 
|  | 
| +#ifdef PDF_TRACE | 
| +void SkTraceMatrix(const SkMatrix& matrix, const char* sz) { | 
| +    printf("SkMatrix %s ", sz); | 
| +    for (int i = 0 ; i < 9 ; i++) { | 
| +        printf("%f ", SkScalarToDouble(matrix.get(i))); | 
| +    } | 
| +    printf("\n"); | 
| +} | 
| + | 
| +void SkTraceRect(const SkRect& rect, const char* sz) { | 
| +    printf("SkRect %s ", sz); | 
| +    printf("x = %f ", SkScalarToDouble(rect.x())); | 
| +    printf("y = %f ", SkScalarToDouble(rect.y())); | 
| +    printf("w = %f ", SkScalarToDouble(rect.width())); | 
| +    printf("h = %f ", SkScalarToDouble(rect.height())); | 
| +    printf("\n"); | 
| +} | 
| +#endif | 
|  |