It's working perfectly for me when the things are going from darkness to brightness but the other way seems to be broken. OK I'm not sure is it CFA issue or just mine..the Reference_Card wrote:saturation num sat num
brightness num b num
alpha num a num
Range [-1,1]. If num < 0 then change the drawing saturation, brightness, or alpha by the proportion num toward 0. If num > 0 then change it by the proportion num toward 1.
here is an example:
Code: Select all
startshape balance
background {b -1}
rule balance {
bright {}
dark { f 90 y -1.382}
}
rule bright {
SQUARE {b .5}
bright {s .618 x .5 y 1 b .24}
bright {s .618 x -.5 y 1 b .24}
}
rule dark {
SQUARE {b .5}
dark {s .618 x .5 y -1 b -.24}
dark {s .618 x -.5 y -1 b -.24}
}

As you can see the upper part goes from 50% gray to white but the lower part remains constantly gray nevertheless it should go to black.
Am I doing something wrong! Pls help... Its the same with transparency - it cant go from transparent to non transparent.
Im windows7 u(lo)ser e-e and playing with CF 2.2.2 (v20)