OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 #include "gm.h" | 8 #include "gm.h" |
9 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
10 //#include "SkParsePath.h" | 10 //#include "SkParsePath.h" |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 | 193 |
194 bool fDoAAClip; | 194 bool fDoAAClip; |
195 bool fDoSaveLayer; | 195 bool fDoSaveLayer; |
196 bool fInvertDraw; | 196 bool fInvertDraw; |
197 | 197 |
198 typedef GM INHERITED; | 198 typedef GM INHERITED; |
199 }; | 199 }; |
200 | 200 |
201 ////////////////////////////////////////////////////////////////////////////// | 201 ////////////////////////////////////////////////////////////////////////////// |
202 | 202 |
203 DEF_GM( return SkNEW_ARGS(ComplexClipGM, (false, false, false)); ) | 203 DEF_GM(return new ComplexClipGM(false, false, false);) |
204 DEF_GM( return SkNEW_ARGS(ComplexClipGM, (false, false, true)); ) | 204 DEF_GM(return new ComplexClipGM(false, false, true);) |
205 DEF_GM( return SkNEW_ARGS(ComplexClipGM, (false, true, false)); ) | 205 DEF_GM(return new ComplexClipGM(false, true, false);) |
206 DEF_GM( return SkNEW_ARGS(ComplexClipGM, (false, true, true)); ) | 206 DEF_GM(return new ComplexClipGM(false, true, true);) |
207 DEF_GM( return SkNEW_ARGS(ComplexClipGM, (true, false, false)); ) | 207 DEF_GM(return new ComplexClipGM(true, false, false);) |
208 DEF_GM( return SkNEW_ARGS(ComplexClipGM, (true, false, true)); ) | 208 DEF_GM(return new ComplexClipGM(true, false, true);) |
209 DEF_GM( return SkNEW_ARGS(ComplexClipGM, (true, true, false)); ) | 209 DEF_GM(return new ComplexClipGM(true, true, false);) |
210 DEF_GM( return SkNEW_ARGS(ComplexClipGM, (true, true, true)); ) | 210 DEF_GM(return new ComplexClipGM(true, true, true);) |
211 | |
212 } | 211 } |
OLD | NEW |