50 references to Viewport2DVisual3D
PresentationCore (50)
MS\Internal\Media3D\GeneralTransform2DTo3DTo2D.cs (12)
67internal GeneralTransform2DTo3DTo2D(Viewport2DVisual3D visual3D, Visual fromVisual) 189foundIntersection = Viewport2DVisual3D.GetIntersectionInfo(rayResult, out pointHit); 205result = Viewport2DVisual3D.TextureCoordsToVisualCoords(pointHit, _visualBrushBounds); 236texCoordsOfInterest[i] = Viewport2DVisual3D.VisualCoordsToTextureCoords(visCorners[i], _visualBrushBounds); 1102Point ptOnVisual = Viewport2DVisual3D.TextureCoordsToVisualCoords(closestIntersection, _visualBrushBounds); 1117finalPoint = Viewport2DVisual3D.VisualCoordsToTextureCoords(finalVisualPoint, _visualBrushBounds); 1135Point texCoord = Viewport2DVisual3D.VisualCoordsToTextureCoords(inPoint, _visualBrushBounds); 1140Viewport2DVisual3D.Get3DPointFor2DCoordinate(texCoord, 1172texCoordsOfInterest[0] = Viewport2DVisual3D.VisualCoordsToTextureCoords(rect.TopLeft, _visualBrushBounds); 1173texCoordsOfInterest[1] = Viewport2DVisual3D.VisualCoordsToTextureCoords(rect.TopRight, _visualBrushBounds); 1174texCoordsOfInterest[2] = Viewport2DVisual3D.VisualCoordsToTextureCoords(rect.BottomRight, _visualBrushBounds); 1175texCoordsOfInterest[3] = Viewport2DVisual3D.VisualCoordsToTextureCoords(rect.BottomLeft, _visualBrushBounds);
System\Windows\Media\Visual.cs (5)
1845if (potentialHitTestTarget is Viewport2DVisual3D) 4547Viewport2DVisual3D gAsVisual3D = g as Viewport2DVisual3D; 4667Viewport2DVisual3D containingVisual3D = VisualTreeHelper.GetContainingVisual3D(this) as Viewport2DVisual3D;
System\Windows\Media3D\GeneralTransform2DTo3D.cs (3)
19Viewport2DVisual3D containingVisual3D, 61Point texCoord = Viewport2DVisual3D.VisualCoordsToTextureCoords(final2DPoint, _childBounds); 66if (!Viewport2DVisual3D.Get3DPointFor2DCoordinate(texCoord,
System\Windows\Media3D\RayHitTestParameters.cs (4)
127Viewport2DVisual3D viewport2DVisual3D = result.VisualHit as Viewport2DVisual3D; 135if (Viewport2DVisual3D.GetIntersectionInfo(result, out intersectionPoint)) 138Point visualPoint = Viewport2DVisual3D.TextureCoordsToVisualCoords(intersectionPoint, viewport2DVisual3DChild);
System\Windows\Media3D\Viewport2DVisual3D.cs (26)
273typeof(Viewport2DVisual3D), 301Viewport2DVisual3D viewport2DVisual3D = ((Viewport2DVisual3D)sender); 477if ((Boolean)diffMaterial.GetValue(Viewport2DVisual3D.IsVisualHostMaterialProperty)) 485if ((Boolean)emmMaterial.GetValue(Viewport2DVisual3D.IsVisualHostMaterialProperty)) 493if ((Boolean)specMaterial.GetValue(Viewport2DVisual3D.IsVisualHostMaterialProperty)) 503if ((Boolean)matGroup.GetValue(Viewport2DVisual3D.IsVisualHostMaterialProperty)) 540typeof(Viewport2DVisual3D), 553Viewport2DVisual3D viewport2DVisual3D = ((Viewport2DVisual3D)sender); 662typeof(Viewport2DVisual3D), 677Viewport2DVisual3D viewport2DVisual3D = ((Viewport2DVisual3D)sender); 690typeof(Viewport2DVisual3D), 721typeof(Viewport2DVisual3D), 733Viewport2DVisual3D viewport2DVisual3D = ((Viewport2DVisual3D)sender); 874typeof(Viewport2DVisual3D), 880Viewport2DVisual3D viewport2D = (Viewport2DVisual3D) d; 890typeof(Viewport2DVisual3D), 897Viewport2DVisual3D viewport2D = (Viewport2DVisual3D) d; 907typeof(Viewport2DVisual3D), 913Viewport2DVisual3D viewport2D = (Viewport2DVisual3D) d;