12 references to Scale
ReachFramework (12)
AlphaFlattener\BrushProxy.cs (9)
861
return BlendColorWithBrush(_opacityOnly, Utility.
Scale
(sA.Color, _opacity), brushB, false);
868
return BlendColorWithBrush(brushB._opacityOnly, Utility.
Scale
(sB.Color, brushB._opacity), this, true);
1866
result = Utility.
Scale
(color, Utility.NormalizeOpacity(stopColor.ScA) * _opacity);
1872
result = Utility.BlendColor(Utility.
Scale
(stopColor, _opacity), color);
1876
result = Utility.BlendColor(color, Utility.
Scale
(stopColor, _opacity));
2428
gs.Color = Utility.
Scale
(gsA.Color, gsB.Color.ScA);
2432
gs.Color = Utility.
Scale
(gsB.Color, gsA.Color.ScA);
3288
Utility.
Scale
(
3299
Utility.
Scale
(
AlphaFlattener\ImageProxy.cs (2)
265
BlendUnderColor(Utility.
Scale
(sb.Color, brush.Opacity), 1, opacityOnly);
306
BlendOverColor(Utility.
Scale
(sb.Color, brush.Opacity), 1.0, opacityOnly);
Serialization\VisualSerializer.cs (1)
341
Color color = Utility.
Scale
(solidBrush.Color, solidBrush.Opacity);