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

Unified Diff: src/core/SkStroke.h

Issue 692583002: WIP: GPU-accelerated trapezoidal path renderer. Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rename GrTrapezoidalPathRenderer -> GrAAConcavePathRenderer; swap MSAA support for a coverage ramp. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkScan_Path.cpp ('k') | src/core/SkStroke.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkStroke.h
diff --git a/src/core/SkStroke.h b/src/core/SkStroke.h
index f93efdee0fd1e03f28f8a2899aeef41f1c5c1477..bef69c7ed95277ca709f73b7fbdec0335cdaa337 100644
--- a/src/core/SkStroke.h
+++ b/src/core/SkStroke.h
@@ -43,6 +43,11 @@ public:
bool getDoFill() const { return SkToBool(fDoFill); }
void setDoFill(bool doFill) { fDoFill = SkToU8(doFill); }
+ bool getAutoClose() const { return fAutoClose; }
+ void setAutoClose(bool autoClose) { fAutoClose = autoClose; }
+
+ bool getReverseInner() const { return fReverseInner; }
+ void setReverseInner(bool reverseInner) { fReverseInner = reverseInner; }
/**
* ResScale is the "intended" resolution for the output.
* Default is 1.0.
@@ -71,6 +76,8 @@ private:
SkScalar fResScale;
uint8_t fCap, fJoin;
SkBool8 fDoFill;
+ bool fAutoClose;
+ bool fReverseInner;
friend class SkPaint;
};
« no previous file with comments | « src/core/SkScan_Path.cpp ('k') | src/core/SkStroke.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698