1# Window Subsystem Changelog
2
3## cl.display.1 Calculation Method of xDPI and yDPI of a Display Object Is Optimized
4
5**Access Level**
6
7Public API
8
9**Reason for Change**
10
11Since API version 12, the calculation method of xDPI and yDPI of a **Display** object is changed so that the values of xDPI and yDPI do not change with the display rotation.
12
13**Change Impact**
14
15This change is a non-compatible change.
16
17In API version 11 and earlier versions, the calculation of xDPI and yDPI of a **Display** object changes with the display rotation. As a result, the values of xDPI and yDPI obtained by the application change dynamically.
18
19In API version 12 and later versions, the calculation of xDPI and yDPI of a **Display** object does not change with the display rotation. The values of xDPI and yDPI obtained by the application are fixed.
20
21**Start API Level**
22
23API version 7
24
25**Change Since**
26
27OpenHarmony SDK 5.0.0.29
28
29**Key API/Component Changes**
30
31xDPI and yDPI of a **Display** object.
32
33**Adaptation Guide**
34
35During the adaptation, check whether the changed behavior affects the UI effect.
36