summaryrefslogtreecommitdiffstats
path: root/libdimension-python/tests/color.py
Commit message (Collapse)AuthorAgeFilesLines
* Re-think colors.Tavian Barnes2011-12-141-9/+3
| | | | | | | | | Color is a property of light, and thus doesn't include information about transparency. But canvas pixels and object pigments represent a color and a degree of transparency. The new type dmnsn_tcolor/ TColor encapsulates that information. Also, fix the transparent shadow implementation.
* Use a separate class for sRGB colors.Tavian Barnes2011-12-041-4/+3
|
* Be more consistent about using sRGB in the client.Tavian Barnes2011-11-281-0/+1
| | | | Also, expose the sRGB C and C^-1 functions.
* Get rid of dmnsn_color_is_black().Tavian Barnes2011-11-071-3/+0
|
* Use double rather than single quotes for Python strings.Tavian Barnes2011-09-221-4/+4
|
* Use /usr/bin/env python3 rather than /usr/bin/python3.Tavian Barnes2011-06-161-1/+1
|
* Make python module more "pythonic".Tavian Barnes2011-06-151-1/+1
| | | | Use lower_case instead of mixedCase, and add docstrings.
* Switch to Blender model of filtered transparency.Tavian Barnes2011-05-201-5/+5
|
* Add Colors to the Python extension.Tavian Barnes2011-05-201-0/+55