diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-08-23 20:16:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-08-24 11:25:13 +0200 |
commit | 990dd32a749cc402857535dbd94fccdb918c71a2 (patch) | |
tree | e7808813750f74e801916641eb3b7538f600145f /include | |
parent | 6c0bb0f9b846b3f1fee3ff07fb67409708449e0a (diff) |
move & rename height relevant function near & similar to its width equivalent
Change-Id: Icab3c11d6968efbbdb0f9f7f1dfeba2709e22a2f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138746
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/outdev.hxx | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 5dab75f230d4..82b3180d212f 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -1718,6 +1718,7 @@ public: @returns Height in units of device pixels. */ SAL_DLLPRIVATE tools::Long ImplLogicHeightToDevicePixel( tools::Long nHeight ) const; + SAL_DLLPRIVATE double ImplLogicHeightToDeviceFontHeight(tools::Long nHeight) const; /** Convert device pixels to a width in logical units. @@ -1838,19 +1839,6 @@ private: */ SAL_DLLPRIVATE tools::Long ImplLogicYToDevicePixel( tools::Long nY ) const; - /** Convert logical height to device pixels, with exact sub-pixel value. - - To get the \em exact pixel height, it must calculate the Y-DPI of the device and the - map scaling factor. - - @param fLogicHeight Exact height in logical units. - - @returns Exact height in pixels - returns as a float to provide for subpixel value. - */ - SAL_DLLPRIVATE float ImplFloatLogicHeightToDevicePixel( float fLogicHeight ) const; - ///@} - - /** @name Native Widget Rendering functions These all just call through to the private mpGraphics functions of the same name. |