Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Side by Side Diff: experimental/PdfViewer/SkPdfUtils.cpp

Issue 1266093003: Remove experimental/PdfViewer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-03 (Monday) 10:43:56 EDT Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « experimental/PdfViewer/SkPdfUtils.h ('k') | experimental/PdfViewer/SkTrackDevice.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2013 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #include "SkPdfUtils.h"
9
10 bool operator !=(const SkString& first, const char* second) {
11 return !first.equals(second);
12 }
13
14 #ifdef PDF_TRACE
15 void SkTraceMatrix(const SkMatrix& matrix, const char* sz) {
16 printf("SkMatrix %s ", sz);
17 for (int i = 0 ; i < 9 ; i++) {
18 printf("%f ", SkScalarToDouble(matrix.get(i)));
19 }
20 printf("\n");
21 }
22
23 void SkTraceRect(const SkRect& rect, const char* sz) {
24 printf("SkRect %s ", sz);
25 printf("x = %f ", SkScalarToDouble(rect.x()));
26 printf("y = %f ", SkScalarToDouble(rect.y()));
27 printf("w = %f ", SkScalarToDouble(rect.width()));
28 printf("h = %f ", SkScalarToDouble(rect.height()));
29 printf("\n");
30 }
31 #endif
OLDNEW
« no previous file with comments | « experimental/PdfViewer/SkPdfUtils.h ('k') | experimental/PdfViewer/SkTrackDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698