| OLD | NEW | 
|     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 1347 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1358         fSurfaceBase = sb; |  1358         fSurfaceBase = sb; | 
|  1359     } |  1359     } | 
|  1360     friend class SkSurface_Base; |  1360     friend class SkSurface_Base; | 
|  1361     friend class SkSurface_Gpu; |  1361     friend class SkSurface_Gpu; | 
|  1362  |  1362  | 
|  1363     bool fDeviceCMDirty;            // cleared by updateDeviceCMCache() |  1363     bool fDeviceCMDirty;            // cleared by updateDeviceCMCache() | 
|  1364     void updateDeviceCMCache(); |  1364     void updateDeviceCMCache(); | 
|  1365  |  1365  | 
|  1366     void doSave(); |  1366     void doSave(); | 
|  1367     void checkForDeferredSave(); |  1367     void checkForDeferredSave(); | 
 |  1368     void internalSetMatrix(const SkMatrix& matrix); | 
|  1368  |  1369  | 
|  1369     friend class SkDrawIter;        // needs setupDrawForLayerDevice() |  1370     friend class SkDrawIter;        // needs setupDrawForLayerDevice() | 
|  1370     friend class AutoDrawLooper; |  1371     friend class AutoDrawLooper; | 
|  1371     friend class SkLua;             // needs top layer size and offset |  1372     friend class SkLua;             // needs top layer size and offset | 
|  1372     friend class SkDebugCanvas;     // needs experimental fAllowSimplifyClip |  1373     friend class SkDebugCanvas;     // needs experimental fAllowSimplifyClip | 
|  1373     friend class SkSurface_Raster;  // needs getDevice() |  1374     friend class SkSurface_Raster;  // needs getDevice() | 
|  1374     friend class SkRecorder;        // InitFlags |  1375     friend class SkRecorder;        // InitFlags | 
|  1375     friend class SkNoSaveLayerCanvas;   // InitFlags |  1376     friend class SkNoSaveLayerCanvas;   // InitFlags | 
|  1376     friend class SkPictureImageFilter;  // SkCanvas(SkBaseDevice*, SkSurfaceProp
      s*, InitFlags) |  1377     friend class SkPictureImageFilter;  // SkCanvas(SkBaseDevice*, SkSurfaceProp
      s*, InitFlags) | 
|  1377     friend class SkPictureRecord;   // predrawNotify (why does it need it? <reed
      >) |  1378     friend class SkPictureRecord;   // predrawNotify (why does it need it? <reed
      >) | 
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1564  |  1565  | 
|  1565 class SkCanvasClipVisitor { |  1566 class SkCanvasClipVisitor { | 
|  1566 public: |  1567 public: | 
|  1567     virtual ~SkCanvasClipVisitor(); |  1568     virtual ~SkCanvasClipVisitor(); | 
|  1568     virtual void clipRect(const SkRect&, SkRegion::Op, bool antialias) = 0; |  1569     virtual void clipRect(const SkRect&, SkRegion::Op, bool antialias) = 0; | 
|  1569     virtual void clipRRect(const SkRRect&, SkRegion::Op, bool antialias) = 0; |  1570     virtual void clipRRect(const SkRRect&, SkRegion::Op, bool antialias) = 0; | 
|  1570     virtual void clipPath(const SkPath&, SkRegion::Op, bool antialias) = 0; |  1571     virtual void clipPath(const SkPath&, SkRegion::Op, bool antialias) = 0; | 
|  1571 }; |  1572 }; | 
|  1572  |  1573  | 
|  1573 #endif |  1574 #endif | 
| OLD | NEW |