diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2013-04-25 16:47:53 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2013-04-25 16:47:53 +0100 |
commit | d35125d429f04dd16837ae7a798a9fbf1cc4c62e (patch) | |
tree | 4018e6af69c99f7ea0e4996d14d526b2fd9e2d20 /docview/components/richtext/RichTextDocumentUnit.pas | |
parent | 89a657dfe03d81f5c6b44d5e7a9722fdeb8fef4c (diff) | |
download | fpGUI-d35125d429f04dd16837ae7a798a9fbf1cc4c62e.tar.xz |
docview: greatly improve scrolling speed when help topic contains images
We always did StretchDraw() which is rather CPU intensive. Now we check
the image dimensions first, then decide if StretchDraw() is really
needed or not. If not, then do the much faster DrawImage() call.
Diffstat (limited to 'docview/components/richtext/RichTextDocumentUnit.pas')
0 files changed, 0 insertions, 0 deletions