Skip to content
Snippets Groups Projects
Commit 1df42e84 authored by Ansgar Philippsen's avatar Ansgar Philippsen
Browse files

refactoring of gfx.Color to accomodate HSV better

The Color class now keeps track of RGB and HSV in preparation of better HSV use,
e.g. HSV based gradients. The interface has been extended, and parts of the old
interface have been deprecated (by means of in-source comments, not yet as
messages when using it); this applies to both C++ and Python. Instead of
gfx.Color() use the factory functions gfx.RGB(r,g,b), gfx.RGBA(r,g,b,a),
gfx.HSV(h,s,v) and gfx.HSVA(h,s,v,a). See also gfx/color.hh for in-source doc
parent 704311bb
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment