From 0df2fbcd351841635fd5b285c981559b6f598063 Mon Sep 17 00:00:00 2001 From: hneemann Date: Sun, 16 Apr 2017 21:08:27 +0200 Subject: [PATCH] minor changes on FET shapes --- .../java/de/neemann/digital/draw/shapes/FGFETShapeN.java | 8 ++++---- .../java/de/neemann/digital/draw/shapes/FGFETShapeP.java | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/de/neemann/digital/draw/shapes/FGFETShapeN.java b/src/main/java/de/neemann/digital/draw/shapes/FGFETShapeN.java index d00aee018..7ef258910 100644 --- a/src/main/java/de/neemann/digital/draw/shapes/FGFETShapeN.java +++ b/src/main/java/de/neemann/digital/draw/shapes/FGFETShapeN.java @@ -54,10 +54,10 @@ public class FGFETShapeN extends FETShape { graphic.drawLine(new Vector(6, 2 * SIZE - 4), new Vector(6, 4), Style.THIN); // the arrow - graphic.drawLine(new Vector(SIZE2 + 5, SIZE), new Vector(SIZE, SIZE), Style.THIN); + graphic.drawLine(new Vector(SIZE2 + 8, SIZE), new Vector(SIZE + 3, SIZE), Style.THIN); graphic.drawPolygon(new Polygon(true) - .add(SIZE2 + 2, SIZE) - .add(SIZE - SIZE2 / 3, SIZE - SIZE2 / 4) - .add(SIZE - SIZE2 / 3, SIZE + SIZE2 / 4), Style.THIN_FILLED); + .add(SIZE2 + 5, SIZE) + .add(SIZE - SIZE2 / 3 + 3, SIZE - SIZE2 / 4) + .add(SIZE - SIZE2 / 3 + 3, SIZE + SIZE2 / 4), Style.THIN_FILLED); } } diff --git a/src/main/java/de/neemann/digital/draw/shapes/FGFETShapeP.java b/src/main/java/de/neemann/digital/draw/shapes/FGFETShapeP.java index 8822454a9..3298f0c37 100644 --- a/src/main/java/de/neemann/digital/draw/shapes/FGFETShapeP.java +++ b/src/main/java/de/neemann/digital/draw/shapes/FGFETShapeP.java @@ -54,11 +54,11 @@ public class FGFETShapeP extends FETShape { // the arrow - graphic.drawLine(new Vector(SIZE2 +1, SIZE), new Vector(SIZE2 + 6, SIZE), Style.THIN); + graphic.drawLine(new Vector(SIZE2 + 1, SIZE), new Vector(SIZE2 + 7, SIZE), Style.THIN); graphic.drawPolygon(new Polygon(true) - .add(SIZE - SIZE2 / 3 + 4, SIZE) - .add(SIZE2 + 6, SIZE - SIZE2 / 4) - .add(SIZE2 + 6, SIZE + SIZE2 / 4), Style.THIN_FILLED); + .add(SIZE - SIZE2 / 3 + 5, SIZE) + .add(SIZE2 + 7, SIZE - SIZE2 / 4) + .add(SIZE2 + 7, SIZE + SIZE2 / 4), Style.THIN_FILLED); } }