divyavamsee / core-plot

Automatically exported from code.google.com/p/core-plot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

CPTImage stretchable image support #525

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
CPTImage does not support strecthable images and I believe it would be a big 
plus if it did.
Currently, CPTImage resizes images completely, not allowing the user to keep 
parts of an image untouched (i.e. corners). 
Even when a CPTImage object is created through a stretchable UIImage, it still 
is no use.

Adding support for stretchable images would be greatly appreciated.

Original issue reported on code.google.com by erenbe...@gmail.com on 16 Apr 2013 at 7:29

GoogleCodeExporter commented 9 years ago

Original comment by eskr...@mac.com on 16 Apr 2013 at 11:10

GoogleCodeExporter commented 9 years ago
I haven't tested it, but CPTImage in the release-2.0 branch may now support 
this (iOS only). Use +imageWithNativeImage: or -initWithNativeImage: to create 
the CPTImage from a stretchable UIImage. We still need to add support on OS X 
and extend the CPTImage API similar to the UIImage syntax so that support for 
stretchable images is explicit and cross-platform.

Original comment by eskr...@mac.com on 8 Jul 2013 at 1:39

GoogleCodeExporter commented 9 years ago

Original comment by eskr...@mac.com on 11 Aug 2013 at 8:24

GoogleCodeExporter commented 9 years ago
Moved to GitHub issue #19.

https://github.com/core-plot/core-plot/issues/19

Original comment by eskr...@mac.com on 30 Dec 2013 at 12:19