public StylusSyncPluginImpl(UnoGLControl form, TouchEventAdapter touch, float dpiX, float dpiY) { _form = form; _touch = touch; _dpiX = dpiX; _dpiY = dpiY; }
public TouchEventAdapter(UnoGLControl form) { var graphics = form.CreateGraphics(); StylusSyncPlugin = new StylusSyncPluginImpl(form, this, graphics.DpiX, graphics.DpiY); var stylus = new RealTimeStylus(form); stylus.MultiTouchEnabled = true; stylus.SyncPluginCollection.Add(StylusSyncPlugin); stylus.Enabled = true; }
public WinFormsPlatformWindow(UnoGLControl control) { _control = control; }
public WinFormsGraphicsContext(UnoGLControl control) { _control = control; }