blob: 0a4ffd6e03aaae6b3e40335152b0ba4c9579e86b [file] [log] [blame]
joshualitt33a5fce2015-11-18 13:28:51 -08001/*
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
13class GrDrawBatch;
14class SkBitmap;
15class SkMatrix;
16struct SkIRect;
17struct SkRect;
18
19namespace GrNinePatch {
20GrDrawBatch* CreateNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWidth, int imageHeight,
21 const SkIRect& center, const SkRect& dst);
22};
23
24#endif