Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: base/gfx/blit.h

Issue 259047: Move classes depending on Skia out of base/gfx and into app/gfx. Rename... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/gfx/DEPS ('k') | base/gfx/blit.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef BASE_GFX_BLIT_H_
6 #define BASE_GFX_BLIT_H_
7
8 #include "base/gfx/native_widget_types.h"
9 #include "base/gfx/point.h"
10 #include "base/gfx/rect.h"
11
12 namespace skia {
13 class PlatformCanvas;
14 } // namespace skia
15
16 namespace gfx {
17
18 class Point;
19 class Rect;
20
21 // Blits a rectangle from the source context into the destination context.
22 void BlitContextToContext(NativeDrawingContext dst_context,
23 const Rect& dst_rect,
24 NativeDrawingContext src_context,
25 const Point& src_origin);
26
27 // Blits a rectangle from the source context into the destination canvas.
28 void BlitContextToCanvas(skia::PlatformCanvas *dst_canvas,
29 const Rect& dst_rect,
30 NativeDrawingContext src_context,
31 const Point& src_origin);
32
33 // Blits a rectangle from the source canvas into the destination context.
34 void BlitCanvasToContext(NativeDrawingContext dst_context,
35 const Rect& dst_rect,
36 skia::PlatformCanvas *src_canvas,
37 const Point& src_origin);
38
39 // Blits a rectangle from the source canvas into the destination canvas.
40 void BlitCanvasToCanvas(skia::PlatformCanvas *dst_canvas,
41 const Rect& dst_rect,
42 skia::PlatformCanvas *src_canvas,
43 const Point& src_origin);
44
45 } // namespace gfx
46
47 #endif // BASE_GFX_BLIT_H_
OLDNEW
« no previous file with comments | « base/gfx/DEPS ('k') | base/gfx/blit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698