public void drawTo(PPMEC PPM) {
		// Calculate the parameters for the ellipse.
		int x1 = (int) (xRatio1 * PPM.getWidth());
		int x2 = (int) (xRatio2 * PPM.getWidth());
		int y1 = (int) (yRatio1 * PPM.getHeight());
		int y2 = (int) (yRatio2 * PPM.getHeight());
		int distance = (int) (distR * PPM.getWidth());

		// Fill those pixels if d1 + d2 is in the range of distance.
		for (int i = 0; i < PPM.getHeight(); i++) {
			for (int j = 0; j < PPM.getWidth(); j++) {
				double d1 = Math
						.sqrt((x1 - j) * (x1 - j) + (y1 - i) * (y1 - i));
				double d2 = Math
						.sqrt((x2 - j) * (x2 - j) + (y2 - i) * (y2 - i));
				if ((d1 + d2) <= distance) {
					PPM.setPixel(i, j, color);
				}
			}
		}
	}