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