blob: 02664c6449e8e38fff7ff3a55f8b5eccc9bc4100 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
* 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"
#include "SkCanvas.h"
class GrDrawBatch;
class SkBitmap;
class SkLatticeIter;
class SkMatrix;
struct SkIRect;
struct SkRect;
namespace GrNinePatch {
GrDrawBatch* CreateNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWidth, int imageHeight,
std::unique_ptr<SkLatticeIter> iter, const SkRect& dst);
};
#endif
|