summaryrefslogtreecommitdiffstats
path: root/skia/include
diff options
context:
space:
mode:
Diffstat (limited to 'skia/include')
-rw-r--r--skia/include/SkPaint.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/skia/include/SkPaint.h b/skia/include/SkPaint.h
index 73e3dbd..06009cb 100644
--- a/skia/include/SkPaint.h
+++ b/skia/include/SkPaint.h
@@ -587,6 +587,12 @@ public:
SkScalar fBottom; //!< The greatest distance below the baseline for any glyph (will be >= 0)
SkScalar fLeading; //!< The recommended distance to add between lines of text (will be >= 0)
SkScalar fHeight; //!< the vertical distance between two consecutive baselines (>= 0)
+
+ // VDMX values are exact ascent and descent values for scalable fonts at
+ // a certain pixel size.
+ bool fVDMXMetricsValid; //!< If true, the following members are valid
+ unsigned fVDMXAscent;
+ unsigned fVDMXDescent;
};
/** Return the recommend spacing between lines (which will be