| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
| 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 GrNinePatch_DEFINED | 8 #ifndef GrNinePatch_DEFINED |
| 9 #define GrNinePatch_DEFINED | 9 #define GrNinePatch_DEFINED |
| 10 | 10 |
| 11 #include "GrColor.h" | 11 #include "GrColor.h" |
| 12 #include "SkCanvas.h" |
| 12 | 13 |
| 13 class GrDrawBatch; | 14 class GrDrawBatch; |
| 14 class SkBitmap; | 15 class SkBitmap; |
| 16 class SkLatticeIter; |
| 15 class SkMatrix; | 17 class SkMatrix; |
| 16 struct SkIRect; | 18 struct SkIRect; |
| 17 struct SkRect; | 19 struct SkRect; |
| 18 | 20 |
| 19 namespace GrNinePatch { | 21 namespace GrNinePatch { |
| 20 GrDrawBatch* CreateNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWid
th, int imageHeight, | 22 GrDrawBatch* CreateNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWid
th, int imageHeight, |
| 21 const SkIRect& center, const SkRect& dst); | 23 std::unique_ptr<SkLatticeIter> iter, const SkRect& dst)
; |
| 22 }; | 24 }; |
| 23 | 25 |
| 24 #endif | 26 #endif |
| OLD | NEW |