Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Side by Side Diff: gm/aaclip.cpp

Issue 1432503003: Comments Style: s/skbug.com/bug.skia.org/ (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: include Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « dm/DM.cpp ('k') | gm/cubicpaths.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * 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
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "gm.h" 8 #include "gm.h"
9 #include "SkCanvas.h" 9 #include "SkCanvas.h"
10 #include "SkPath.h" 10 #include "SkPath.h"
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 typedef skiagm::GM INHERITED; 189 typedef skiagm::GM INHERITED;
190 }; 190 };
191 191
192 #if 0 // Disabled pending fix from reed@ 192 #if 0 // Disabled pending fix from reed@
193 DEF_GM( return new CGImageGM; ) 193 DEF_GM( return new CGImageGM; )
194 #endif 194 #endif
195 #endif 195 #endif
196 196
197 //////////////////////////////////////////////////////////////////////////////// /////////////////// 197 //////////////////////////////////////////////////////////////////////////////// ///////////////////
198 198
199 // skbug.com/3716 199 // https://bug.skia.org/3716
200 class ClipCubicGM : public skiagm::GM { 200 class ClipCubicGM : public skiagm::GM {
201 const SkScalar W = 100; 201 const SkScalar W = 100;
202 const SkScalar H = 240; 202 const SkScalar H = 240;
203 203
204 SkPath fVPath, fHPath; 204 SkPath fVPath, fHPath;
205 public: 205 public:
206 ClipCubicGM() { 206 ClipCubicGM() {
207 fVPath.moveTo(W, 0); 207 fVPath.moveTo(W, 0);
208 fVPath.cubicTo(W, H-10, 0, 10, 0, H); 208 fVPath.cubicTo(W, H-10, 0, 10, 0, H);
209 209
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 canvas->translate(80, 10); 254 canvas->translate(80, 10);
255 this->drawAndClip(canvas, fVPath, 200, 0); 255 this->drawAndClip(canvas, fVPath, 200, 0);
256 canvas->translate(0, 200); 256 canvas->translate(0, 200);
257 this->drawAndClip(canvas, fHPath, 200, 0); 257 this->drawAndClip(canvas, fHPath, 200, 0);
258 } 258 }
259 259
260 private: 260 private:
261 typedef skiagm::GM INHERITED; 261 typedef skiagm::GM INHERITED;
262 }; 262 };
263 DEF_GM(return new ClipCubicGM;) 263 DEF_GM(return new ClipCubicGM;)
OLDNEW
« no previous file with comments | « dm/DM.cpp ('k') | gm/cubicpaths.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698