GLWpfControl icon indicating copy to clipboard operation
GLWpfControl copied to clipboard

Avoid rounding errors in size calculation.

Open 5E-324 opened this issue 2 years ago • 1 comments

Width and height are normally fractional when DPI scaling is enabled, converting them to int will introduce rounding errors, and sometimes produces white lines on the right and bottom of the control. To avoid this, they are now stored as double, the same as in UIElement.RenderSize.

5E-324 avatar Nov 25 '22 09:11 5E-324

@5E-324 I'm guessing it wasn't intentional to close the repo by deleting the repo? Going to reopen this, we want to fix DPI for this control soon.

NogginBops avatar Mar 03 '23 15:03 NogginBops

Closing if favor of #86

NogginBops avatar May 29 '24 23:05 NogginBops