mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-26 14:31:02 -04:00
minor changes on FET shapes
This commit is contained in:
parent
33bf560a53
commit
0df2fbcd35
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user