diff options
Diffstat (limited to 'experimental/PdfViewer/SkPdfUtils.cpp')
-rw-r--r-- | experimental/PdfViewer/SkPdfUtils.cpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/experimental/PdfViewer/SkPdfUtils.cpp b/experimental/PdfViewer/SkPdfUtils.cpp deleted file mode 100644 index c77baf4c91..0000000000 --- a/experimental/PdfViewer/SkPdfUtils.cpp +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright 2013 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#include "SkPdfUtils.h" - -bool operator !=(const SkString& first, const char* second) { - return !first.equals(second); -} - -#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 |