X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.graphviz%2Fsrc%2Forg%2Fsimantics%2Fgraphviz%2Finternal%2Fxdot%2FShapes.java;h=6132d5f1692ad3b4363e7053c7f9bac5351d438d;hb=3bfaa62dfc5a3bb901e5b51626b959299c2a7b08;hp=0e41c83c90ac6bf3bb4ca44dfc4374d15b99ec66;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.graphviz/src/org/simantics/graphviz/internal/xdot/Shapes.java b/bundles/org.simantics.graphviz/src/org/simantics/graphviz/internal/xdot/Shapes.java index 0e41c83c9..6132d5f16 100644 --- a/bundles/org.simantics.graphviz/src/org/simantics/graphviz/internal/xdot/Shapes.java +++ b/bundles/org.simantics.graphviz/src/org/simantics/graphviz/internal/xdot/Shapes.java @@ -1,90 +1,90 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.graphviz.internal.xdot; - -import java.awt.geom.Ellipse2D; -import java.awt.geom.Path2D; - -public class Shapes { - public static Path2D createPolyline(double[] p) { - Path2D path = new Path2D.Double(); - path.moveTo(p[0], -p[1]); - for(int i=2;i