File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5725,7 +5725,7 @@ void apply() {
57255725 */
57265726public Point stringExtent (String string ) {
57275727 if (string == null ) SWT .error (SWT .ERROR_NULL_ARGUMENT );
5728- return Win32DPIUtils .pixelToPoint (drawable , stringExtentInPixels (string ), data . font . zoom );
5728+ return Win32DPIUtils .pixelToPoint (drawable , stringExtentInPixels (string ), getZoom () );
57295729}
57305730
57315731Point stringExtentInPixels (String string ) {
@@ -5805,7 +5805,7 @@ public Point textExtent (String string) {
58055805 * </ul>
58065806 */
58075807public Point textExtent (String string , int flags ) {
5808- return Win32DPIUtils .pixelToPoint (drawable , textExtentInPixels (string , flags ), data . font . zoom );
5808+ return Win32DPIUtils .pixelToPoint (drawable , textExtentInPixels (string , flags ), getZoom () );
58095809}
58105810
58115811Point textExtentInPixels (String string , int flags ) {
You can’t perform that action at this time.
0 commit comments