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 #include "SkTypes.h" | 8 #include "SkTypes.h" |
9 #if defined(SK_BUILD_FOR_WIN32) | 9 #if defined(SK_BUILD_FOR_WIN32) |
10 | 10 |
(...skipping 2247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2258 //SkXPSDevice* dev = new SkXPSDevice(this); | 2258 //SkXPSDevice* dev = new SkXPSDevice(this); |
2259 //SkSize s = SkSize::Make(width, height); | 2259 //SkSize s = SkSize::Make(width, height); |
2260 //dev->BeginCanvas(s, s, SkMatrix::I()); | 2260 //dev->BeginCanvas(s, s, SkMatrix::I()); |
2261 //return dev; | 2261 //return dev; |
2262 } | 2262 } |
2263 #endif | 2263 #endif |
2264 return new SkXPSDevice(this->fXpsFactory.get()); | 2264 return new SkXPSDevice(this->fXpsFactory.get()); |
2265 } | 2265 } |
2266 | 2266 |
2267 #endif//defined(SK_BUILD_FOR_WIN32) | 2267 #endif//defined(SK_BUILD_FOR_WIN32) |
OLD | NEW |