66 references to Configuration
ReachFramework (66)
AlphaFlattener\BrushProxy.cs (3)
1129cost = Configuration.RasterizationCost( 1139cost = Configuration.RasterizationCost(size.Width, size.Height); 3900step *= Configuration.GradientDecompositionDensity; // Adjust by external supplied density
AlphaFlattener\DrawingContext.cs (13)
267if (steps > Configuration.MaxGradientSteps) // Avoid decomposition if there are too many steps 390if (steps > Configuration.MaxGradientSteps) // Avoid decomposition if there are too many steps 549if (Configuration.Verbose >= 2) 571if (brush.GetBrushDepth() > Configuration.DecompositionDepth) 579_cost = - Configuration.RasterizationCost(bounds.Width, bounds.Height); 606int width = (int) Math.Round(bounds.Width * Configuration.RasterizationDPI / 96); 607int height = (int) Math.Round(bounds.Height * Configuration.RasterizationDPI / 96); 658return 512 + Configuration.RasterizationCost(bounds.Width, bounds.Height); 664return 512 + Configuration.RasterizationCost(Math.Max(bounds.Width, bounds.Height)); 667return 512 + Configuration.RasterizationCost(bounds.Width, bounds.Height); 817if (Configuration.Verbose >= 2) 913if (Configuration.Verbose >= 2) 963if (Configuration.Verbose >= 2)
AlphaFlattener\Flattener.cs (31)
150if (Configuration.BlendAlphaWithWhite || Configuration.ForceAlphaOpaque || 170if (Configuration.Verbose >= 2) 187if (Configuration.Verbose >= 2) 196if (Configuration.Verbose >= 2) 307if (Configuration.BlendAlphaWithWhite || Configuration.ForceAlphaOpaque) 340if (Configuration.Verbose >= 2) 391if (Configuration.Verbose >= 2) 410if (Configuration.Verbose >= 2) 971if (Configuration.Verbose >= 1) 1018if (Configuration.SerializePrimitives) 1105if (overlapHasTransparency > Configuration.MaximumTransparencyLayer) 1210Configuration.RasterizationDPI = 96; 1211Configuration.MaximumTransparencyLayer = 8; 1212Configuration.GradientDecompositionDensity = 0.75; 1213Configuration.DecompositionDepth = 2; 1217Configuration.RasterizationDPI = 150; 1218Configuration.MaximumTransparencyLayer = 12; 1219Configuration.GradientDecompositionDensity = 1; 1220Configuration.DecompositionDepth = 3; 1224Configuration.RasterizationDPI = 300; 1225Configuration.MaximumTransparencyLayer = 16; 1226Configuration.GradientDecompositionDensity = 1.25; 1227Configuration.DecompositionDepth = 4; 1232Configuration.RasterizationDPI = (int)(Math.Max(dcDpi, 300)); 1233Configuration.MaximumTransparencyLayer = 16; 1234Configuration.GradientDecompositionDensity = 1.25; 1235Configuration.DecompositionDepth = 4; 1241if (Configuration.Verbose >= 2) 1277if (Configuration.Verbose >= 2)
AlphaFlattener\MetroDevice.cs (4)
552jobIdentifier = m_GDIExporter.StartDocument(m_PrintQueue.FullName, jobName, Configuration.OutputFile, m_Devmode); 616m_GDIExporter.StartDocumentWithoutCreatingDC(printerName, jobName, Configuration.OutputFile); 652m_GDIExporter.StartPage(GetDevmode(ticket, printTicketXMLStr), Configuration.RasterizationDPI); 656m_GDIExporter.StartPage(null, Configuration.RasterizationDPI);
AlphaFlattener\Optimizer.cs (4)
51int width = (int)Math.Round(m_bounds.Width * Configuration.RasterizationDPI / 96); 52int height = (int)Math.Round(m_bounds.Height * Configuration.RasterizationDPI / 96); 308double diff = - Configuration.RasterizationCost(m_bounds.Width, m_bounds.Height); 374diff += Configuration.RasterizationCost(bounds.Width, bounds.Height);
AlphaFlattener\Primitive.cs (2)
875double primitiveRasterizeCost = Configuration.RasterizationCost( 1971return Configuration.RasterizationCost(bounds.Width, bounds.Height);
AlphaFlattener\PrimitiveList.cs (2)
297if (skip && (Configuration.Verbose >= 2)) 372if (Configuration.Verbose >= 2)
AlphaFlattener\Utility.cs (6)
53if (Configuration.Verbose >= 2) 993if (Configuration.Verbose >= 2) 1154if (Configuration.ForceAlphaOpaque) 1877bitmapDpiX = approxWorldBounds.Width / visualBounds.Width * Configuration.RasterizationDPI; 1878bitmapDpiY = approxWorldBounds.Height / visualBounds.Height * Configuration.RasterizationDPI; 2348return Configuration.DisplayPageDebugHeader;
Serialization\VisualTreeFlattener.cs (1)
794testhook |= Microsoft.Internal.AlphaFlattener.Configuration.SetValue(key, e.Value);