View | Details | Raw Unified | Return to bug 237802 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/draw2d/RelativeBendpoint.java (-2 / +2 lines)
Lines 66-73 Link Here
66
	getConnection().translateToRelative(a2);
66
	getConnection().translateToRelative(a2);
67
	
67
	
68
	return new PrecisionPoint((a1.preciseX() + d1.preciseWidth())
68
	return new PrecisionPoint((a1.preciseX() + d1.preciseWidth())
69
				* (1f - weight) + weight * (a2.preciseX() + d2.preciseWidth()),
69
				* (1.0 - weight) + weight * (a2.preciseX() + d2.preciseWidth()),
70
				(a1.preciseY() + d1.preciseHeight()) * (1f - weight) + weight
70
				(a1.preciseY() + d1.preciseHeight()) * (1.0 - weight) + weight
71
						* (a2.preciseY() + d2.preciseHeight()));
71
						* (a2.preciseY() + d2.preciseHeight()));
72
	}
72
	}
73
73

Return to bug 237802