Closed GoogleCodeExporter closed 9 years ago
That's how the scale works. Try this:
_smallSymbol.fill = [CPTFill fillWithImage:[CPTImage
imageWithCGImage:[smallImage CGImage] scale: [smallImage scale]]];
Original comment by eskr...@mac.com
on 31 Aug 2012 at 12:03
We had the same thing, just one day after you posted this. We fixed it on our
side. Here is the trick:
CPTImage *redCustomSymbol = [CPTImage imageWithCGImage:[[UIImage
imageNamed:@"name.png"] CGImage] scale:[[UIImage imageNamed:@"name.png"]
scale]];
Plus we add another image with double width and height and resolution (so from
e.g. 20x20 res. 72 -> 40x40 res 144. ) Following the iOS conventing, we name
that image name@2x.png
Let me know if it works.
Original comment by cornelis...@gmail.com
on 31 Aug 2012 at 9:56
Sorry for late response, confirming, i did the same thing and it worked.
Original comment by ar...@stepinmobile.com
on 26 Sep 2012 at 7:08
Original issue reported on code.google.com by
ar...@stepinmobile.com
on 30 Aug 2012 at 3:03Attachments: