What is Base Scale

Report
1000
1000
Desktop
Mobile
1000
1000
Desktop
Mobile
1000
100
1000
100
X2.0
200
Desktop (scale=1.0)
Mobile (scale=2.0)
ELM_SCALE=2.0 elementary_test
X 4.0
X 2.0
X 2.0
40
20
10
Scale
1.0
1
2.0
4.0
2
3
100
200
10
Scale
400
20
40
1.0
2.0
4.0
1
2
3
400
20
4.0
3
400
20
40
2.0
4.0
2
3
Base scale in
Base scale in
edc
collections {
base_scale: 1.8;
…
parts {
part { name: “box”; type: RECT;
min: 100 100;
scale: 1;
…
}
}
…
}
c
int app_create(void *data)
{
…
elm_app_base_scale_set(1.8);
…
}
evas_object_size_hint_min_set(object,
ELM_SCALE_SIZE(100),
ELM_SCALE_SIZE(100));
evas_object_resize(object,
ELM_SCALE_SIZE(50),
ELM_SCALE_SIZE(50));
10
10
20
30%
30%
30%

similar documents