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

Side by Side Diff: experimental/PdfViewer/autogen/SkPdfShadingDictionary_autogen.cpp

Issue 18117005: more work on pdf fonts, more to come (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 #include "SkPdfShadingDictionary_autogen.h" 1 #include "SkPdfShadingDictionary_autogen.h"
2 2
3 long SkPdfShadingDictionary::ShadingType() const { 3 long SkPdfShadingDictionary::ShadingType() const {
4 long ret; 4 long ret;
5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ShadingType", "", &ret)) return ret; 5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ShadingType", "", &ret)) return ret;
6 // TODO(edisonn): warn about missing required field, assert for known good pdf s 6 // TODO(edisonn): warn about missing required field, assert for known good pdf s
7 return 0; 7 return 0;
8 } 8 }
9 9
10 std::string SkPdfShadingDictionary::getColorSpaceAsName() const { 10 std::string SkPdfShadingDictionary::getColorSpaceAsName() const {
(...skipping 23 matching lines...) Expand all
34 // TODO(edisonn): warn about missing required field, assert for known good pdf s 34 // TODO(edisonn): warn about missing required field, assert for known good pdf s
35 return NULL; 35 return NULL;
36 } 36 }
37 37
38 bool SkPdfShadingDictionary::AntiAlias() const { 38 bool SkPdfShadingDictionary::AntiAlias() const {
39 bool ret; 39 bool ret;
40 if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "AntiAlias", " ", &ret)) return ret; 40 if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "AntiAlias", " ", &ret)) return ret;
41 // TODO(edisonn): warn about missing required field, assert for known good pdf s 41 // TODO(edisonn): warn about missing required field, assert for known good pdf s
42 return false; 42 return false;
43 } 43 }
44
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698