| 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 "skia/ext/skia_utils_mac.h" | 7 #include "skia/ext/skia_utils_mac.h" |
| 8 #include "SkMatrix.h" | 8 #include "third_party/skia/include/core/SkMatrix.h" |
| 9 #include "SkPath.h" | 9 #include "third_party/skia/include/core/SkPath.h" |
| 10 #include "SkTypes.h" | 10 #include "third_party/skia/include/core/SkTypes.h" |
| 11 #include "SkUtils.h" | 11 #include "third_party/skia/include/core/SkUtils.h" |
| 12 | 12 |
| 13 namespace skia { | 13 namespace skia { |
| 14 | 14 |
| 15 // TODO(brettw) remove this when the gfx namespaces are all removed. | 15 // TODO(brettw) remove this when the gfx namespaces are all removed. |
| 16 using namespace gfx; | 16 using namespace gfx; |
| 17 | 17 |
| 18 namespace { | 18 namespace { |
| 19 | 19 |
| 20 // Constrains position and size to fit within available_size. | 20 // Constrains position and size to fit within available_size. |
| 21 bool constrain(int available_size, int* position, int *size) { | 21 bool constrain(int available_size, int* position, int *size) { |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 path.transform(transformation); | 146 path.transform(transformation); |
| 147 // TODO(playmobil): Implement. | 147 // TODO(playmobil): Implement. |
| 148 SkASSERT(false); | 148 SkASSERT(false); |
| 149 // LoadPathToDC(context, path); | 149 // LoadPathToDC(context, path); |
| 150 // hrgn = PathToRegion(context); | 150 // hrgn = PathToRegion(context); |
| 151 } | 151 } |
| 152 } | 152 } |
| 153 | 153 |
| 154 } // namespace skia | 154 } // namespace skia |
| 155 | 155 |
| OLD | NEW |