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