66 references to Configuration
ReachFramework (66)
AlphaFlattener\BrushProxy.cs (3)
1122
cost =
Configuration
.RasterizationCost(
1132
cost =
Configuration
.RasterizationCost(size.Width, size.Height);
3897
step *=
Configuration
.GradientDecompositionDensity; // Adjust by external supplied density
AlphaFlattener\DrawingContext.cs (13)
264
if (steps >
Configuration
.MaxGradientSteps) // Avoid decomposition if there are too many steps
387
if (steps >
Configuration
.MaxGradientSteps) // Avoid decomposition if there are too many steps
546
if (
Configuration
.Verbose >= 2)
568
if (brush.GetBrushDepth() >
Configuration
.DecompositionDepth)
576
_cost = -
Configuration
.RasterizationCost(bounds.Width, bounds.Height);
603
int width = (int) Math.Round(bounds.Width *
Configuration
.RasterizationDPI / 96);
604
int height = (int) Math.Round(bounds.Height *
Configuration
.RasterizationDPI / 96);
655
return 512 +
Configuration
.RasterizationCost(bounds.Width, bounds.Height);
661
return 512 +
Configuration
.RasterizationCost(Math.Max(bounds.Width, bounds.Height));
664
return 512 +
Configuration
.RasterizationCost(bounds.Width, bounds.Height);
814
if (
Configuration
.Verbose >= 2)
910
if (
Configuration
.Verbose >= 2)
960
if (
Configuration
.Verbose >= 2)
AlphaFlattener\Flattener.cs (31)
144
if (
Configuration
.BlendAlphaWithWhite ||
Configuration
.ForceAlphaOpaque ||
164
if (
Configuration
.Verbose >= 2)
178
if (
Configuration
.Verbose >= 2)
187
if (
Configuration
.Verbose >= 2)
298
if (
Configuration
.BlendAlphaWithWhite ||
Configuration
.ForceAlphaOpaque)
331
if (
Configuration
.Verbose >= 2)
379
if (
Configuration
.Verbose >= 2)
398
if (
Configuration
.Verbose >= 2)
964
if (
Configuration
.Verbose >= 1)
1011
if (
Configuration
.SerializePrimitives)
1101
if (overlapHasTransparency >
Configuration
.MaximumTransparencyLayer)
1207
Configuration
.RasterizationDPI = 96;
1208
Configuration
.MaximumTransparencyLayer = 8;
1209
Configuration
.GradientDecompositionDensity = 0.75;
1210
Configuration
.DecompositionDepth = 2;
1214
Configuration
.RasterizationDPI = 150;
1215
Configuration
.MaximumTransparencyLayer = 12;
1216
Configuration
.GradientDecompositionDensity = 1;
1217
Configuration
.DecompositionDepth = 3;
1221
Configuration
.RasterizationDPI = 300;
1222
Configuration
.MaximumTransparencyLayer = 16;
1223
Configuration
.GradientDecompositionDensity = 1.25;
1224
Configuration
.DecompositionDepth = 4;
1229
Configuration
.RasterizationDPI = (int)(Math.Max(dcDpi, 300));
1230
Configuration
.MaximumTransparencyLayer = 16;
1231
Configuration
.GradientDecompositionDensity = 1.25;
1232
Configuration
.DecompositionDepth = 4;
1238
if (
Configuration
.Verbose >= 2)
1274
if (
Configuration
.Verbose >= 2)
AlphaFlattener\MetroDevice.cs (4)
547
jobIdentifier = m_GDIExporter.StartDocument(m_PrintQueue.FullName, jobName,
Configuration
.OutputFile, m_Devmode);
611
m_GDIExporter.StartDocumentWithoutCreatingDC(printerName, jobName,
Configuration
.OutputFile);
647
m_GDIExporter.StartPage(GetDevmode(ticket, printTicketXMLStr),
Configuration
.RasterizationDPI);
651
m_GDIExporter.StartPage(null,
Configuration
.RasterizationDPI);
AlphaFlattener\Optimizer.cs (4)
46
int width = (int)Math.Round(m_bounds.Width *
Configuration
.RasterizationDPI / 96);
47
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)
873
double primitiveRasterizeCost =
Configuration
.RasterizationCost(
1971
return
Configuration
.RasterizationCost(bounds.Width, bounds.Height);
AlphaFlattener\PrimitiveList.cs (2)
289
if (skip && (
Configuration
.Verbose >= 2))
364
if (
Configuration
.Verbose >= 2)
AlphaFlattener\Utility.cs (6)
41
if (
Configuration
.Verbose >= 2)
981
if (
Configuration
.Verbose >= 2)
1142
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)
786
testhook |= Microsoft.Internal.AlphaFlattener.
Configuration
.SetValue(key, e.Value);