1 instantiation of PenContext
PresentationCore (1)
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (1)
203penContext = new PenContext(result.PimcContext,
65 references to PenContext
PresentationCore (65)
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (2)
109internal PenContext PenContext 182PenContext penContext,
System\Windows\Input\Stylus\Common\RawStylusSystemGestureInputReport.cs (1)
146PenContext penContext,
System\Windows\Input\Stylus\Wisp\PenContexts.cs (20)
57foreach(PenContext context in _contexts) 68foreach(PenContext context in _contexts) 91internal void OnPenDown(PenContext penContext, int tabletDeviceId, int stylusPointerId, int[] data, int timestamp) 98internal void OnPenUp(PenContext penContext, int tabletDeviceId, int stylusPointerId, int[] data, int timestamp) 105internal void OnPackets(PenContext penContext, int tabletDeviceId, int stylusPointerId, int[] data, int timestamp) 112internal void OnInAirPackets(PenContext penContext, int tabletDeviceId, int stylusPointerId, int[] data, int timestamp) 119internal void OnPenInRange(PenContext penContext, int tabletDeviceId, int stylusPointerId, int[] data, int timestamp) 126internal void OnPenOutOfRange(PenContext penContext, int tabletDeviceId, int stylusPointerId, int timestamp) 134internal void OnSystemEvent(PenContext penContext, 158PenContext penContext, 176internal PenContext GetTabletDeviceIDPenContext(int tabletDeviceId) 182PenContext context = _contexts[i]; 198PenContext context = _contexts[i]; 229PenContext[] ctxs = new PenContext[_contexts.Length + 1]; 234PenContext newContext = _stylusLogic.TabletDevices[(int)index].As<WispTabletDevice>().CreateContext(_inputSource.CriticalHandle, this); 254PenContext removeCtx = _contexts[index]; 256PenContext[] ctxs = new PenContext[_contexts.Length - 1]; 569PenContext[] _contexts;
System\Windows\Input\Stylus\Wisp\PenThread.cs (2)
63internal bool AddPenContext(PenContext penContext) 68internal bool RemovePenContext(PenContext penContext)
System\Windows\Input\Stylus\Wisp\PenThreadPool.cs (2)
46internal static PenThread GetPenThreadForPenContext(PenContext penContext) 88private PenThread GetPenThreadForPenContextHelper(PenContext penContext)
System\Windows\Input\Stylus\Wisp\PenThreadWorker.cs (25)
60private PenContext _cachedMovePenContext; 421internal WorkerOperationAddContext(PenContext penContext, PenThreadWorker penThreadWorker) 442PenContext _newPenContext; 451internal WorkerOperationRemoveContext(PenContext penContext, PenThreadWorker penThreadWorker) 472PenContext _penContextToRemove; 518internal bool WorkerAddPenContext(PenContext penContext) 545internal bool WorkerRemovePenContext(PenContext penContext) 744bool DoCacheEvent(int evt, PenContext penContext, int stylusPointerId, int [] data, int timestamp) 783internal void FireEvent(PenContext penContext, int evt, int stylusPointerId, int cPackets, int cbPacket, IntPtr pPackets) 1005internal bool AddPenContext(PenContext penContext) 1007List <PenContext> penContextRefs = new List<PenContext>(); // keep them alive while processing! 1017PenContext pc = _penContexts[i].Target as PenContext; 1043PenContext pc = penContextRefs[i]; 1064internal bool RemovePenContext(PenContext penContext) 1066List <PenContext> penContextRefs = new List<PenContext>(); // keep them alive while processing! 1076PenContext pc = _penContexts[i].Target as PenContext; 1097PenContext pc = penContextRefs[i]; 1240PenContext penContext = _penContexts[iHandleEvt].Target as PenContext; 1259PenContext penContext = _penContexts[i].Target as PenContext;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (4)
83internal void ProcessSystemEvent(PenContext penContext, 132PenContext penContext, 347PenContext penContext = rawStylusInputReport.PenContext; 3269internal PenContext GetStylusPenContextForHwnd(PresentationSource presentationSource, int tabletDeviceId)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (4)
149internal PenContext ActivePenContext => _activePenContext; 342PenContext penContext = _stylusLogic.GetStylusPenContextForHwnd(_inputSource, TabletDevice.Id); 1562internal void UpdateInRange(bool inRange, PenContext penContext) 1971private PenContext _activePenContext;
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (2)
194internal PenContext CreateContext(IntPtr hwnd, PenContexts contexts) 196PenContext penContext;
System\Windows\Input\Stylus\Wisp\WispTabletDeviceCollection.cs (3)
661internal PenContext[] CreateContexts(IntPtr hwnd, PenContexts contexts) 665PenContext[] ctxs = new PenContext[c];