cocoa - Retina @2x high-resolution graphics wrongly used on standard display -
it appears images incorrectly drawn, using high-resolution equivalent, while others fine. why ?
nsimage seems forcefully choose @2x high-res images when drawn images stretched
to avoid this, can either choose use nsdrawthreepartimage or nsdrawninepartimage
these functions avoid stretching tiling-up patterns.
and if can’t use above want avoid 2x representation being used:
[nsimage setmatchesonlyonbestfittingaxis:yes]
Comments
Post a Comment