[Lazarus] Revision 55440 - TAChart: Allow 3-digit HTML color codes.
Sandro Cumerlato
sandro.cumerlato at gmail.com
Tue Jul 4 20:55:28 CEST 2017
I respond myself :)
1) "shl 8" is necessary to get TFPColor values (The TFPColor record
contains the Red, Green, Blue and Alpha channel values as left adjusted 16
bit words, with increasing intensity from 0 to $FFFF). Not TColor values as
I thought.
2) 3 digits case has been just fixed in revision 55441.
Best regards.
Sandro Cumerlato
On Jul 4, 2017 7:47 PM, "Sandro Cumerlato" <sandro.cumerlato at gmail.com>
wrote:
Hello,
looking at revision 55440 I noticed two strange things:
1) 6 digits case: I do not understand why you "shl 8" values. Am I
misunderstanding something?
2) 3 digits case: 3 digits codes should be shorthand, #FED should
correspond to #FFEEDD html color IIRC (https://stackoverflow.com/
questions/3108860/how-to-use-3-digit-color-codes-rather-
than-6-digit-color-codes-in-css)
Thank you for your clarifications.
Sandro Cumerlato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170704/94a94c94/attachment.html>
More information about the Lazarus
mailing list