* @param endPoint
*/
public static void renderSlur(Graphics graphics, SlurForm slurForm,
Point startPoint, Point endPoint) {
graphics.setForegroundColor(calculateVariantColor(slurForm));
Slur slurNode = (Slur) slurForm.getMeiNode();
boolean isAbove = true;
if (slurNode.isSetCurvedir()) {
isAbove = slurNode.getCurvedir().equalsIgnoreCase(
GraphicalConstants.PROPCOMBO_STRING_ARRAY_CURVEDIR[0]);
}
if (startPoint != null
&& endPoint != null
&& (isVisibleArea(MusicPlugin.getDefault().getActiveEditor()