66 references to Configuration
ReachFramework (66)
AlphaFlattener\BrushProxy.cs (3)
1123cost = Configuration.RasterizationCost( 1133cost = Configuration.RasterizationCost(size.Width, size.Height); 3898step *= Configuration.GradientDecompositionDensity; // Adjust by external supplied density
AlphaFlattener\DrawingContext.cs (13)
265if (steps > Configuration.MaxGradientSteps) // Avoid decomposition if there are too many steps 388if (steps > Configuration.MaxGradientSteps) // Avoid decomposition if there are too many steps 547if (Configuration.Verbose >= 2) 569if (brush.GetBrushDepth() > Configuration.DecompositionDepth) 577_cost = - Configuration.RasterizationCost(bounds.Width, bounds.Height); 604int width = (int) Math.Round(bounds.Width * Configuration.RasterizationDPI / 96); 605int height = (int) Math.Round(bounds.Height * Configuration.RasterizationDPI / 96); 656return 512 + Configuration.RasterizationCost(bounds.Width, bounds.Height); 662return 512 + Configuration.RasterizationCost(Math.Max(bounds.Width, bounds.Height)); 665return 512 + Configuration.RasterizationCost(bounds.Width, bounds.Height); 815if (Configuration.Verbose >= 2) 911if (Configuration.Verbose >= 2) 961if (Configuration.Verbose >= 2)
AlphaFlattener\Flattener.cs (31)
145if (Configuration.BlendAlphaWithWhite || Configuration.ForceAlphaOpaque || 165if (Configuration.Verbose >= 2) 179if (Configuration.Verbose >= 2) 188if (Configuration.Verbose >= 2) 299if (Configuration.BlendAlphaWithWhite || Configuration.ForceAlphaOpaque) 332if (Configuration.Verbose >= 2) 380if (Configuration.Verbose >= 2) 399if (Configuration.Verbose >= 2) 965if (Configuration.Verbose >= 1) 1012if (Configuration.SerializePrimitives) 1102if (overlapHasTransparency > Configuration.MaximumTransparencyLayer) 1208Configuration.RasterizationDPI = 96; 1209Configuration.MaximumTransparencyLayer = 8; 1210Configuration.GradientDecompositionDensity = 0.75; 1211Configuration.DecompositionDepth = 2; 1215Configuration.RasterizationDPI = 150; 1216Configuration.MaximumTransparencyLayer = 12; 1217Configuration.GradientDecompositionDensity = 1; 1218Configuration.DecompositionDepth = 3; 1222Configuration.RasterizationDPI = 300; 1223Configuration.MaximumTransparencyLayer = 16; 1224Configuration.GradientDecompositionDensity = 1.25; 1225Configuration.DecompositionDepth = 4; 1230Configuration.RasterizationDPI = (int)(Math.Max(dcDpi, 300)); 1231Configuration.MaximumTransparencyLayer = 16; 1232Configuration.GradientDecompositionDensity = 1.25; 1233Configuration.DecompositionDepth = 4; 1239if (Configuration.Verbose >= 2) 1275if (Configuration.Verbose >= 2)
AlphaFlattener\MetroDevice.cs (4)
548jobIdentifier = m_GDIExporter.StartDocument(m_PrintQueue.FullName, jobName, Configuration.OutputFile, m_Devmode); 612m_GDIExporter.StartDocumentWithoutCreatingDC(printerName, jobName, Configuration.OutputFile); 648m_GDIExporter.StartPage(GetDevmode(ticket, printTicketXMLStr), Configuration.RasterizationDPI); 652m_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); 305double diff = - Configuration.RasterizationCost(m_bounds.Width, m_bounds.Height); 371diff += Configuration.RasterizationCost(bounds.Width, bounds.Height);
AlphaFlattener\Primitive.cs (2)
874double primitiveRasterizeCost = Configuration.RasterizationCost( 1972return Configuration.RasterizationCost(bounds.Width, bounds.Height);
AlphaFlattener\PrimitiveList.cs (2)
290if (skip && (Configuration.Verbose >= 2)) 365if (Configuration.Verbose >= 2)
AlphaFlattener\Utility.cs (6)
42if (Configuration.Verbose >= 2) 982if (Configuration.Verbose >= 2) 1143if (Configuration.ForceAlphaOpaque) 1867bitmapDpiX = approxWorldBounds.Width / visualBounds.Width * Configuration.RasterizationDPI; 1868bitmapDpiY = approxWorldBounds.Height / visualBounds.Height * Configuration.RasterizationDPI; 2338return Configuration.DisplayPageDebugHeader;
Serialization\VisualTreeFlattener.cs (1)
787testhook |= Microsoft.Internal.AlphaFlattener.Configuration.SetValue(key, e.Value);