Magnify creates and sends a [TouchMagnify] event with the given values.
(scaleFactor float32, where image.Point)
| 163 | |
| 164 | // Magnify creates and sends a [TouchMagnify] event with the given values. |
| 165 | func (es *Source) Magnify(scaleFactor float32, where image.Point) { |
| 166 | ev := NewMagnify(scaleFactor, where) |
| 167 | ev.Init() |
| 168 | es.Deque.Send(ev) |
| 169 | } |
| 170 | |
| 171 | // func (es *Source) DND(act dnd.Actions, where image.Point, data mimedata.Mimes) { |
| 172 | // ev := dnd.NewEvent(act, where, em.Last.Mods) |
no test coverage detected