Bug 164426 Different display between html and pdf output[0300]
Description: Image background of label displays different between in html and pdf output. Build number: 2.2.0.v20061114-0634 Steps to reproduce: 1.Add a label and new a style. 2.Set background image and set to no repeat. 3.Preview in html and pdf. You will get two different output. HTML shows the topper part of image, while in pdf shows the bottom part of image. Expected result: Show the topper part of image in both two of outputs.
engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter.java
*/
		private void drawBackgroundColor(Color color, float x, float y, float width, float height)
		{
			if (null == color)
			{
				return;
			}
			cbUnder.saveState();
			cbUnder.setColorFill(color);
			cbUnder.rectangle(x, y-height, width, height);
			cbUnder.fill();
			cbUnder.restoreState();
		}
		
		private final class tplValueTriple
		{
			private final float tplOrigin;
			private final float tplSize;
			private final float translation;
			public tplValueTriple(final float val1, final float val2, final float val3)
			{
				tplOrigin = val1;
				tplSize = val2;
				translation = val3;
			}
			float getTplOrigin()
			{
				return tplOrigin;
			}