66 references to Configuration
ReachFramework (66)
AlphaFlattener\BrushProxy.cs (3)
1125cost = Configuration.RasterizationCost( 1135cost = Configuration.RasterizationCost(size.Width, size.Height); 3896step *= Configuration.GradientDecompositionDensity; // Adjust by external supplied density
AlphaFlattener\DrawingContext.cs (13)
263if (steps > Configuration.MaxGradientSteps) // Avoid decomposition if there are too many steps 386if (steps > Configuration.MaxGradientSteps) // Avoid decomposition if there are too many steps 545if (Configuration.Verbose >= 2) 567if (brush.GetBrushDepth() > Configuration.DecompositionDepth) 575_cost = - Configuration.RasterizationCost(bounds.Width, bounds.Height); 602int width = (int) Math.Round(bounds.Width * Configuration.RasterizationDPI / 96); 603int height = (int) Math.Round(bounds.Height * Configuration.RasterizationDPI / 96); 654return 512 + Configuration.RasterizationCost(bounds.Width, bounds.Height); 660return 512 + Configuration.RasterizationCost(Math.Max(bounds.Width, bounds.Height)); 663return 512 + Configuration.RasterizationCost(bounds.Width, bounds.Height); 813if (Configuration.Verbose >= 2) 909if (Configuration.Verbose >= 2) 959if (Configuration.Verbose >= 2)
AlphaFlattener\Flattener.cs (31)
145if (Configuration.BlendAlphaWithWhite || Configuration.ForceAlphaOpaque || 165if (Configuration.Verbose >= 2) 182if (Configuration.Verbose >= 2) 191if (Configuration.Verbose >= 2) 302if (Configuration.BlendAlphaWithWhite || Configuration.ForceAlphaOpaque) 335if (Configuration.Verbose >= 2) 386if (Configuration.Verbose >= 2) 405if (Configuration.Verbose >= 2) 966if (Configuration.Verbose >= 1) 1013if (Configuration.SerializePrimitives) 1100if (overlapHasTransparency > Configuration.MaximumTransparencyLayer) 1205Configuration.RasterizationDPI = 96; 1206Configuration.MaximumTransparencyLayer = 8; 1207Configuration.GradientDecompositionDensity = 0.75; 1208Configuration.DecompositionDepth = 2; 1212Configuration.RasterizationDPI = 150; 1213Configuration.MaximumTransparencyLayer = 12; 1214Configuration.GradientDecompositionDensity = 1; 1215Configuration.DecompositionDepth = 3; 1219Configuration.RasterizationDPI = 300; 1220Configuration.MaximumTransparencyLayer = 16; 1221Configuration.GradientDecompositionDensity = 1.25; 1222Configuration.DecompositionDepth = 4; 1227Configuration.RasterizationDPI = (int)(Math.Max(dcDpi, 300)); 1228Configuration.MaximumTransparencyLayer = 16; 1229Configuration.GradientDecompositionDensity = 1.25; 1230Configuration.DecompositionDepth = 4; 1236if (Configuration.Verbose >= 2) 1272if (Configuration.Verbose >= 2)
AlphaFlattener\MetroDevice.cs (4)
546jobIdentifier = m_GDIExporter.StartDocument(m_PrintQueue.FullName, jobName, Configuration.OutputFile, m_Devmode); 610m_GDIExporter.StartDocumentWithoutCreatingDC(printerName, jobName, Configuration.OutputFile); 646m_GDIExporter.StartPage(GetDevmode(ticket, printTicketXMLStr), Configuration.RasterizationDPI); 650m_GDIExporter.StartPage(null, Configuration.RasterizationDPI);
AlphaFlattener\Optimizer.cs (4)
47int width = (int)Math.Round(m_bounds.Width * Configuration.RasterizationDPI / 96); 48int height = (int)Math.Round(m_bounds.Height * Configuration.RasterizationDPI / 96); 304double diff = - Configuration.RasterizationCost(m_bounds.Width, m_bounds.Height); 370diff += Configuration.RasterizationCost(bounds.Width, bounds.Height);
AlphaFlattener\Primitive.cs (2)
870double primitiveRasterizeCost = Configuration.RasterizationCost( 1966return Configuration.RasterizationCost(bounds.Width, bounds.Height);
AlphaFlattener\PrimitiveList.cs (2)
292if (skip && (Configuration.Verbose >= 2)) 367if (Configuration.Verbose >= 2)
AlphaFlattener\Utility.cs (6)
42if (Configuration.Verbose >= 2) 982if (Configuration.Verbose >= 2) 1143if (Configuration.ForceAlphaOpaque) 1866bitmapDpiX = approxWorldBounds.Width / visualBounds.Width * Configuration.RasterizationDPI; 1867bitmapDpiY = approxWorldBounds.Height / visualBounds.Height * Configuration.RasterizationDPI; 2337return Configuration.DisplayPageDebugHeader;
Serialization\VisualTreeFlattener.cs (1)
787testhook |= Microsoft.Internal.AlphaFlattener.Configuration.SetValue(key, e.Value);