blob: 2ed3b9c6f6c440f5c4ecc624c4c65d5fe41f675d (
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
|
/*
* 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 GLatticeOp_DEFINED
#define GLatticeOp_DEFINED
#include "GrColor.h"
#include "SkRefCnt.h"
class GrDrawOp;
class SkLatticeIter;
class SkMatrix;
struct SkRect;
namespace GrLatticeOp {
std::unique_ptr<GrDrawOp> MakeNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWidth,
int imageHeight, std::unique_ptr<SkLatticeIter> iter,
const SkRect& dst);
};
#endif
|