Add new loading type fit-size
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 19 Jun 2014 09:47:51 +0000 (18:47 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 19 Jun 2014 09:47:51 +0000 (18:47 +0900)
commit1827f5f0d2074a7abf4a8c77f9b7ef43961e102f
tree2bee0ef4621dda2e8ef3880e22d8d6ffd8a6c526
parent02da66cb18166acdb380e57198a468c007ea9ad6
Add new loading type fit-size

over-size : enlarge the image if it is smaller than part size, and then crop it.
in-size : resize the image to fit it into the part without copping
fit-size : resize the image as possible as its size is similiar with part size, and then crop it.

Change-Id: Ied36f85befd34cd4b21554698fd3a3f8902b8859
src/script_port.c