aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrAtlasTextBlob.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-08-25 12:05:50 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-25 12:05:50 -0700
commit0fe04a240b4346f42199ff657c97126913ba3e74 (patch)
tree8572ceda2ea13321967c3dbfde29740bef220331 /src/gpu/GrAtlasTextBlob.h
parentc64137c245dd24be54f37d762c0855bd719cb3ad (diff)
Fix for distance field draw large glyph as paths
Diffstat (limited to 'src/gpu/GrAtlasTextBlob.h')
-rw-r--r--src/gpu/GrAtlasTextBlob.h8
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 {