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/core/SkStroke.h

Issue 1157623003: remove SK_LEGACY_STROKE_CURVES (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: work in progress Created 5 years, 7 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/SampleQuadStroker.cpp ('k') | src/core/SkStroke.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 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
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 SkStroke_DEFINED 8 #ifndef SkStroke_DEFINED
9 #define SkStroke_DEFINED 9 #define SkStroke_DEFINED
10 10
11 #include "SkPath.h" 11 #include "SkPath.h"
12 #include "SkPoint.h" 12 #include "SkPoint.h"
13 #include "SkPaint.h" 13 #include "SkPaint.h"
14 #include "SkStrokerPriv.h" 14 #include "SkStrokerPriv.h"
15 15
16 #if !defined SK_LEGACY_STROKE_CURVES && defined SK_DEBUG 16 #ifdef SK_DEBUG
17 extern bool gDebugStrokerErrorSet; 17 extern bool gDebugStrokerErrorSet;
18 extern SkScalar gDebugStrokerError; 18 extern SkScalar gDebugStrokerError;
19 extern int gMaxRecursion[]; 19 extern int gMaxRecursion[];
20 #endif 20 #endif
21 21
22 /** \class SkStroke 22 /** \class SkStroke
23 SkStroke is the utility class that constructs paths by stroking 23 SkStroke is the utility class that constructs paths by stroking
24 geometries (lines, rects, ovals, roundrects, paths). This is 24 geometries (lines, rects, ovals, roundrects, paths). This is
25 invoked when a geometry or text is drawn in a canvas with the 25 invoked when a geometry or text is drawn in a canvas with the
26 kStroke_Mask bit set in the paint. 26 kStroke_Mask bit set in the paint.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 private: 69 private:
70 SkScalar fWidth, fMiterLimit; 70 SkScalar fWidth, fMiterLimit;
71 SkScalar fResScale; 71 SkScalar fResScale;
72 uint8_t fCap, fJoin; 72 uint8_t fCap, fJoin;
73 SkBool8 fDoFill; 73 SkBool8 fDoFill;
74 74
75 friend class SkPaint; 75 friend class SkPaint;
76 }; 76 };
77 77
78 #endif 78 #endif
OLDNEW
« no previous file with comments | « samplecode/SampleQuadStroker.cpp ('k') | src/core/SkStroke.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698