| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2008 The Android Open Source Project | 2 * Copyright 2008 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 #include "SkBitmapDevice.h" | |
| 9 #include "SkCanvas.h" | 8 #include "SkCanvas.h" |
| 10 #include "SkCanvasPriv.h" | 9 #include "SkCanvasPriv.h" |
| 11 #include "SkClipStack.h" | 10 #include "SkBitmapDevice.h" |
| 12 #include "SkColorFilter.h" | 11 #include "SkColorFilter.h" |
| 13 #include "SkDevice.h" | |
| 14 #include "SkDraw.h" | 12 #include "SkDraw.h" |
| 15 #include "SkDrawable.h" | 13 #include "SkDrawable.h" |
| 16 #include "SkDrawFilter.h" | 14 #include "SkDrawFilter.h" |
| 17 #include "SkDrawLooper.h" | 15 #include "SkDrawLooper.h" |
| 18 #include "SkErrorInternals.h" | 16 #include "SkErrorInternals.h" |
| 19 #include "SkImage.h" | 17 #include "SkImage.h" |
| 20 #include "SkMetaData.h" | 18 #include "SkMetaData.h" |
| 21 #include "SkNinePatchIter.h" | 19 #include "SkNinePatchIter.h" |
| 22 #include "SkPaintPriv.h" | 20 #include "SkPaintPriv.h" |
| 21 #include "SkPathOps.h" |
| 23 #include "SkPatchUtils.h" | 22 #include "SkPatchUtils.h" |
| 24 #include "SkPicture.h" | 23 #include "SkPicture.h" |
| 25 #include "SkRasterClip.h" | 24 #include "SkRasterClip.h" |
| 26 #include "SkReadPixelsRec.h" | 25 #include "SkReadPixelsRec.h" |
| 27 #include "SkRRect.h" | 26 #include "SkRRect.h" |
| 28 #include "SkSmallAllocator.h" | 27 #include "SkSmallAllocator.h" |
| 29 #include "SkSurface_Base.h" | 28 #include "SkSurface_Base.h" |
| 29 #include "SkTemplates.h" |
| 30 #include "SkTextBlob.h" | 30 #include "SkTextBlob.h" |
| 31 #include "SkTextFormatParams.h" | 31 #include "SkTextFormatParams.h" |
| 32 #include "SkTLazy.h" | 32 #include "SkTLazy.h" |
| 33 #include "SkTraceEvent.h" | 33 #include "SkTraceEvent.h" |
| 34 | 34 #include "SkUtils.h" |
| 35 #include <new> | |
| 36 | 35 |
| 37 #if SK_SUPPORT_GPU | 36 #if SK_SUPPORT_GPU |
| 38 #include "GrRenderTarget.h" | 37 #include "GrRenderTarget.h" |
| 39 #endif | 38 #endif |
| 40 | 39 |
| 41 /* | 40 /* |
| 42 * Return true if the drawing this rect would hit every pixels in the canvas. | 41 * Return true if the drawing this rect would hit every pixels in the canvas. |
| 43 * | 42 * |
| 44 * Returns false if | 43 * Returns false if |
| 45 * - rect does not contain the canvas' bounds | 44 * - rect does not contain the canvas' bounds |
| (...skipping 2809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2855 } | 2854 } |
| 2856 | 2855 |
| 2857 if (matrix) { | 2856 if (matrix) { |
| 2858 canvas->concat(*matrix); | 2857 canvas->concat(*matrix); |
| 2859 } | 2858 } |
| 2860 } | 2859 } |
| 2861 | 2860 |
| 2862 SkAutoCanvasMatrixPaint::~SkAutoCanvasMatrixPaint() { | 2861 SkAutoCanvasMatrixPaint::~SkAutoCanvasMatrixPaint() { |
| 2863 fCanvas->restoreToCount(fSaveCount); | 2862 fCanvas->restoreToCount(fSaveCount); |
| 2864 } | 2863 } |
| OLD | NEW |