diff options
| author | nyamatongwe <unknown> | 2011-06-05 10:05:37 +1000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2011-06-05 10:05:37 +1000 |
| commit | 9433503c3000ad9408f38ebd19e759f51ef44c01 (patch) | |
| tree | 95732929b66db495f69aa4aa29b9dcc60bb6bed7 /cocoa/PlatCocoa.h | |
| parent | b78fcd78a98d59f6f42ccecb7be229a382af27dd (diff) | |
| download | scintilla-mirror-9433503c3000ad9408f38ebd19e759f51ef44c01.tar.gz | |
Cache surface resolution as it is slow and is called
for every font creation.
Diffstat (limited to 'cocoa/PlatCocoa.h')
| -rw-r--r-- | cocoa/PlatCocoa.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h index 3e0aa09d8..0653bc728 100644 --- a/cocoa/PlatCocoa.h +++ b/cocoa/PlatCocoa.h @@ -49,6 +49,8 @@ private: /** The text layout instance */ QuartzTextLayout* textLayout; int codePage; + int verticalDeviceResolution; + /** If the surface is a bitmap context, contains a reference to the bitmap data. */ uint8_t* bitmapData; /** If the surface is a bitmap context, stores the dimensions of the bitmap. */ |
