edje: Add dpi feature.
authorJaehwan Kim <jae.hwan.kim@samsung.com>
Thu, 24 Jul 2014 05:50:25 +0000 (14:50 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 24 Jul 2014 05:50:25 +0000 (14:50 +0900)
commit7e5d2606cc8e6aad5e7732235a2d1407ce7a3382
tree0fb63cbd65cb75fb0569ecc010ecdebd88c1b0e7
parent0c3487cd3d619353b4e296d7b657fceea083fee6
edje: Add dpi feature.

Summary:
This dpi is used to get the scale for each collection.
If each collection has a described dpi, it calculates a proper scale
based on the dpi and dpi which is described in the collection.

@feature

Test Plan:
If add dpi to collection of edc, the edje will save the value as the dpi of the collection.
For example, if the dpi of your device is 100, you just set dpi: 100 in the collection of edc.
If the edj is loaded in another device(dpi is 200), it will scaled 2 times.
It is possible that the described dpi of application and theme are different.
In that case, application and theme have a different scale.
It makes the edj that made in different environment works in one device.

Reviewers: seoz, zmike, JackDanielZ, Hermet, woohyun, cedric, raster

Reviewed By: raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1190
src/bin/edje/edje_cc.c
src/bin/edje/edje_cc_handlers.c
src/lib/edje/edje_cache.c
src/lib/edje/edje_calc.c
src/lib/edje/edje_data.c
src/lib/edje/edje_entry.c
src/lib/edje/edje_private.h
src/lib/edje/edje_text.c