internal static string ReportCapabilities()
 {
     using (var surface = new Win32VtkRenderingSurface(IntPtr.Zero, true))
     {
         return(surface._vtkRenderWindow.ReportCapabilities());
     }
 }
Пример #2
0
        /// <summary>
        /// Gets diagnostic information regarding the system graphics support.
        /// </summary>
        public static string GetDiagnosticInfo()
        {
            var sb = new StringBuilder();

            using (var sr = new StringReader(Win32VtkRenderingSurface.ReportCapabilities()))
            {
                // we do this to normalize the line endings
                string line;
                while ((line = sr.ReadLine()) != null)
                {
                    sb.AppendLine(line);
                }
            }
            return(sb.ToString());
        }
		internal static string ReportCapabilities()
		{
			using (var surface = new Win32VtkRenderingSurface(IntPtr.Zero, true))
			{
				return surface._vtkRenderWindow.ReportCapabilities();
			}
		}