1 instantiation of PenContext
PresentationCore (1)
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (1)
194penContext = new PenContext(result.PimcContext,
65 references to PenContext
PresentationCore (65)
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (2)
99internal PenContext PenContext 172PenContext penContext,
System\Windows\Input\Stylus\Common\RawStylusSystemGestureInputReport.cs (1)
142PenContext penContext,
System\Windows\Input\Stylus\Wisp\PenContexts.cs (20)
35foreach(PenContext context in _contexts) 46foreach(PenContext context in _contexts) 69internal void OnPenDown(PenContext penContext, int tabletDeviceId, int stylusPointerId, int[] data, int timestamp) 76internal void OnPenUp(PenContext penContext, int tabletDeviceId, int stylusPointerId, int[] data, int timestamp) 83internal void OnPackets(PenContext penContext, int tabletDeviceId, int stylusPointerId, int[] data, int timestamp) 90internal void OnInAirPackets(PenContext penContext, int tabletDeviceId, int stylusPointerId, int[] data, int timestamp) 97internal void OnPenInRange(PenContext penContext, int tabletDeviceId, int stylusPointerId, int[] data, int timestamp) 104internal void OnPenOutOfRange(PenContext penContext, int tabletDeviceId, int stylusPointerId, int timestamp) 112internal void OnSystemEvent(PenContext penContext, 136PenContext penContext, 154internal PenContext GetTabletDeviceIDPenContext(int tabletDeviceId) 160PenContext context = _contexts[i]; 176PenContext context = _contexts[i]; 207PenContext[] ctxs = new PenContext[_contexts.Length + 1]; 212PenContext newContext = _stylusLogic.TabletDevices[(int)index].As<WispTabletDevice>().CreateContext(_inputSource.Handle, this); 232PenContext removeCtx = _contexts[index]; 234PenContext[] ctxs = new PenContext[_contexts.Length - 1]; 547PenContext[] _contexts;
System\Windows\Input\Stylus\Wisp\PenThread.cs (2)
51internal bool AddPenContext(PenContext penContext) 56internal bool RemovePenContext(PenContext penContext)
System\Windows\Input\Stylus\Wisp\PenThreadPool.cs (2)
38internal static PenThread GetPenThreadForPenContext(PenContext penContext) 80private PenThread GetPenThreadForPenContextHelper(PenContext penContext)
System\Windows\Input\Stylus\Wisp\PenThreadWorker.cs (25)
48private PenContext _cachedMovePenContext; 409internal WorkerOperationAddContext(PenContext penContext, PenThreadWorker penThreadWorker) 430PenContext _newPenContext; 439internal WorkerOperationRemoveContext(PenContext penContext, PenThreadWorker penThreadWorker) 460PenContext _penContextToRemove; 506internal bool WorkerAddPenContext(PenContext penContext) 533internal bool WorkerRemovePenContext(PenContext penContext) 732bool DoCacheEvent(int evt, PenContext penContext, int stylusPointerId, int [] data, int timestamp) 771internal void FireEvent(PenContext penContext, int evt, int stylusPointerId, int cPackets, int cbPacket, IntPtr pPackets) 993internal bool AddPenContext(PenContext penContext) 995List <PenContext> penContextRefs = new List<PenContext>(); // keep them alive while processing! 1005PenContext pc = _penContexts[i].Target as PenContext; 1031PenContext pc = penContextRefs[i]; 1052internal bool RemovePenContext(PenContext penContext) 1054List <PenContext> penContextRefs = new List<PenContext>(); // keep them alive while processing! 1064PenContext pc = _penContexts[i].Target as PenContext; 1085PenContext pc = penContextRefs[i]; 1228PenContext penContext = _penContexts[iHandleEvt].Target as PenContext; 1247PenContext penContext = _penContexts[i].Target as PenContext;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (4)
74internal void ProcessSystemEvent(PenContext penContext, 123PenContext penContext, 338PenContext penContext = rawStylusInputReport.PenContext; 3260internal PenContext GetStylusPenContextForHwnd(PresentationSource presentationSource, int tabletDeviceId)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (4)
146internal PenContext ActivePenContext => _activePenContext; 339PenContext penContext = _stylusLogic.GetStylusPenContextForHwnd(_inputSource, TabletDevice.Id); 1559internal void UpdateInRange(bool inRange, PenContext penContext) 1968private PenContext _activePenContext;
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (2)
185internal PenContext CreateContext(IntPtr hwnd, PenContexts contexts) 187PenContext penContext;
System\Windows\Input\Stylus\Wisp\WispTabletDeviceCollection.cs (3)
655internal PenContext[] CreateContexts(IntPtr hwnd, PenContexts contexts) 659PenContext[] ctxs = new PenContext[c];