OLD | NEW |
1 | 1 |
2 class PdfName: | 2 class PdfName: |
3 def __init__(self, name, abr=''): | 3 def __init__(self, name, abr=''): |
4 self.fName = name | 4 self.fName = name |
5 self.fAbr = abr | 5 self.fAbr = abr |
6 | 6 |
7 def toCpp(self): | 7 def toCpp(self): |
8 return '\"' + self.fName + '\"' | 8 return '\"' + self.fName + '\"' |
9 | 9 |
10 class PdfString: | 10 class PdfString: |
(...skipping 27 matching lines...) Expand all Loading... |
38 class PdfBoolean: | 38 class PdfBoolean: |
39 def __init__(self, value): | 39 def __init__(self, value): |
40 self.fValue = value | 40 self.fValue = value |
41 | 41 |
42 def toCpp(self): | 42 def toCpp(self): |
43 return self.fValue | 43 return self.fValue |
44 | 44 |
45 class CppNull: | 45 class CppNull: |
46 def toCpp(self): | 46 def toCpp(self): |
47 return 'NULL' | 47 return 'NULL' |
| 48 |
| 49 class PdfDateNever: |
| 50 def toCpp(self): |
| 51 return 'SkPdfDate()' |
| 52 |
| 53 class FileSpecNone: |
| 54 def toCpp(self): |
| 55 return 'SkPdfFileSpec()' |
| 56 |
| 57 class PdfEmptyRect: |
| 58 def toCpp(self): |
| 59 return 'SkRect()' |
| 60 |
| 61 class PdfEmptyStream: |
| 62 def toCpp(self): |
| 63 return 'SkPdfStream()' |
| 64 |
| 65 class PdfArrayNone: |
| 66 def toCpp(self): |
| 67 return 'SkPdfArray()' |
| 68 |
| 69 class PdfFunctionNone: |
| 70 def toCpp(self): |
| 71 return 'SkPdfFunction()' |
| 72 |
| 73 |
48 | 74 |
OLD | NEW |