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

Unified Diff: experimental/PdfViewer/SkPdfNumber_autogen.h

Issue 17748002: Basic support for Type3 Fonts in Pdf + various refactorings (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: experimental/PdfViewer/SkPdfNumber_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfNumber_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfNumber_autogen.h (working copy)
@@ -1,29 +0,0 @@
-#ifndef __DEFINED__SkPdfNumber
-#define __DEFINED__SkPdfNumber
-
-#include "SkPdfEnums_autogen.h"
-#include "SkPdfArray_autogen.h"
-#include "SkPdfInteger_autogen.h"
-
-class SkPdfNumber : public SkPdfInteger {
-public:
- virtual SkPdfObjectType getType() const { return kNumber_SkPdfObjectType;}
- virtual SkPdfObjectType getTypeEnd() const { return (SkPdfObjectType)(kNumber_SkPdfObjectType + 1);}
-public:
- virtual SkPdfNumber* asNumber() {return this;}
- virtual const SkPdfNumber* asNumber() const {return this;}
-
-private:
-public:
- double value() const {return fPodofoObj->GetReal();}
-private:
-public:
- SkPdfNumber(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj = NULL) : SkPdfInteger(podofoDoc, podofoObj) {}
-
- virtual bool valid() const {return true;}
-
- SkPdfNumber& operator=(const SkPdfNumber& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
-
-};
-
-#endif // __DEFINED__SkPdfNumber

Powered by Google App Engine
This is Rietveld 408576698