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

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

Issue 2213333002: SkLite* (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: annoying... Created 4 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 | « gyp/core.gypi ('k') | include/core/SkRefCnt.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
(...skipping 1560 matching lines...) Expand 10 before | Expand all | Expand 10 after
1571 void checkForDeferredSave(); 1571 void checkForDeferredSave();
1572 void internalSetMatrix(const SkMatrix&); 1572 void internalSetMatrix(const SkMatrix&);
1573 1573
1574 friend class CanvasTestingAccess; // for testing 1574 friend class CanvasTestingAccess; // for testing
1575 friend class SkDrawIter; // needs setupDrawForLayerDevice() 1575 friend class SkDrawIter; // needs setupDrawForLayerDevice()
1576 friend class AutoDrawLooper; 1576 friend class AutoDrawLooper;
1577 friend class SkLua; // needs top layer size and offset 1577 friend class SkLua; // needs top layer size and offset
1578 friend class SkDebugCanvas; // needs experimental fAllowSimplifyClip 1578 friend class SkDebugCanvas; // needs experimental fAllowSimplifyClip
1579 friend class SkSurface_Raster; // needs getDevice() 1579 friend class SkSurface_Raster; // needs getDevice()
1580 friend class SkRecorder; // InitFlags 1580 friend class SkRecorder; // InitFlags
1581 friend class SkLiteRecorder; // InitFlags
1581 friend class SkNoSaveLayerCanvas; // InitFlags 1582 friend class SkNoSaveLayerCanvas; // InitFlags
1582 friend class SkPictureImageFilter; // SkCanvas(SkBaseDevice*, SkSurfaceProp s*, InitFlags) 1583 friend class SkPictureImageFilter; // SkCanvas(SkBaseDevice*, SkSurfaceProp s*, InitFlags)
1583 friend class SkPictureRecord; // predrawNotify (why does it need it? <reed >) 1584 friend class SkPictureRecord; // predrawNotify (why does it need it? <reed >)
1584 friend class SkPicturePlayback; // SaveFlagsToSaveLayerFlags 1585 friend class SkPicturePlayback; // SaveFlagsToSaveLayerFlags
1585 1586
1586 enum InitFlags { 1587 enum InitFlags {
1587 kDefault_InitFlags = 0, 1588 kDefault_InitFlags = 0,
1588 kConservativeRasterClip_InitFlag = 1 << 0, 1589 kConservativeRasterClip_InitFlag = 1 << 0,
1589 }; 1590 };
1590 SkCanvas(const SkIRect& bounds, InitFlags); 1591 SkCanvas(const SkIRect& bounds, InitFlags);
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
1717 1718
1718 class SkCanvasClipVisitor { 1719 class SkCanvasClipVisitor {
1719 public: 1720 public:
1720 virtual ~SkCanvasClipVisitor(); 1721 virtual ~SkCanvasClipVisitor();
1721 virtual void clipRect(const SkRect&, SkRegion::Op, bool antialias) = 0; 1722 virtual void clipRect(const SkRect&, SkRegion::Op, bool antialias) = 0;
1722 virtual void clipRRect(const SkRRect&, SkRegion::Op, bool antialias) = 0; 1723 virtual void clipRRect(const SkRRect&, SkRegion::Op, bool antialias) = 0;
1723 virtual void clipPath(const SkPath&, SkRegion::Op, bool antialias) = 0; 1724 virtual void clipPath(const SkPath&, SkRegion::Op, bool antialias) = 0;
1724 }; 1725 };
1725 1726
1726 #endif 1727 #endif
OLDNEW
« no previous file with comments | « gyp/core.gypi ('k') | include/core/SkRefCnt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698