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