An electronic device comprising: a display that includes a plurality of pixels that form an active area (AA) of the display, wherein the active area (AA) of the display has at least one rounded corner along at least a portion of an edge of the active area (AA) of the display and wherein the at least one rounded corner is defined by a spline; and control circuitry configured to provide image data to the display , wherein the image data comprises a brightness value for each pixel , wherein the control circuitry comprises circuitry configured to modify the image data based on at least one dimming factor (DF), wherein each pixel has a respective dimming factor (DF), wherein the control circuitry is configured to multiply the image data of each sub-pixel having a center outside of the spline by a dimming factor that is less than 1 and is configured to multiply the image data of each sub-pixel having a center inside the spline by a dimming factor that is equal to i,and wherein: the dimming factor (DF) is given by DF = 1 - d / LVF; d is defined as the distance between a center of a given sub-pixel, located outside of the spline, and the spline, divided by the pixel width; LVF is defined by LVF = (r2 - r1) / θ x (1/a) + b; r1 is defined as the distance along a first line between a center of the active area (AA) of the display and a point on the spline directly between the center of the active area and a center of the given sub-pixel; r2 is defined as the distance along a second line between the center of the active area and another point on the spline; the second line is formed at an angle θ to the first line; and a and b are constants. a display that includes a plurality of pixels that form an active area (AA) of the display, wherein the active area (AA) of the display has at least one rounded corner along at least a portion of an edge of the active area (AA) of the display and wherein the at least one rounded corner is defined by a spline; and control circuitry configured to provide image data to the display , wherein the image data comprises a brightness value for each pixel , wherein the control circuitry comprises circuitry configured to modify the image data based on at least one dimming factor (DF), wherein each pixel has a respective dimming factor (DF), wherein the control circuitry is configured to multiply the image data of each sub-pixel having a center outside of the spline by a dimming factor that is less than 1 and is configured to multiply the image data of each sub-pixel having a center inside the spline by a dimming factor that is equal to i,and wherein: the dimming factor (DF) is given by DF = 1 - d / LVF; d is defined as the distance between a center of a given sub-pixel, located outside of the spline, and the spline, divided by the pixel width; LVF is defined by LVF = (r2 - r1) / θ x (1/a) + b; r1 is defined as the distance along a first line between a center of the active area (AA) of the display and a point on the spline directly between the center of the active area and a center of the given sub-pixel; r2 is defined as the distance along a second line between the center of the active area and another point on the spline; the second line is formed at an angle θ to the first line; and a and b are constants. the dimming factor (DF) is given by DF = 1 - d / LVF; d is defined as the distance between a center of a given sub-pixel, located outside of the spline, and the spline, divided by the pixel width; LVF is defined by LVF = (r2 - r1) / θ x (1/a) + b; r1 is defined as the distance along a first line between a center of the active area (AA) of the display and a point on the spline directly between the center of the active area and a center of the given sub-pixel; r2 is defined as the distance along a second line between the center of the active area and another point on the spline; the second line is formed at an angle θ to the first line; and a and b are constants. <EOS>