Bug 168837 The gradient with transparent color does not work [0001]
Description: The background gradient color does not work. Build number: 2.1.2.v20061221-0710 Steps to reproduce: 1. Preview the attached design file. Expected result: Background gradient color both work when preview and in Layout. Actual result: Background gradient color does not work when preview but work in Layout. Error log: N/A
chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGGraphics2D.java
String g = Integer.toHexString( green );
			if ( green <= 0xF )
				g = "0" + g; 
			String b = Integer.toHexString( blue);
			if ( blue <= 0xF )
				b = "0" + b; 
			return "#" + r + g + b; 
		}
		return serializeToString(cd);
	}
	
	protected Element createLine( double arg0, double arg1, double arg2,
			double arg3 )
	{
		Element elem = createElement( "line" ); 
		elem.setAttribute( "x1", Double.toString( arg0 ) ); 
		elem.setAttribute( "y1", Double.toString( arg1 ) ); 
		elem.setAttribute( "x2", Double.toString( arg2 ) ); 
		elem.setAttribute( "y2", Double.toString( arg3 ) ); 
		return elem;
	}
	protected Element createShape( Shape shape )
	{
		PathIterator pathIter = shape.getPathIterator( null );
		String pathStr = ""; 
		while ( !pathIter.isDone( ) )
		{
			double[] points = new double[6];
			int TYPE = pathIter.currentSegment( points );
			switch ( TYPE )