44 references to Transform
PresentationCore (11)
Core\CSharp\MS\Internal\Ink\StylusShape.cs (1)
321
controlPoints[i] = transform.
Transform
(controlPoints[i]);
Core\CSharp\System\Windows\Ink\Stroke2.cs (2)
731
Point w = originalDa.StylusTipTransform.
Transform
(new Point(originalDa.Width, 0));
732
Point h = originalDa.StylusTipTransform.
Transform
(new Point(0, originalDa.Height));
Core\CSharp\System\Windows\Input\InputElement.cs (2)
287
ptTranslated = mUp.
Transform
(ptTranslated);
358
ptTranslated = mDown.
Transform
(ptTranslated);
Core\CSharp\System\Windows\Interop\HwndSource.cs (2)
1019
return _hwndTarget.TransformToDevice.
Transform
(pt);
1029
return _hwndTarget.TransformFromDevice.
Transform
(pt);
Core\CSharp\System\Windows\Media\Transform.cs (1)
143
result = m.
Transform
(inPoint);
Shared\MS\Internal\PointUtil.cs (3)
52
point = presentationSource.CompositionTarget.TransformFromDevice.
Transform
(point);
85
point = presentationSource.CompositionTarget.TransformToDevice.
Transform
(point);
139
point = m.
Transform
(point);
PresentationFramework (27)
src\Framework\System\Windows\Controls\Primitives\Popup.cs (4)
2133
childBounds = new Rect((Size)_secHelper.GetTransformToDevice().
Transform
((Point)_popupRoot.Value.RenderSize));
2635
desiredSize = (Size)_secHelper.GetTransformToDevice().
Transform
((Point)desiredSize);
2647
desiredSize = (Size)_secHelper.GetTransformFromDevice().
Transform
((Point)desiredSize);
3109
pt = transform.
Transform
(pt);
src\Framework\System\windows\Documents\CaretElement.cs (2)
1006
double deviceHeight = source.CompositionTarget.TransformToDevice.
Transform
(new Point(0, _height)).Y;
1113
win32CaretPoint = source.CompositionTarget.TransformToDevice.
Transform
(win32CaretPoint);
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (2)
855
startP = transform.
Transform
(startP);
856
endP = transform.
Transform
(endP);
src\Framework\System\Windows\Documents\ImmComposition.cs (6)
781
milPointTopLeft = compositionTarget.TransformToDevice.
Transform
(milPointTopLeft);
782
milPointBottomRight = compositionTarget.TransformToDevice.
Transform
(milPointBottomRight);
783
milPointCaret = compositionTarget.TransformToDevice.
Transform
(milPointCaret);
906
milPointTopLeft = compositionTarget.TransformToDevice.
Transform
(milPointTopLeft);
907
milPointBottomRight = compositionTarget.TransformToDevice.
Transform
(milPointBottomRight);
908
milPointCaret = compositionTarget.TransformToDevice.
Transform
(milPointCaret);
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (2)
337
minPoint = compositionTarget.TransformFromDevice.
Transform
(minPoint);
338
maxPoint = compositionTarget.TransformFromDevice.
Transform
(maxPoint);
src\Framework\System\Windows\Documents\TextStore.cs (3)
828
milPoint = compositionTarget.TransformFromDevice.
Transform
(milPoint);
2506
milPointTopLeft = compositionTarget.TransformToDevice.
Transform
(milPointTopLeft);
2507
milPointBottomRight = compositionTarget.TransformToDevice.
Transform
(milPointBottomRight);
src\Framework\System\Windows\Interop\HwndHost.cs (2)
1295
ptUpperLeft = source.CompositionTarget.TransformFromDevice.
Transform
(ptUpperLeft);
1296
ptLowerRight = source.CompositionTarget.TransformFromDevice.
Transform
(ptLowerRight);
src\Framework\System\Windows\Standard\DpiHelper.cs (2)
28
return _transformToDevice.
Transform
(logicalPoint);
40
return _transformToDip.
Transform
(devicePoint);
src\Framework\System\Windows\Window.cs (4)
2187
Point ptLogicalUnits = _swh.CompositionTarget.TransformFromDevice.
Transform
(ptDeviceUnits);
2199
Point ptDeviceUnits = _swh.CompositionTarget.TransformToDevice.
Transform
(ptLogicalUnits);
8101
pt = _sourceWindow.CompositionTarget.TransformFromDevice.
Transform
(pt);
8129
pt = _sourceWindow.CompositionTarget.TransformFromDevice.
Transform
(pt);
WindowsBase (6)
Base\System\Windows\Point.cs (2)
136
return matrix.
Transform
(point);
144
return matrix.
Transform
(point);
Shared\MS\Internal\MatrixUtil.cs (4)
107
Point point0 = matrix.
Transform
(rect.TopLeft);
108
Point point1 = matrix.
Transform
(rect.TopRight);
109
Point point2 = matrix.
Transform
(rect.BottomRight);
110
Point point3 = matrix.
Transform
(rect.BottomLeft);