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