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

Unified Diff: include/core/SkPaint.h

Issue 1304163008: Revert of experiment with zero-length round capped line segments (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | « gm/strokes.cpp ('k') | src/core/SkPathMeasure.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPaint.h
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 0c071ad361416c859fa006db17395cae79e43e1b..1b993fc5ea8a92b947d3d48355b329917265b22b 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -398,15 +398,6 @@
/** Cap enum specifies the settings for the paint's strokecap. This is the
treatment that is applied to the beginning and end of each non-closed
contour (e.g. lines).
-
- If the cap is round or square, the caps are drawn when the contour has
- a zero length. Zero length contours can be created by following moveTo
- with a lineTo at the same point, or a moveTo followed by a close.
-
- A dash with an on interval of zero also creates a zero length contour.
-
- The zero length contour draws the square cap without rotation, since
- the no direction can be inferred.
*/
enum Cap {
kButt_Cap, //!< begin/end contours with no extension
« no previous file with comments | « gm/strokes.cpp ('k') | src/core/SkPathMeasure.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698