]> granicus.if.org Git - graphviz/commit
support an alpha channel when parsing HSV colors
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 29 Jan 2023 01:26:44 +0000 (17:26 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 29 Jan 2023 02:02:09 +0000 (18:02 -0800)
commit3513073a85a99420228cd481613891a169aa6f91
tree37a6067a77330ec4acfd68c3a127aa19ba73cd80
parente2593310222373f5165b83c6e26fd4cef7efefe2
support an alpha channel when parsing HSV colors

Mysteriously c4205c6e132efe64f23211fe885ff37209bc6ac0 implemented this, but only
for GVPR programs. As a result, full HSVA colors could be used in GVPR programs
but specifying an HSVA color in DOT required manually translating the color to
RGBA.

This change aligns DOT color parsing with how GVPR color parsing works.

Gitlab: closes #510
Reported-by: Ryan Schmidt <gitlab@ryandesign.com>
CHANGELOG.md
lib/common/colxlate.c
tests/test_regression.py