summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5ebe759)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@63513
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
{
ELM_CHECK_WIDTYPE(data, widtype);
Widget_Data *wd = elm_widget_data_get(data);
{
ELM_CHECK_WIDTYPE(data, widtype);
Widget_Data *wd = elm_widget_data_get(data);
if ((!wd->pinch.cx) && (!wd->pinch.cy))
{
wd->pinch.cx = wd->rotate.cx;
if ((!wd->pinch.cx) && (!wd->pinch.cy))
{
wd->pinch.cx = wd->rotate.cx;
}
evas_map_util_points_populate_from_object_full(wd->map, obj, 0);
}
evas_map_util_points_populate_from_object_full(wd->map, obj, 0);
evas_object_image_size_get(obj, &iw, &ih);
evas_object_geometry_get(obj, NULL, NULL, &ow, &oh);
evas_object_image_size_get(obj, &iw, &ih);
evas_object_geometry_get(obj, NULL, NULL, &ow, &oh);
- if (ow < iw || oh < ih)
+ if ((ow < iw) || (oh < ih))
{
ow *= (double)iw / ow;
oh *= (double)ih / oh;
{
ow *= (double)iw / ow;
oh *= (double)ih / oh;