forked from enlightenment/efl
Before it was using a linear search with initial step proportional to difference bettwen desired and current height, but the way it was implemented it was giving incorrect values, for example: a text in an animation that enlarges height was getting size_{n} < size_{n-1}, where it should be always the oposite (the sequence was like: 31, 32, 33, 34, 31, 33, 34, 35, ...). One way to avoid that was to recalculate "dif" based on new "th", but it quickly drop to 1. The current implementation now uses a binary search to find the first size that matches the desired height and then a linear search to search the largest font doing that (differents sizes may result in the same height). This linear search is often an extra lookup and can be avoided if we want just something that fits (instead of the largest). SVN revision: 32146 |
||
---|---|---|
.. | ||
data | ||
debian | ||
doc | ||
src | ||
.cvsignore | ||
AUTHORS | ||
COPYING | ||
COPYING-PLAIN | ||
ChangeLog | ||
Doxyfile | ||
INSTALL | ||
Makefile.am | ||
NEWS | ||
README | ||
autogen.sh | ||
configure.in | ||
edje.c.in | ||
edje.pc.in | ||
edje.spec.in | ||
edje.supp | ||
gendoc |
README
Edje 0.5.0 A graphical layout and animation library for animated resizable, compressed and scalable themes. It's current under development and isn't complete. See src/lib/edje_private.h for a list of FIXME's to do. Hopefully it will be complete in a few weeks. Quick start-up guide: 1. You need eet from the HEAD cvs branch (must be up-to-date) cvs co e17/libs/eet cd e17/libs/eet ./autogen.sh ./configure make sudo make install cd 2. You need evas from the HEAD branch built with eet loader support. cvs co e17/libs/evas cd e17/libs/evas ./autogen.sh ./configure make sudo make install cd 3. You need ecore from the HEAD cvs branch cvs co e17/libs/ecore cd e17/libs/ecore ./autogen.sh ./configure make sudo make install cd 4. You need embryo from the HEAD cvs branch cvs co e17/libs/embryo cd e17/libs/embryo ./autogen.sh ./configure make sudo make install cd 5. You already have Edje. now build it: ./autogen.sh make sudo make install You now want to go test it out. first you'll need to make an Edje EET file. cd data ./e_logo.sh Now you can view the Edje you just built: edje ./e_logo.edj You can view multiple files at once with the Edje test program: edje ./e_logo.edj ./e_logo.edj ./e_logo.edj to view the same one 3 times. You can read the source file that builds the Edje EET file by looking at: data/src/e_logo.edc Another test file is also there: data/src/test.edc The test file doesn't build anything useful at the moment.