SVGPaint.colorType

SVGPaint inherits the colorType attribute from SVGColor. However, if
SVGPaint.paintType is equal to any of SVG_PAINTTYPE_NONE,
SVG_PAINTTYPE_URI_NONE or SVG_PAINTTYPE_URI, there is no meaningful
corresponding value for SVGPaint.colorType. SVG_COLORTYPE_UNKNOWN could
be used, but doing so would require violating the "It is invalid to
attempt to define a new value of this type or to attempt to switch an
existing value to this type" requirement.

Perhaps there should be an SVG_COLORTYPE_OTHER or SVG_COLOR_TYPE_CUSTOM
to hande this situation.

Steve Schafer
Fenestra Technologies Corp
http://www.fenestra.com/

Received on Friday, 23 May 2003 14:48:43 UTC