cginternals / cginternals/libzeug
Inconsistent Color representation
Open
- Dominant language
- C++
- Stars
- 16
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
This parsing
``` C++
Color Color::fromString(const std::string & string, bool * ok)
{
//[...]
if (hexString.size() == 6)
hexString = "FF" + hexString; // results in ARGB
//[...]
}
```
is inconsitent with the following functions
``` C++
unsigned int Color::rgba() const
```
``` C++
Color::Color(int red, int green, int blue, int alpha)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.