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 #include "skia/ext/bitmap_platform_device_mac.h" | 5 #include "skia/ext/bitmap_platform_device_mac.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/gfx/skia_utils_mac.h" | 8 #include "skia/ext/skia_utils_mac.h" |
9 #include "SkMatrix.h" | 9 #include "SkMatrix.h" |
10 #include "SkPath.h" | 10 #include "SkPath.h" |
11 #include "SkUtils.h" | 11 #include "SkUtils.h" |
12 | 12 |
13 namespace gfx { | 13 namespace gfx { |
14 | 14 |
15 namespace { | 15 namespace { |
16 | 16 |
17 // Constrains position and size to fit within available_size. | 17 // Constrains position and size to fit within available_size. |
18 bool constrain(int available_size, int* position, int *size) { | 18 bool constrain(int available_size, int* position, int *size) { |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 path.transform(transformation); | 152 path.transform(transformation); |
153 // TODO(playmobil): Implement. | 153 // TODO(playmobil): Implement. |
154 NOTREACHED(); | 154 NOTREACHED(); |
155 // LoadPathToDC(context, path); | 155 // LoadPathToDC(context, path); |
156 // hrgn = PathToRegion(context); | 156 // hrgn = PathToRegion(context); |
157 } | 157 } |
158 } | 158 } |
159 | 159 |
160 } // namespace gfx | 160 } // namespace gfx |
161 | 161 |
OLD | NEW |