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

Side by Side Diff: samplecode/SampleStrokePath.cpp

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 3 months 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 | « samplecode/SampleStringArt.cpp ('k') | samplecode/SampleSubpixelTranslate.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 /* 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 "SampleCode.h" 8 #include "SampleCode.h"
9 #include "SkBlurMask.h" 9 #include "SkBlurMask.h"
10 #include "SkBlurMaskFilter.h" 10 #include "SkBlurMaskFilter.h"
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 fPath.setFillType(SkPath::kWinding_FillType); 203 fPath.setFillType(SkPath::kWinding_FillType);
204 drawSet(canvas, &paint); 204 drawSet(canvas, &paint);
205 205
206 canvas->translate(0, fPath.getBounds().height() * 5 / 4); 206 canvas->translate(0, fPath.getBounds().height() * 5 / 4);
207 fPath.setFillType(SkPath::kEvenOdd_FillType); 207 fPath.setFillType(SkPath::kEvenOdd_FillType);
208 drawSet(canvas, &paint); 208 drawSet(canvas, &paint);
209 } 209 }
210 210
211 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, 211 virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y,
212 unsigned modi) override { 212 unsigned modi) override {
213 this->inval(NULL); 213 this->inval(nullptr);
214 return this->INHERITED::onFindClickHandler(x, y, modi); 214 return this->INHERITED::onFindClickHandler(x, y, modi);
215 } 215 }
216 private: 216 private:
217 typedef SampleView INHERITED; 217 typedef SampleView INHERITED;
218 }; 218 };
219 219
220 ////////////////////////////////////////////////////////////////////////////// 220 //////////////////////////////////////////////////////////////////////////////
221 221
222 static SkView* MyFactory() { return new StrokePathView; } 222 static SkView* MyFactory() { return new StrokePathView; }
223 static SkViewRegister reg(MyFactory); 223 static SkViewRegister reg(MyFactory);
OLDNEW
« no previous file with comments | « samplecode/SampleStringArt.cpp ('k') | samplecode/SampleSubpixelTranslate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698