Kaydet (Commit) 6ef29108 authored tarafından Muthu Subramanian's avatar Muthu Subramanian

Partially revert alpha handling.

Spec talks about x% while documents seem to contain x*1000
üst 4e8bc693
...@@ -84,8 +84,6 @@ void ColorValueContext::onStartElement( const AttributeList& rAttribs ) ...@@ -84,8 +84,6 @@ void ColorValueContext::onStartElement( const AttributeList& rAttribs )
switch( nElement ) switch( nElement )
{ {
case A_TOKEN( alpha ): case A_TOKEN( alpha ):
mrColor.addTransformation( nElement, rAttribs.getInteger( XML_val, 0 )*PER_PERCENT );
break;
case A_TOKEN( alphaMod ): case A_TOKEN( alphaMod ):
case A_TOKEN( alphaOff ): case A_TOKEN( alphaOff ):
case A_TOKEN( blue ): case A_TOKEN( blue ):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment