aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/PdfViewer/SkPdfUtils.cpp
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-08-04 14:08:42 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-04 14:08:44 -0700
commit9f8754f5910764b1722573050b481be7e65f7c03 (patch)
tree1f1a3651c855b757d4059a71a160ef3bf7fcb0c6 /experimental/PdfViewer/SkPdfUtils.cpp
parent1dedc3d2c00468d9b4d0f0a8e69cb56acd08698f (diff)
Remove experimental/PdfViewer
Motivation: maintaining this code doesn't seem worth the time, since no one seems to be using it. If someone wants to use it in the future, just revert this CL. Review URL: https://codereview.chromium.org/1266093003
Diffstat (limited to 'experimental/PdfViewer/SkPdfUtils.cpp')
-rw-r--r--experimental/PdfViewer/SkPdfUtils.cpp31
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