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

Side by Side Diff: gm/roundrects.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 | « gm/imagefilters.cpp ('k') | gyp/common_conditions.gypi » ('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 /* 2 /*
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 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 8
9 #include "gm.h" 9 #include "gm.h"
10 #include "SkTArray.h" 10 #include "SkTArray.h"
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 p.setAntiAlias(true); 316 p.setAntiAlias(true);
317 p.setStyle(SkPaint::kStroke_Style); 317 p.setStyle(SkPaint::kStroke_Style);
318 p.setStrokeWidth(strokeWidths[i]); 318 p.setStrokeWidth(strokeWidths[i]);
319 p.setColor(color); 319 p.setColor(color);
320 320
321 canvas->drawRRect(circleRect, p); 321 canvas->drawRRect(circleRect, p);
322 canvas->restore(); 322 canvas->restore();
323 } 323 }
324 } 324 }
325 325
326 // test old entry point (skbug.com/3786) 326 // test old entry point ( https://bug.skia.org/3786 )
327 { 327 {
328 canvas->save(); 328 canvas->save();
329 329
330 canvas->translate(kXStart + SK_Scalar1 * kXStep * 5 + SK_Scalar1 / 4 , 330 canvas->translate(kXStart + SK_Scalar1 * kXStep * 5 + SK_Scalar1 / 4 ,
331 kYStart + SK_Scalar1 * kYStep * 4 + SK_Scalar1 / 4 + 331 kYStart + SK_Scalar1 * kYStep * 4 + SK_Scalar1 / 4 +
332 SK_ScalarHalf * kYStep); 332 SK_ScalarHalf * kYStep);
333 333
334 const SkColor color = gen_color(&rand); 334 const SkColor color = gen_color(&rand);
335 335
336 SkPaint p; 336 SkPaint p;
(...skipping 12 matching lines...) Expand all
349 349
350 typedef GM INHERITED; 350 typedef GM INHERITED;
351 }; 351 };
352 352
353 ////////////////////////////////////////////////////////////////////////////// 353 //////////////////////////////////////////////////////////////////////////////
354 354
355 static GM* MyFactory(void*) { return new RoundRectGM; } 355 static GM* MyFactory(void*) { return new RoundRectGM; }
356 static GMRegistry reg(MyFactory); 356 static GMRegistry reg(MyFactory);
357 357
358 } 358 }
OLDNEW
« no previous file with comments | « gm/imagefilters.cpp ('k') | gyp/common_conditions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698