Anti-Grain Geometry Tutorial
agg_color_rgba.cpp
1 //----------------------------------------------------------------------------
2 // Anti-Grain Geometry - Version 2.4
3 // Copyright (C) 2009 John Horigan (http://www.antigrain.com)
4 //
5 // Permission to copy, use, modify, sell and distribute this software
6 // is granted provided this copyright notice appears in all copies.
7 // This software is provided "as is" without express or implied
8 // warranty, and with no claim as to its suitability for any purpose.
9 //
10 //----------------------------------------------------------------------------
11 //
12 // Contact: john@glyphic.com.com
13 // http://www.antigrain.com
14 //----------------------------------------------------------------------------
15 
16 // rgbaN construction from grayN types is no longer required,
17 // as grayN types now define their own conversions to rgbaN.