OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef SkXPSDevice_DEFINED | 8 #ifndef SkXPSDevice_DEFINED |
9 #define SkXPSDevice_DEFINED | 9 #define SkXPSDevice_DEFINED |
10 | 10 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 public: | 142 public: |
143 SkFontID typefaceId; | 143 SkFontID typefaceId; |
144 int ttcIndex; | 144 int ttcIndex; |
145 SkStream* fontData; | 145 SkStream* fontData; |
146 IXpsOMFontResource* xpsFont; | 146 IXpsOMFontResource* xpsFont; |
147 SkBitSet* glyphsUsed; | 147 SkBitSet* glyphsUsed; |
148 | 148 |
149 explicit TypefaceUse(); | 149 explicit TypefaceUse(); |
150 ~TypefaceUse(); | 150 ~TypefaceUse(); |
151 }; | 151 }; |
152 friend static HRESULT subset_typeface(TypefaceUse* current); | 152 friend HRESULT subset_typeface(TypefaceUse* current); |
153 | 153 |
154 SkXPSDevice(IXpsOMObjectFactory* xpsFactory); | 154 SkXPSDevice(IXpsOMObjectFactory* xpsFactory); |
155 | 155 |
156 SkAutoCoInitialize fAutoCo; | 156 SkAutoCoInitialize fAutoCo; |
157 SkTScopedComPtr<IXpsOMObjectFactory> fXpsFactory; | 157 SkTScopedComPtr<IXpsOMObjectFactory> fXpsFactory; |
158 SkTScopedComPtr<IStream> fOutputStream; | 158 SkTScopedComPtr<IStream> fOutputStream; |
159 SkTScopedComPtr<IXpsOMPackageWriter> fPackageWriter; | 159 SkTScopedComPtr<IXpsOMPackageWriter> fPackageWriter; |
160 | 160 |
161 unsigned int fCurrentPage; | 161 unsigned int fCurrentPage; |
162 SkTScopedComPtr<IXpsOMCanvas> fCurrentXpsCanvas; | 162 SkTScopedComPtr<IXpsOMCanvas> fCurrentXpsCanvas; |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 | 315 |
316 // Disable the default copy and assign implementation. | 316 // Disable the default copy and assign implementation. |
317 SkXPSDevice(const SkXPSDevice&); | 317 SkXPSDevice(const SkXPSDevice&); |
318 void operator=(const SkXPSDevice&); | 318 void operator=(const SkXPSDevice&); |
319 | 319 |
320 typedef SkBitmapDevice INHERITED; | 320 typedef SkBitmapDevice INHERITED; |
321 }; | 321 }; |
322 | 322 |
323 #endif // SK_BUILD_FOR_WIN | 323 #endif // SK_BUILD_FOR_WIN |
324 #endif // SkXPSDevice_DEFINED | 324 #endif // SkXPSDevice_DEFINED |
OLD | NEW |