diff options
author | Neil <nyamatongwe@gmail.com> | 2017-04-12 17:37:25 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-04-12 17:37:25 +1000 |
commit | c3c62cbb60d7f8b98a6b5752efad37f9ba70aad9 (patch) | |
tree | 8a0e38e0f120758914e4cdd2f1ec31428427d6af /src/Style.h | |
parent | db5e774317693f915567714d6bc393dddef1b004 (diff) | |
download | scintilla-mirror-c3c62cbb60d7f8b98a6b5752efad37f9ba70aad9.tar.gz |
For speed, store height of capital letters in FontMeasurements so not
recalculated for every character blob.
Diffstat (limited to 'src/Style.h')
-rw-r--r-- | src/Style.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Style.h b/src/Style.h index b3b3852da..adf5010c7 100644 --- a/src/Style.h +++ b/src/Style.h @@ -46,6 +46,7 @@ public: struct FontMeasurements { unsigned int ascent; unsigned int descent; + XYPOSITION capitalHeight; // Top of capital letter to baseline: ascent - internal leading XYPOSITION aveCharWidth; XYPOSITION spaceWidth; int sizeZoomed; |