Home
last modified time | relevance | path

Searched refs:torect (Results 1 – 2 of 2) sorted by relevance

/dports/games/exult/exult-snapshot-v1.7.0.20211128/objs/
H A Dobjs.cc317 TileRect torect = o2->get_footprint(); in get_facing_direction() local
318 if (torect.x + torect.w <= t1.tx && in get_facing_direction()
319 t1.ty >= torect.y && t1.ty < torect.y + torect.h) in get_facing_direction()
321 else if (t1.tx < torect.x && in get_facing_direction()
322 t1.ty >= torect.y && t1.ty < torect.y + torect.h) in get_facing_direction()
324 else if (torect.y + torect.h <= t1.ty && in get_facing_direction()
325 t1.tx >= torect.x && t1.tx < torect.w + torect.h) in get_facing_direction()
327 else if (t1.ty < torect.y && in get_facing_direction()
328 t1.tx >= torect.x && t1.tx < torect.w + torect.h) in get_facing_direction()
/dports/x11-clocks/xdaliclock/xdaliclock-2.44/OSX/
H A DDaliClockView.m829 NSRect torect;
899 torect.size.width *= 0.9;
900 torect.size.height *= 0.9;
904 torect.origin.x = (framerect.size.width - torect.size.width ) / 2;
905 torect.origin.y = (framerect.size.height - torect.size.height) / 2;
909 if (torect.origin.x < 0) {
910 float r = ((torect.size.width + torect.origin.x) / torect.size.width);
911 torect.size.width *= r;
912 torect.size.height *= r;
913 torect.origin.x = (framerect.size.width - torect.size.width ) / 2;
[all …]