OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 BASE_GFX_BLIT_H_ | 5 #ifndef APP_GFX_BLIT_H_ |
6 #define BASE_GFX_BLIT_H_ | 6 #define APP_GFX_BLIT_H_ |
7 | 7 |
8 #include "base/gfx/native_widget_types.h" | 8 #include "base/gfx/native_widget_types.h" |
9 #include "base/gfx/point.h" | 9 #include "base/gfx/point.h" |
10 #include "base/gfx/rect.h" | 10 #include "base/gfx/rect.h" |
11 | 11 |
12 namespace skia { | 12 namespace skia { |
13 class PlatformCanvas; | 13 class PlatformCanvas; |
14 } // namespace skia | 14 } // namespace skia |
15 | 15 |
16 namespace gfx { | 16 namespace gfx { |
(...skipping 20 matching lines...) Loading... |
37 const Point& src_origin); | 37 const Point& src_origin); |
38 | 38 |
39 // Blits a rectangle from the source canvas into the destination canvas. | 39 // Blits a rectangle from the source canvas into the destination canvas. |
40 void BlitCanvasToCanvas(skia::PlatformCanvas *dst_canvas, | 40 void BlitCanvasToCanvas(skia::PlatformCanvas *dst_canvas, |
41 const Rect& dst_rect, | 41 const Rect& dst_rect, |
42 skia::PlatformCanvas *src_canvas, | 42 skia::PlatformCanvas *src_canvas, |
43 const Point& src_origin); | 43 const Point& src_origin); |
44 | 44 |
45 } // namespace gfx | 45 } // namespace gfx |
46 | 46 |
47 #endif // BASE_GFX_BLIT_H_ | 47 #endif // APP_GFX_BLIT_H_ |
OLD | NEW |