diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-11-20 09:51:47 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-11-20 10:11:54 +0100 |
commit | f208103998cfeffef239c66043184654c00dffda (patch) | |
tree | a9ae027515997dc4b86f85537381d89b6c08bb40 /include/vcl/opengl/OpenGLHelper.hxx | |
parent | e58120920f5dd978213ea4387a42ae7e376b2922 (diff) |
vcl ScrollBar: audit Draw*() calls in ImplDraw()
These member functions take logic units, and the only case when omitting
PixelToLogic() all the time works is when both the widget itself and
render context has a pixel map unit.
Add missing PixelToLogic() calls where the input is in pixels, so in
case the render context has some logic units, the output is still
painted at the correct location.
This is needed for e.g. tiled rendering of the scrollbar of Writer
comment widgets.
Change-Id: Ideb75625b1f6349c5f18342e6f438fd5d7c31dcd
Diffstat (limited to 'include/vcl/opengl/OpenGLHelper.hxx')
0 files changed, 0 insertions, 0 deletions