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