Bug 128582 Set jpg image to chart background, preview in html, background image is displayed incorrectly.
Set jpg image to chart background, preview in html, background image is displayed incorrectly. Steps: 1.Create a bar chart 2.Set image to chart background 3.Preview in html Actual Results: 1.See the attachment Expected Results: 1.The background image can be previewed correctly.
chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGGraphics2D.java
pathStr += " Q" + points[0] + " " + points[1] + " " + points[2] + " " + points[3]; 
					break;
				case PathIterator.SEG_CUBICTO :
					pathStr += " C" + points[0] + " " + points[1] + " " + points[2] + " " + points[3] + " " + points[4] + " " + points[5]; 
					break;
				case PathIterator.SEG_MOVETO :
					pathStr += " M" + points[0] + " " + points[1]; 
					break;
			}
			pathIter.next( );
		}
		Element elem = dom.createElement( "path" ); 
		elem.setAttribute( "d", pathStr ); 
		return elem;
	}
	protected Element createGeneralPath( Shape path )
	{
		Element elem = createShape( path );
		if ( transforms.getType( ) != AffineTransform.TYPE_IDENTITY )
		{
			double[] matrix = new double[6];
			transforms.getMatrix( matrix );
			elem.setAttribute( "transform", "matrix(" + matrix[0] + "," + matrix[1] + "," + matrix[2] + "," + matrix[3] + "," + matrix[4] + "," + matrix[5] + ")" ); 
		}
		return elem;
	}
	protected Element createText( String text )
	{
		Element elem = dom.createElement( "text" ); 
		elem.appendChild( dom.createTextNode( text ) );