diff options
author | 2015-08-25 12:05:50 -0700 | |
---|---|---|
committer | 2015-08-25 12:05:50 -0700 | |
commit | 0fe04a240b4346f42199ff657c97126913ba3e74 (patch) | |
tree | 8572ceda2ea13321967c3dbfde29740bef220331 /src/gpu/GrAtlasTextBlob.h | |
parent | c64137c245dd24be54f37d762c0855bd719cb3ad (diff) |
Fix for distance field draw large glyph as paths
BUG=skia:
Review URL: https://codereview.chromium.org/1315933002
Diffstat (limited to 'src/gpu/GrAtlasTextBlob.h')
-rw-r--r-- | src/gpu/GrAtlasTextBlob.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gpu/GrAtlasTextBlob.h b/src/gpu/GrAtlasTextBlob.h index 5b7b52ea26..2c8aa57238 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 { |