diff options
author | 2016-05-10 09:14:17 -0700 | |
---|---|---|
committer | 2016-05-10 09:14:17 -0700 | |
commit | 6663acff010ce752e4bf778da81fa97448c9db31 (patch) | |
tree | ba48f7716f7ef948d9faac90599b8a555c0f51d3 /src/gpu/text/GrStencilAndCoverTextContext.h | |
parent | 44d427e048b2e290e086dc2c9f9227818388ef17 (diff) |
Replace GrStrokeInfo with GrStyle.
A side effect is that arbitrary path effects can no be pushed deeper into the Ganesh flow for paths. They may be applied by path renderers.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1957363002
Committed: https://skia.googlesource.com/skia/+/33595bdf4b64a745f6340338d307e806e96c587f
Review-Url: https://codereview.chromium.org/1957363002
Diffstat (limited to 'src/gpu/text/GrStencilAndCoverTextContext.h')
-rw-r--r-- | src/gpu/text/GrStencilAndCoverTextContext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/text/GrStencilAndCoverTextContext.h b/src/gpu/text/GrStencilAndCoverTextContext.h index b1faba11b0..2c13ca035c 100644 --- a/src/gpu/text/GrStencilAndCoverTextContext.h +++ b/src/gpu/text/GrStencilAndCoverTextContext.h @@ -9,7 +9,7 @@ #define GrStencilAndCoverTextContext_DEFINED #include "GrDrawContext.h" -#include "GrStrokeInfo.h" +#include "GrStyle.h" #include "SkDrawFilter.h" #include "SkTextBlob.h" #include "SkTHash.h" @@ -94,7 +94,7 @@ private: GrPathRange* createGlyphs(GrContext*) const; void appendGlyph(const SkGlyph&, const SkPoint&, FallbackBlobBuilder*); - GrStrokeInfo fStroke; + GrStyle fStyle; SkPaint fFont; SkScalar fTextRatio; float fTextInverseRatio; |