222 references to SurfaceNames
System.Windows.Forms.DataVisualization (222)
Common\ChartTypes\AreaChart.cs (48)
986 SurfaceNames visibleSurfaces = graph.GetVisibleSurfaces(position,positionZ,depth,matrix); 996 bool topVisible = ( (visibleSurfaces & SurfaceNames.Top) == SurfaceNames.Top ); 997 bool bottomVisible = ( (visibleSurfaces & SurfaceNames.Bottom) == SurfaceNames.Bottom ); 998 visibleSurfaces ^= SurfaceNames.Bottom; 999 visibleSurfaces ^= SurfaceNames.Top; 1002 visibleSurfaces |= SurfaceNames.Bottom; 1006 visibleSurfaces |= SurfaceNames.Top; 1188 SurfaceNames[] surfacesOrder = new SurfaceNames[] {SurfaceNames.Back, SurfaceNames.Bottom, SurfaceNames.Top, SurfaceNames.Left, SurfaceNames.Right, SurfaceNames.Front}; 1190 foreach(SurfaceNames currentSurface in surfacesOrder) 1205 if(currentSurface == SurfaceNames.Front || 1206 elemLayer == 2 && (currentSurface == SurfaceNames.Left || currentSurface == SurfaceNames.Right)) 1213 if(currentSurface == SurfaceNames.Back || 1214 currentSurface != SurfaceNames.Front) 1220 else if(currentSurface != SurfaceNames.Left && currentSurface != SurfaceNames.Right) 1257 currentSurface != SurfaceNames.Top && 1258 currentSurface != SurfaceNames.Bottom) 1267 case(SurfaceNames.Top): 1281 case(SurfaceNames.Bottom): 1309 case(SurfaceNames.Left): 1338 case(SurfaceNames.Right): 1368 case(SurfaceNames.Back): 1383 SurfaceNames thinBorderSides = 0; 1387 thinBorderSides = SurfaceNames.Left | SurfaceNames.Right; 1389 thinBorderSides = SurfaceNames.Left; 1391 thinBorderSides = SurfaceNames.Right; 1402 case(SurfaceNames.Front): 1441 SurfaceNames thinBorderSides = 0; 1445 thinBorderSides = SurfaceNames.Left | SurfaceNames.Right; 1447 thinBorderSides = SurfaceNames.Left; 1449 thinBorderSides = SurfaceNames.Right; 1496 ref SurfaceNames visibleSurfaces) 1499 if( (visibleSurfaces & SurfaceNames.Top) == SurfaceNames.Top) 1501 visibleSurfaces ^= SurfaceNames.Top; 1545 visibleSurfaces |= SurfaceNames.Top;
Common\ChartTypes\KagiChart.cs (3)
880 area, matrix, lightStyle, SurfaceNames.Top, positionZ, depth, lineColor, 898 area, matrix, lightStyle, SurfaceNames.Top, positionZ, depth, lineColor, 924 area, matrix, lightStyle, SurfaceNames.Top, positionZ, depth, lineColor,
Common\ChartTypes\LineChart.cs (1)
1547 SurfaceNames.Top,
Common\ChartTypes\RangeChart.cs (51)
1111 SurfaceNames visibleSurfaces = graph.GetVisibleSurfaces(position,positionZ,depth,matrix); 1120 bool topVisible = ( (visibleSurfaces & SurfaceNames.Top) == SurfaceNames.Top ); 1121 bool bottomVisible = ( (visibleSurfaces & SurfaceNames.Bottom) == SurfaceNames.Bottom ); 1122 visibleSurfaces ^= SurfaceNames.Bottom; 1123 visibleSurfaces ^= SurfaceNames.Top; 1126 visibleSurfaces |= SurfaceNames.Bottom; 1130 visibleSurfaces |= SurfaceNames.Top; 1141 if( (visibleSurfaces & SurfaceNames.Bottom) == SurfaceNames.Bottom ) 1145 if( (visibleSurfaces & SurfaceNames.Bottom) == 0 && 1146 (visibleSurfaces & SurfaceNames.Top) == 0 ) 1152 visibleSurfaces |= SurfaceNames.Bottom; 1153 visibleSurfaces |= SurfaceNames.Top; 1228 SurfaceNames[] surfacesOrder = null; 1230 surfacesOrder = new SurfaceNames[] {SurfaceNames.Back, SurfaceNames.Bottom, SurfaceNames.Top, SurfaceNames.Left, SurfaceNames.Right, SurfaceNames.Front}; 1232 surfacesOrder = new SurfaceNames[] {SurfaceNames.Back, SurfaceNames.Top, SurfaceNames.Bottom, SurfaceNames.Left, SurfaceNames.Right, SurfaceNames.Front}; 1235 foreach(SurfaceNames currentSurface in surfacesOrder) 1268 case(SurfaceNames.Top): 1275 case(SurfaceNames.Bottom): 1298 case(SurfaceNames.Left): 1323 case(SurfaceNames.Right): 1348 case(SurfaceNames.Back): 1371 case(SurfaceNames.Front): 1463 ref SurfaceNames visibleSurfaces) 1469 if( (visibleSurfaces & SurfaceNames.Top) == SurfaceNames.Top) 1471 visibleSurfaces ^= SurfaceNames.Top; 1515 visibleSurfaces |= SurfaceNames.Top; 1529 if( (visibleSurfaces & SurfaceNames.Bottom) == SurfaceNames.Bottom) 1531 visibleSurfaces ^= SurfaceNames.Bottom; 1575 visibleSurfaces |= SurfaceNames.Bottom; 1660 SurfaceNames thinBorderSides = 0; 1663 thinBorderSides = SurfaceNames.Left | SurfaceNames.Right; 1666 return graph.Draw3DPolygon( area, area.matrix3D, SurfaceNames.Front, positionZ, 1711Color polygonColor = area.matrix3D.GetPolygonLight(points3D, backColor, topIsVisible, area.Area3DStyle.Rotation, SurfaceNames.Front, area.ReverseSeriesOrder);
Common\ChartTypes\StackedAreaChart.cs (7)
1213 ref SurfaceNames visibleSurfaces) 1220 if( (visibleSurfaces & SurfaceNames.Top) == SurfaceNames.Top ) 1238 visibleSurfaces ^= SurfaceNames.Top; 1253 if( (visibleSurfaces & SurfaceNames.Bottom) != SurfaceNames.Bottom ) 1266 visibleSurfaces |= SurfaceNames.Bottom;
Common\ChartTypes\StepLineChart.cs (4)
327 area, matrix, lightStyle, SurfaceNames.Top, positionZ, depth, color, 341 area, matrix, lightStyle, SurfaceNames.Top, positionZ, depth, color, 357 area, matrix, lightStyle, SurfaceNames.Top, positionZ, depth, color, 371 area, matrix, lightStyle, SurfaceNames.Top, positionZ, depth, color,
Common\General\Axis.cs (11)
2789SurfaceNames surfName = ChartArea.IsMainSceneWallOnFront() ? SurfaceNames.Front : SurfaceNames.Back; 2790if (ChartArea.ShouldDrawOnSurface(SurfaceNames.Back, backElements, tickMarksOnEdge)) 2814surfName = ChartArea.IsMainSceneWallOnFront() ? SurfaceNames.Back : SurfaceNames.Front; 2844SurfaceNames surfaceName = (this.AxisPosition == AxisPosition.Left || this.AxisPosition == AxisPosition.Right) ? SurfaceNames.Top : SurfaceNames.Left; 2875surfaceName = (this.AxisPosition == AxisPosition.Left || this.AxisPosition == AxisPosition.Right) ? SurfaceNames.Bottom : SurfaceNames.Right;
Common\General\ChartGraphics3D.cs (81)
1189 SurfaceNames surfaceName, 1200 SurfaceNames thinBorders) 1264 if( (thinBorders & SurfaceNames.Left) != 0 ) 1266 if( (thinBorders & SurfaceNames.Right) != 0 ) 1268 if( (thinBorders & SurfaceNames.Top) != 0 ) 1270 if( (thinBorders & SurfaceNames.Bottom) != 0 ) 1531 SurfaceNames surfaceName, 1734 SurfaceNames surfaceName, 2224 SurfaceNames visibleSurfaces = GetVisibleSurfaces(position,positionZ,depth,matrix); 2238 SurfaceNames.Left, 2252 SurfaceNames.Right, 2460 SurfaceNames surfaceName, 2461 SurfaceNames boundaryRectVisibleSurfaces, 2488 if( surfaceName == SurfaceNames.Left ) 2545 if( surfaceName == SurfaceNames.Right ) 2603 if( surfaceName == SurfaceNames.Left && !leftPointVisible) 2614 if( surfaceName == SurfaceNames.Right && !rightPointVisible) 2630 if( surfaceName == SurfaceNames.Top ) 2632 result = ((boundaryRectVisibleSurfaces & SurfaceNames.Top) == SurfaceNames.Top) ? 2 : 1; 2634 if( surfaceName == SurfaceNames.Bottom ) 2636 result = ((boundaryRectVisibleSurfaces & SurfaceNames.Bottom) == SurfaceNames.Bottom) ? 2 : 1; 2643 if( surfaceName == SurfaceNames.Front ) 2645 result = ((boundaryRectVisibleSurfaces & SurfaceNames.Front) == SurfaceNames.Front) ? 2 : 1; 2652 if( surfaceName == SurfaceNames.Back ) 2654 result = ((boundaryRectVisibleSurfaces & SurfaceNames.Back) == SurfaceNames.Back) ? 2 : 1; 2661 if( surfaceName == SurfaceNames.Left ) 2663 result = ((boundaryRectVisibleSurfaces & SurfaceNames.Left) == SurfaceNames.Left) ? 2 : 1; 2670 if( surfaceName == SurfaceNames.Right ) 2672 result = ((boundaryRectVisibleSurfaces & SurfaceNames.Right) == SurfaceNames.Right) ? 2 : 1; 2917 SurfaceNames visibleSurfaces = GetVisibleSurfacesWithPerspective(position,positionZ,depth,matrix); 2929 for(int surfaceIndex = (int)SurfaceNames.Front; surfaceIndex <= (int)SurfaceNames.Bottom; surfaceIndex *= 2) 2931 SurfaceNames currentSurface = (SurfaceNames)surfaceIndex; 2935 if(depth == 0.0 && currentSurface != SurfaceNames.Front) 2939 if(position.Width == 0.0 && currentSurface != SurfaceNames.Left && currentSurface != SurfaceNames.Right) 2943 if(position.Height == 0.0 && currentSurface != SurfaceNames.Top && currentSurface != SurfaceNames.Bottom) 2959 case(SurfaceNames.Front): 2966 case(SurfaceNames.Back): 2973 case(SurfaceNames.Left): 2980 case(SurfaceNames.Right): 2987 case(SurfaceNames.Top): 2994 case(SurfaceNames.Bottom): 3021 if(currentSurface == SurfaceNames.Front && 3675 internal SurfaceNames GetVisibleSurfaces( 3690 SurfaceNames result = SurfaceNames.Front; 3695 result |= SurfaceNames.Right; 3699 result |= SurfaceNames.Left; 3705 result |= SurfaceNames.Top; 3709 result |= SurfaceNames.Bottom; 3724 internal SurfaceNames GetVisibleSurfacesWithPerspective( 3758 internal SurfaceNames GetVisibleSurfacesWithPerspective(Point3D[] cubePoints) 3767 SurfaceNames result = 0; 3772 result |= SurfaceNames.Front; 3777 result |= SurfaceNames.Back; 3783 result |= SurfaceNames.Left; 3789 result |= SurfaceNames.Right; 3795 result |= SurfaceNames.Top; 3801 result |= SurfaceNames.Bottom; 4053 SurfaceNames visibleSurfaces = GetVisibleSurfacesWithPerspective(position,positionZ,depth,matrix); 4056 if( (visibleSurfaces & SurfaceNames.Front) != SurfaceNames.Front) 4058 visibleSurfaces |= SurfaceNames.Front; 4105 for(int surfaceIndex = (int)SurfaceNames.Front; surfaceIndex <= (int)SurfaceNames.Bottom; surfaceIndex *= 2) 4107 SurfaceNames currentSurface = (SurfaceNames)surfaceIndex; 4123 case(SurfaceNames.Front): 4248 case(SurfaceNames.Top): 4255 case(SurfaceNames.Bottom): 4262 case(SurfaceNames.Right): 4269 case(SurfaceNames.Left):
Common\General\GridTickMarks.cs (6)
815 SurfaceNames surfaceName = (wallZPosition == 0f) ? SurfaceNames.Back : SurfaceNames.Front; 886 if(area.ShouldDrawOnSurface(SurfaceNames.Top, backElements, false)) 927 if(area.ShouldDrawOnSurface(SurfaceNames.Left, backElements, false)) 969 if(area.ShouldDrawOnSurface(SurfaceNames.Right, backElements, false))
Common\General\Label.cs (3)
1986!this._axis.ChartArea.ShouldDrawOnSurface(SurfaceNames.Top, backElements, false)) 1991!this._axis.ChartArea.ShouldDrawOnSurface(SurfaceNames.Left, backElements, false)) 1996!this._axis.ChartArea.ShouldDrawOnSurface(SurfaceNames.Right, backElements, false))
Common\General\Matrix3D.cs (7)
1021internal Color GetPolygonLight(Point3D[] points, Color surfaceColor, bool visiblePolygon, float rotation, SurfaceNames surfaceName, bool switchSeriesOrder) 1060 if( surfaceName == SurfaceNames.Left ) 1065 else if( surfaceName == SurfaceNames.Right ) 1070 else if( surfaceName == SurfaceNames.Front ) 1075 else if( surfaceName == SurfaceNames.Back ) 1154 if( surfaceName == SurfaceNames.Front ) 1159 else if( surfaceName == SurfaceNames.Back )