Redo some reverted style changes.

This commit is contained in:
John Scipione
2012-07-30 02:45:45 -04:00
parent 78341a9351
commit b79561ad9c
+6 -6
View File
@@ -31,21 +31,21 @@ ToGray(ColorRGB32 c)
static uint
GetRedValue(ColorRGB32 c)
{
return c.little.red;
return c.little.red;
}
static uint
GetGreenValue(ColorRGB32 c)
{
return c.little.green;
return c.little.green;
}
static uint
GetBlueValue(ColorRGB32 c)
{
return c.little.blue;
return c.little.blue;
}
@@ -56,11 +56,11 @@ Halftone::Halftone(color_space colorSpace, double gamma, double min,
fGray = ToGray;
SetPlanes(kPlaneMonochrome1);
SetBlackValue(kHighValueMeansBlack);
InitFloydSteinberg();
CreateGammaTable(gamma, min);
if (ditherType == kTypeFloydSteinberg) {
fDither = &Halftone::DitherFloydSteinberg;
return;