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

Side by Side Diff: src/gpu/GrStrokeInfo.h

Issue 1272293004: Move SkTemplates.h to private. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: It's a struct! Created 5 years, 4 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 | « src/gpu/GrDefaultPathRenderer.h ('k') | src/gpu/GrTRecorder.h » ('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 2014 Google Inc. 2 * Copyright 2014 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 #ifndef GrStrokeInfo_DEFINED 8 #ifndef GrStrokeInfo_DEFINED
9 #define GrStrokeInfo_DEFINED 9 #define GrStrokeInfo_DEFINED
10 10
11 #include "SkPathEffect.h"
11 #include "SkStrokeRec.h" 12 #include "SkStrokeRec.h"
12 #include "SkPathEffect.h" 13 #include "SkTemplates.h"
13 14
14 class GrUniqueKey; 15 class GrUniqueKey;
15 16
16 /* 17 /*
17 * GrStrokeInfo encapsulates all the pertinent infomation regarding the stroke. The SkStrokeRec 18 * GrStrokeInfo encapsulates all the pertinent infomation regarding the stroke. The SkStrokeRec
18 * which holds information on fill style, width, miter, cap, and join. It also h olds information 19 * which holds information on fill style, width, miter, cap, and join. It also h olds information
19 * about the dash like intervals, count, and phase. 20 * about the dash like intervals, count, and phase.
20 */ 21 */
21 class GrStrokeInfo : public SkStrokeRec { 22 class GrStrokeInfo : public SkStrokeRec {
22 public: 23 public:
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 this->setDashInfo(pe); 177 this->setDashInfo(pe);
177 } 178 }
178 179
179 SkPathEffect::DashType fDashType; 180 SkPathEffect::DashType fDashType;
180 SkScalar fDashPhase; 181 SkScalar fDashPhase;
181 SkAutoSTArray<2, SkScalar> fIntervals; 182 SkAutoSTArray<2, SkScalar> fIntervals;
182 typedef SkStrokeRec INHERITED; 183 typedef SkStrokeRec INHERITED;
183 }; 184 };
184 185
185 #endif 186 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrDefaultPathRenderer.h ('k') | src/gpu/GrTRecorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698