Well, that sucks for me. However, thanks to your tip, I was able to find:


Which basically answers my question.

Thanks for your help again,
Daniel

On Jun 5, 2006, at 7:05 PM, P T Withington wrote:

On 2006-06-05, at 18:33 EDT, Daniel Salama wrote:

I'm trying to figure out the mathematics behind the setTint method of
basecomponent. The conversion of the color argument to the percent of
alpha is clear. However, setTint calls setColorTransform with the
brightness argument as the offset value. I suppose setColorTransform
applies a function to the alpha and the offset to come up with an RGB
color. What function is applied is what I'm intereste in. I couldn't
find much documentation on it, so I downloaded the source code.
Unfortunately, I could not find the source definition of that
function other than:

LzView.prototype.setColorTransform = function ( o ){
     this.getColorObj().setTransform( o );
}

which made me look for setTransform, but ended up not finding what I
needed.

setTransform is a player primitive: http://tinyurl.com/ke59u



_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to