Index: src/gpu/batches/GrNinePatch.h |
diff --git a/src/gpu/batches/GrNinePatch.h b/src/gpu/batches/GrNinePatch.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0a4ffd6e03aaae6b3e40335152b0ba4c9579e86b |
--- /dev/null |
+++ b/src/gpu/batches/GrNinePatch.h |
@@ -0,0 +1,24 @@ |
+/* |
+ * Copyright 2015 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#ifndef GrNinePatch_DEFINED |
+#define GrNinePatch_DEFINED |
+ |
+#include "GrColor.h" |
+ |
+class GrDrawBatch; |
+class SkBitmap; |
+class SkMatrix; |
+struct SkIRect; |
+struct SkRect; |
+ |
+namespace GrNinePatch { |
+GrDrawBatch* CreateNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWidth, int imageHeight, |
+ const SkIRect& center, const SkRect& dst); |
+}; |
+ |
+#endif |