Index: experimental/PdfViewer/SkPdfUtils.h |
=================================================================== |
--- experimental/PdfViewer/SkPdfUtils.h (revision 10721) |
+++ experimental/PdfViewer/SkPdfUtils.h (working copy) |
@@ -4,6 +4,7 @@ |
#include "SkMatrix.h" |
#include "SkRect.h" |
#include "SkPdfConfig.h" |
+#include "SkString.h" |
class SkPdfArray; |
class SkPdfContext; |
@@ -42,6 +43,10 @@ |
} |
}; |
+// TODO(edisonn): hack to make code generation simpler. Alternatively we can update the |
+// generate_code.py not to rely on != operator |
+bool operator !=(const SkString& first, const char* second); |
+ |
SkMatrix SkMatrixFromPdfArray(SkPdfArray* pdfArray); |
SkPdfResult doType3Char(SkPdfContext* pdfContext, SkCanvas* canvas, const SkPdfNativeObject* skobj, SkRect bBox, SkMatrix matrix, double textSize); |