50 references to Viewport2DVisual3D
PresentationCore (50)
Core\CSharp\MS\Internal\Media3D\GeneralTransform2Dto3Dto2D.cs (12)
82
internal GeneralTransform2DTo3DTo2D(
Viewport2DVisual3D
visual3D, Visual fromVisual)
202
foundIntersection =
Viewport2DVisual3D
.GetIntersectionInfo(rayResult, out pointHit);
218
result =
Viewport2DVisual3D
.TextureCoordsToVisualCoords(pointHit, _visualBrushBounds);
249
texCoordsOfInterest[i] =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(visCorners[i], _visualBrushBounds);
1115
Point ptOnVisual =
Viewport2DVisual3D
.TextureCoordsToVisualCoords(closestIntersection, _visualBrushBounds);
1130
finalPoint =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(finalVisualPoint, _visualBrushBounds);
1148
Point texCoord =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(inPoint, _visualBrushBounds);
1153
Viewport2DVisual3D
.Get3DPointFor2DCoordinate(texCoord,
1185
texCoordsOfInterest[0] =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(rect.TopLeft, _visualBrushBounds);
1186
texCoordsOfInterest[1] =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(rect.TopRight, _visualBrushBounds);
1187
texCoordsOfInterest[2] =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(rect.BottomRight, _visualBrushBounds);
1188
texCoordsOfInterest[3] =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(rect.BottomLeft, _visualBrushBounds);
Core\CSharp\System\Windows\Media\Visual.cs (5)
1874
if (potentialHitTestTarget is
Viewport2DVisual3D
)
4609
Viewport2DVisual3D
gAsVisual3D = g as
Viewport2DVisual3D
;
4729
Viewport2DVisual3D
containingVisual3D = VisualTreeHelper.GetContainingVisual3D(this) as
Viewport2DVisual3D
;
Core\CSharp\System\Windows\Media3D\GeneralTransform2DTo3D.cs (3)
32
Viewport2DVisual3D
containingVisual3D,
74
Point texCoord =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(final2DPoint, _childBounds);
79
if (!
Viewport2DVisual3D
.Get3DPointFor2DCoordinate(texCoord,
Core\CSharp\System\Windows\Media3D\RayHitTestParameters.cs (4)
135
Viewport2DVisual3D
viewport2DVisual3D = result.VisualHit as
Viewport2DVisual3D
;
143
if (
Viewport2DVisual3D
.GetIntersectionInfo(result, out intersectionPoint))
146
Point visualPoint =
Viewport2DVisual3D
.TextureCoordsToVisualCoords(intersectionPoint, viewport2DVisual3DChild);
Core\CSharp\System\Windows\Media3D\Viewport2DVisual3D.cs (26)
297
typeof(
Viewport2DVisual3D
),
325
Viewport2DVisual3D
viewport2DVisual3D = ((
Viewport2DVisual3D
)sender);
500
if ((Boolean)diffMaterial.GetValue(
Viewport2DVisual3D
.IsVisualHostMaterialProperty))
509
if ((Boolean)emmMaterial.GetValue(
Viewport2DVisual3D
.IsVisualHostMaterialProperty))
518
if ((Boolean)specMaterial.GetValue(
Viewport2DVisual3D
.IsVisualHostMaterialProperty))
529
if ((Boolean)matGroup.GetValue(
Viewport2DVisual3D
.IsVisualHostMaterialProperty))
566
typeof(
Viewport2DVisual3D
),
579
Viewport2DVisual3D
viewport2DVisual3D = ((
Viewport2DVisual3D
)sender);
688
typeof(
Viewport2DVisual3D
),
703
Viewport2DVisual3D
viewport2DVisual3D = ((
Viewport2DVisual3D
)sender);
716
typeof(
Viewport2DVisual3D
),
748
typeof(
Viewport2DVisual3D
),
760
Viewport2DVisual3D
viewport2DVisual3D = ((
Viewport2DVisual3D
)sender);
901
typeof(
Viewport2DVisual3D
),
907
Viewport2DVisual3D
viewport2D = (
Viewport2DVisual3D
) d;
917
typeof(
Viewport2DVisual3D
),
924
Viewport2DVisual3D
viewport2D = (
Viewport2DVisual3D
) d;
934
typeof(
Viewport2DVisual3D
),
940
Viewport2DVisual3D
viewport2D = (
Viewport2DVisual3D
) d;