1 /* 2 * Copyright 2015 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 #ifndef GrNinePatch_DEFINED 9 #define GrNinePatch_DEFINED 10 11 #include "GrColor.h" 12 13 class GrDrawBatch; 14 class SkBitmap; 15 class SkMatrix; 16 struct SkIRect; 17 struct SkRect; 18 19 namespace GrNinePatch { 20 GrDrawBatch* CreateNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWidth, int imageHeight, 21 const SkIRect& center, const SkRect& dst); 22 }; 23 24 #endif 25