| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SKIA_EXT_PLATFORM_CANVAS_WIN_H_ | 5 #ifndef SKIA_EXT_PLATFORM_CANVAS_WIN_H_ |
| 6 #define SKIA_EXT_PLATFORM_CANVAS_WIN_H_ | 6 #define SKIA_EXT_PLATFORM_CANVAS_WIN_H_ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | |
| 11 #include "skia/ext/platform_device_win.h" | 10 #include "skia/ext/platform_device_win.h" |
| 12 | 11 |
| 13 #include "SkCanvas.h" | 12 #include "SkCanvas.h" |
| 14 | 13 |
| 15 namespace skia { | 14 namespace skia { |
| 16 | 15 |
| 17 // This class is a specialization of the regular SkCanvas that is designed to | 16 // This class is a specialization of the regular SkCanvas that is designed to |
| 18 // work with a PlatformDevice to manage platform-specific drawing. It allows | 17 // work with a PlatformDevice to manage platform-specific drawing. It allows |
| 19 // using both Skia operations and platform-specific operations. | 18 // using both Skia operations and platform-specific operations. |
| 20 class PlatformCanvasWin : public SkCanvas { | 19 class PlatformCanvasWin : public SkCanvas { |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 CanvasPaintT(const CanvasPaintT&); | 192 CanvasPaintT(const CanvasPaintT&); |
| 194 CanvasPaintT& operator=(const CanvasPaintT&); | 193 CanvasPaintT& operator=(const CanvasPaintT&); |
| 195 }; | 194 }; |
| 196 | 195 |
| 197 typedef CanvasPaintT<PlatformCanvasWin> PlatformCanvasWinPaint; | 196 typedef CanvasPaintT<PlatformCanvasWin> PlatformCanvasWinPaint; |
| 198 | 197 |
| 199 } // namespace skia | 198 } // namespace skia |
| 200 | 199 |
| 201 #endif // SKIA_EXT_PLATFORM_CANVAS_WIN_H_ | 200 #endif // SKIA_EXT_PLATFORM_CANVAS_WIN_H_ |
| 202 | 201 |
| OLD | NEW |