To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 13908
13907  |  13909
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:
  Re: Error in the COLOUR meta command specification?
 
(...) No, if it is hex, then it is an RGB value and not a color code. /Lars (18 years ago, 12-Aug-06, to lugnet.cad)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR