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

Side by Side Diff: include/core/SkCanvas.h

Issue 1265033002: IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase (a file was deleted). Created 5 years, 4 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
« no previous file with comments | « include/core/SkBitmapDevice.h ('k') | include/core/SkColor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkCanvas_DEFINED 8 #ifndef SkCanvas_DEFINED
9 #define SkCanvas_DEFINED 9 #define SkCanvas_DEFINED
10 10
11 #include "SkTypes.h" 11 #include "SkTypes.h"
12 #include "SkBitmap.h" 12 #include "SkBitmap.h"
13 #include "SkDeque.h" 13 #include "SkDeque.h"
14 #include "SkClipStack.h"
15 #include "SkPaint.h" 14 #include "SkPaint.h"
16 #include "SkRefCnt.h" 15 #include "SkRefCnt.h"
17 #include "SkPath.h"
18 #include "SkRegion.h" 16 #include "SkRegion.h"
19 #include "SkSurfaceProps.h" 17 #include "SkSurfaceProps.h"
20 #include "SkXfermode.h" 18 #include "SkXfermode.h"
21 19
20 class GrContext;
21 class GrRenderTarget;
22 class SkBaseDevice; 22 class SkBaseDevice;
23 class SkCanvasClipVisitor; 23 class SkCanvasClipVisitor;
24 class SkClipStack;
24 class SkDraw; 25 class SkDraw;
25 class SkDrawable; 26 class SkDrawable;
26 class SkDrawFilter; 27 class SkDrawFilter;
27 class SkImage; 28 class SkImage;
29 class SkImageFilter;
28 class SkMetaData; 30 class SkMetaData;
31 class SkPath;
29 class SkPicture; 32 class SkPicture;
33 class SkPixmap;
30 class SkRRect; 34 class SkRRect;
31 struct SkRSXform; 35 struct SkRSXform;
32 class SkSurface; 36 class SkSurface;
33 class SkSurface_Base; 37 class SkSurface_Base;
34 class SkTextBlob; 38 class SkTextBlob;
35 class GrContext;
36 class GrRenderTarget;
37
38 class SkCanvasState;
39 39
40 /** \class SkCanvas 40 /** \class SkCanvas
41 41
42 A Canvas encapsulates all of the state about drawing into a device (bitmap). 42 A Canvas encapsulates all of the state about drawing into a device (bitmap).
43 This includes a reference to the device itself, and a stack of matrix/clip 43 This includes a reference to the device itself, and a stack of matrix/clip
44 values. For any given draw call (e.g. drawRect), the geometry of the object 44 values. For any given draw call (e.g. drawRect), the geometry of the object
45 being drawn is transformed by the concatenation of all the matrices in the 45 being drawn is transformed by the concatenation of all the matrices in the
46 stack. The transformed geometry is clipped by the intersection of all of 46 stack. The transformed geometry is clipped by the intersection of all of
47 the clips in the stack. 47 the clips in the stack.
48 48
(...skipping 1512 matching lines...) Expand 10 before | Expand all | Expand 10 after
1561 1561
1562 class SkCanvasClipVisitor { 1562 class SkCanvasClipVisitor {
1563 public: 1563 public:
1564 virtual ~SkCanvasClipVisitor(); 1564 virtual ~SkCanvasClipVisitor();
1565 virtual void clipRect(const SkRect&, SkRegion::Op, bool antialias) = 0; 1565 virtual void clipRect(const SkRect&, SkRegion::Op, bool antialias) = 0;
1566 virtual void clipRRect(const SkRRect&, SkRegion::Op, bool antialias) = 0; 1566 virtual void clipRRect(const SkRRect&, SkRegion::Op, bool antialias) = 0;
1567 virtual void clipPath(const SkPath&, SkRegion::Op, bool antialias) = 0; 1567 virtual void clipPath(const SkPath&, SkRegion::Op, bool antialias) = 0;
1568 }; 1568 };
1569 1569
1570 #endif 1570 #endif
OLDNEW
« no previous file with comments | « include/core/SkBitmapDevice.h ('k') | include/core/SkColor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698