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 "base/gfx/vector_canvas.h" | 5 #include "base/gfx/vector_canvas.h" |
6 | 6 |
7 #include "base/gfx/vector_device.h" | 7 #include "base/gfx/vector_device.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
(...skipping 70 matching lines...) Loading... |
81 reinterpret_cast<HDC>(shared_section), width, height); | 81 reinterpret_cast<HDC>(shared_section), width, height); |
82 return device; | 82 return device; |
83 } | 83 } |
84 | 84 |
85 bool VectorCanvas::IsTopDeviceVectorial() const { | 85 bool VectorCanvas::IsTopDeviceVectorial() const { |
86 return getTopPlatformDevice().IsVectorial(); | 86 return getTopPlatformDevice().IsVectorial(); |
87 } | 87 } |
88 | 88 |
89 } // namespace gfx | 89 } // namespace gfx |
90 | 90 |
OLD | NEW |