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

Unified Diff: src/gpu/GrAtlasTextBlob.h

Issue 1315933002: Fix for distance field draw large glyph as paths (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix 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 | « no previous file | src/gpu/GrAtlasTextContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrAtlasTextBlob.h
diff --git a/src/gpu/GrAtlasTextBlob.h b/src/gpu/GrAtlasTextBlob.h
index 5b7b52ea268c6075d80b75f74e786610c574cb9d..2c8aa57238786323e6d3daac3d486c4a30e49b52 100644
--- a/src/gpu/GrAtlasTextBlob.h
+++ b/src/gpu/GrAtlasTextBlob.h
@@ -135,13 +135,17 @@ struct GrAtlasTextBlob : public SkRefCnt {
};
struct BigGlyph {
- BigGlyph(const SkPath& path, SkScalar vx, SkScalar vy)
+ BigGlyph(const SkPath& path, SkScalar vx, SkScalar vy, SkScalar scale, bool applyVM)
: fPath(path)
, fVx(vx)
- , fVy(vy) {}
+ , fVy(vy)
+ , fScale(scale)
+ , fApplyVM(applyVM) {}
SkPath fPath;
SkScalar fVx;
SkScalar fVy;
+ SkScalar fScale;
+ bool fApplyVM;
};
struct Key {
« no previous file with comments | « no previous file | src/gpu/GrAtlasTextContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698