| 103 | } |
| 104 | |
| 105 | Value TouchEvents::makePinchEvent(Valdi::TouchEventState state, |
| 106 | double x, |
| 107 | double y, |
| 108 | double absoluteX, |
| 109 | double absoluteY, |
| 110 | double scale, |
| 111 | int pointerCount, |
| 112 | Valdi::TouchEvents::PointerLocations& pointerLocations) { |
| 113 | static auto scaleKey = STRING_LITERAL("scale"); |
| 114 | |
| 115 | auto map = makeShared<ValueMap>(); |
| 116 | fillEvent(*map, state, x, y, absoluteX, absoluteY); |
| 117 | fillPointerData(*map, pointerCount, pointerLocations); |
| 118 | (*map)[scaleKey] = Value(scale); |
| 119 | |
| 120 | return Value(map); |
| 121 | } |
| 122 | |
| 123 | Value TouchEvents::makeRotationEvent(Valdi::TouchEventState state, |
| 124 | double x, |
nothing calls this directly
no test coverage detected