Chinaunix首页 | 论坛 | 博客
  • 博客访问: 381236
  • 博文数量: 69
  • 博客积分: 1992
  • 博客等级: 上尉
  • 技术积分: 1162
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-03 19:50
文章分类
文章存档

2015年(1)

2011年(55)

2010年(13)

分类: LINUX

2011-05-31 22:20:15

 Edje_ Edje Library Documentation.pdf   

Just pay attention and understand what rel2 { relative: 1.0 1.0; offset: -1 -1; } means. Let's take Edje object coordinate to be 800x480, then relative: 1.0 1.0;would mean point (800,480), but since we count from 0, we need to subtract one to get the correct point, that's why we have offset: -1 -1;, resulting in the point (799,479).

Note that pulser is aligned to the center by defining both rel1 and rel2 relative to be 0.5 0.5, the object size is defined in pixels by offset, with sizes being 128x128 (with offset: -64 -64; and offset: 63 63;) and 192x192 (offset: -96 -96; and offset: 95 95;).

Pay attention to fit: 1 1, this makes the text size be recalculated to fit the specified box from rel1 to rel2.

再来一本EDC好书

阅读(1017) | 评论(0) | 转发(0) |
0

上一篇:EFL相关资源链接网址

下一篇:c++

给主人留下些什么吧!~~