Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 #ifndef SkPdfDiffEncoder_DEFINED | |
| 9 #define SkPdfDiffEncoder_DEFINED | |
| 10 | |
| 11 struct PdfToken; | |
| 12 | |
| 13 class SkPdfDiffEncoder { | |
| 14 public: | |
| 15 // If PDF_TRACE_DIFF_IN_PNG is defined, the difference created by | |
| 16 // using this token is written to a file named | |
| 17 // "/tmp/log_step_by_step/step-%i-%s.png". Otherwise this function does | |
| 18 // nothing. | |
| 19 // TODO(scroggo): Pass SkPdfContext and SkCanvas for info. | |
| 20 static void WriteToFile(PdfToken*); | |
|
mtklein
2013/11/22 14:46:12
Do you anticipate this class will become more than
scroggo
2013/11/22 15:47:16
reed@ encouraged me to use a class in another inst
| |
| 21 }; | |
| 22 | |
| 23 #endif // SkPdfDiffEncoder_DEFINED | |
| OLD | NEW |