gujjula / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

Pixel alignment on hi-dpi (Retina) displays skips pixels #323

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From Apple's "High-Resolution Operation Release Notes" ( 
http://developer.apple.com/library/mac/#releasenotes/GraphicsAnimation/RN-HiDPI/
_index.html ) under "Pixel Precision":

------

Look out for places where you are using floor/ceil/round of view coordinates to 
eliminate “fuzzies.” If you are drawing in a 2x environment, you will be 
skipping every other pixel.

------

This effect is noticeable in the positioning of axis and plot data labels as 
well as plot symbols.

All areas of the Core Plot code that use the functions mentioned above for 
pixel alignment should be reviewed and updated to round correctly in hi-dpi 
contexts.

Original issue reported on code.google.com by eskr...@mac.com on 23 Aug 2011 at 1:08

GoogleCodeExporter commented 9 years ago

Original comment by eskr...@mac.com on 29 Aug 2011 at 11:48

GoogleCodeExporter commented 9 years ago
This issue was closed by revision eaf56b43a218.

Original comment by eskr...@mac.com on 4 Sep 2011 at 3:01