Subject:
|
Error in the COLOUR meta command specification?
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Thu, 13 Jul 2006 17:36:39 GMT
|
Viewed:
|
1320 times
|
| |
| |
Hi,
I've just found out that there is an error in the specification. The point
effected is the
EDGE value.
According to the specification it should be either a color code or an RGB
value.
Further on the specifications says an RGB value always has to be hex
(identified by # or 0x) - fine.
But it also states that: Numeric parameters, other than RGB color values,
should be specified in decimal.
This leaves a small risk for a misinterpretation, because that means a
numeric parameter could also be hex. In that case you would not
know what 0x000000 would realy mean - a color with red, green and blue
beeing zero or a color index 0 - which is a different color.
In my implementation I will be more restrictive regarding this command, and
I will only allow hex values for a RGB value, but not
for other values. Looking at the ldconfig.ldr file, that shouldn't be
problem.
Michael
|
|
Message has 1 Reply:
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|