OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
4 * | 3 * |
5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 #ifndef SkEdgeBuilder_DEFINED | 7 #ifndef SkEdgeBuilder_DEFINED |
9 #define SkEdgeBuilder_DEFINED | 8 #define SkEdgeBuilder_DEFINED |
10 | 9 |
11 #include "SkChunkAlloc.h" | 10 #include "SkChunkAlloc.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 public: | 51 public: |
53 void addLine(const SkPoint pts[]); | 52 void addLine(const SkPoint pts[]); |
54 void addQuad(const SkPoint pts[]); | 53 void addQuad(const SkPoint pts[]); |
55 void addCubic(const SkPoint pts[]); | 54 void addCubic(const SkPoint pts[]); |
56 void addClipper(SkEdgeClipper*); | 55 void addClipper(SkEdgeClipper*); |
57 | 56 |
58 int buildPoly(const SkPath& path, const SkIRect* clip, int shiftUp, bool cli
pToTheRight); | 57 int buildPoly(const SkPath& path, const SkIRect* clip, int shiftUp, bool cli
pToTheRight); |
59 }; | 58 }; |
60 | 59 |
61 #endif | 60 #endif |
OLD | NEW |