Chromium Code Reviews

Side by Side Diff: skia/ext/platform_device_win.h

Issue 11568: Move skia extensions from the port to skia/ext. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « skia/ext/platform_canvas_win.cc ('k') | skia/ext/platform_device_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 PlatformDeviceWin_h 5 #ifndef SKIA_EXT_PLATFORM_DEVICE_WIN_H_
6 #define PlatformDeviceWin_h 6 #define SKIA_EXT_PLATFORM_DEVICE_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "SkDevice.h" 12 #include "SkDevice.h"
13 13
14 class SkMatrix; 14 class SkMatrix;
15 class SkPath; 15 class SkPath;
16 class SkRegion; 16 class SkRegion;
(...skipping 70 matching lines...)
87 // Loads the specified Skia transform into the device context, excluding 87 // Loads the specified Skia transform into the device context, excluding
88 // perspective (which GDI doesn't support). 88 // perspective (which GDI doesn't support).
89 static void LoadTransformToDC(HDC dc, const SkMatrix& matrix); 89 static void LoadTransformToDC(HDC dc, const SkMatrix& matrix);
90 90
91 // Transforms SkPath's paths into a series of cubic path. 91 // Transforms SkPath's paths into a series of cubic path.
92 static bool SkPathToCubicPaths(CubicPaths* paths, const SkPath& skpath); 92 static bool SkPathToCubicPaths(CubicPaths* paths, const SkPath& skpath);
93 }; 93 };
94 94
95 } // namespace gfx 95 } // namespace gfx
96 96
97 #endif // PlatformDeviceWin_h 97 #endif // SKIA_EXT_PLATFORM_DEVICE_WIN_H_
98 98
OLDNEW
« no previous file with comments | « skia/ext/platform_canvas_win.cc ('k') | skia/ext/platform_device_win.cc » ('j') | no next file with comments »

Powered by Google App Engine