50 references to Viewport2DVisual3D
PresentationCore (50)
MS\Internal\Media3D\GeneralTransform2DTo3DTo2D.cs (12)
83
internal GeneralTransform2DTo3DTo2D(
Viewport2DVisual3D
visual3D, Visual fromVisual)
203
foundIntersection =
Viewport2DVisual3D
.GetIntersectionInfo(rayResult, out pointHit);
219
result =
Viewport2DVisual3D
.TextureCoordsToVisualCoords(pointHit, _visualBrushBounds);
250
texCoordsOfInterest[i] =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(visCorners[i], _visualBrushBounds);
1116
Point ptOnVisual =
Viewport2DVisual3D
.TextureCoordsToVisualCoords(closestIntersection, _visualBrushBounds);
1131
finalPoint =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(finalVisualPoint, _visualBrushBounds);
1149
Point texCoord =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(inPoint, _visualBrushBounds);
1154
Viewport2DVisual3D
.Get3DPointFor2DCoordinate(texCoord,
1186
texCoordsOfInterest[0] =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(rect.TopLeft, _visualBrushBounds);
1187
texCoordsOfInterest[1] =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(rect.TopRight, _visualBrushBounds);
1188
texCoordsOfInterest[2] =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(rect.BottomRight, _visualBrushBounds);
1189
texCoordsOfInterest[3] =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(rect.BottomLeft, _visualBrushBounds);
System\Windows\Media\Visual.cs (5)
1861
if (potentialHitTestTarget is
Viewport2DVisual3D
)
4563
Viewport2DVisual3D
gAsVisual3D = g as
Viewport2DVisual3D
;
4683
Viewport2DVisual3D
containingVisual3D = VisualTreeHelper.GetContainingVisual3D(this) as
Viewport2DVisual3D
;
System\Windows\Media3D\GeneralTransform2DTo3D.cs (3)
30
Viewport2DVisual3D
containingVisual3D,
72
Point texCoord =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(final2DPoint, _childBounds);
77
if (!
Viewport2DVisual3D
.Get3DPointFor2DCoordinate(texCoord,
System\Windows\Media3D\RayHitTestParameters.cs (4)
132
Viewport2DVisual3D
viewport2DVisual3D = result.VisualHit as
Viewport2DVisual3D
;
140
if (
Viewport2DVisual3D
.GetIntersectionInfo(result, out intersectionPoint))
143
Point visualPoint =
Viewport2DVisual3D
.TextureCoordsToVisualCoords(intersectionPoint, viewport2DVisual3DChild);
System\Windows\Media3D\Viewport2DVisual3D.cs (26)
288
typeof(
Viewport2DVisual3D
),
316
Viewport2DVisual3D
viewport2DVisual3D = ((
Viewport2DVisual3D
)sender);
491
if ((Boolean)diffMaterial.GetValue(
Viewport2DVisual3D
.IsVisualHostMaterialProperty))
500
if ((Boolean)emmMaterial.GetValue(
Viewport2DVisual3D
.IsVisualHostMaterialProperty))
509
if ((Boolean)specMaterial.GetValue(
Viewport2DVisual3D
.IsVisualHostMaterialProperty))
520
if ((Boolean)matGroup.GetValue(
Viewport2DVisual3D
.IsVisualHostMaterialProperty))
557
typeof(
Viewport2DVisual3D
),
570
Viewport2DVisual3D
viewport2DVisual3D = ((
Viewport2DVisual3D
)sender);
679
typeof(
Viewport2DVisual3D
),
694
Viewport2DVisual3D
viewport2DVisual3D = ((
Viewport2DVisual3D
)sender);
707
typeof(
Viewport2DVisual3D
),
738
typeof(
Viewport2DVisual3D
),
750
Viewport2DVisual3D
viewport2DVisual3D = ((
Viewport2DVisual3D
)sender);
891
typeof(
Viewport2DVisual3D
),
897
Viewport2DVisual3D
viewport2D = (
Viewport2DVisual3D
) d;
907
typeof(
Viewport2DVisual3D
),
914
Viewport2DVisual3D
viewport2D = (
Viewport2DVisual3D
) d;
924
typeof(
Viewport2DVisual3D
),
930
Viewport2DVisual3D
viewport2D = (
Viewport2DVisual3D
) d;