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

Unified Diff: include/core/SkStrokeRec.h

Issue 759613005: Add color emoji fallback for nvpr text (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | src/core/SkStrokeRec.cpp » ('j') | src/gpu/GrStencilAndCoverTextContext.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkStrokeRec.h
diff --git a/include/core/SkStrokeRec.h b/include/core/SkStrokeRec.h
index 0c5892f62584393c5a9d49336afaae1c35039418..68fa14581d31a4ccb952172233a47dbfbd80c761 100644
--- a/include/core/SkStrokeRec.h
+++ b/include/core/SkStrokeRec.h
@@ -85,6 +85,11 @@ public:
*/
bool applyToPath(SkPath* dst, const SkPath& src) const;
+ /**
+ * Apply these stroke parameters to a paint.
+ */
+ void applyToPaint(SkPaint* paint) const;
+
bool operator==(const SkStrokeRec& other) const {
return fWidth == other.fWidth &&
fMiterLimit == other.fMiterLimit &&
« no previous file with comments | « no previous file | src/core/SkStrokeRec.cpp » ('j') | src/gpu/GrStencilAndCoverTextContext.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698