[fpc-devel] HTML string to TFPColor

Ondrej Pokorny lazarus at kluug.net
Sun Jul 23 16:08:34 CEST 2017


On 23.07.2017 15:25, Michael Van Canneyt wrote:
> I think the case statement is inefficient enough not to worry about an 
> additional call.

There is IdentToInt function in Classes that makes this more efficient. 
IdentToColor from Graphics.pas uses it as well.

Ondrej



More information about the fpc-devel mailing list