public static class ArcProto.Curvable extends ArcProto
ArcProto.Curvable, ArcProto.Function
Modifier | Constructor and Description |
---|---|
protected |
ArcProto.Curvable(Technology tech,
java.lang.String protoName,
double lambdaElibWidthOffset,
ArcProto.Function function,
Technology.ArcLayer[] layers,
int primArcIndex) |
Modifier and Type | Method and Description |
---|---|
boolean |
isEasyShape(ImmutableArcInst a,
boolean explain)
Tells if arc can be drawn by simplified algorithm
Overidden ins subclasses
|
void |
makeGridPoly(AbstractShapeBuilder b,
ImmutableArcInst a,
long gridWidth,
Poly.Type style,
Layer layer,
EGraphics graphicsOverride)
Method to fill in an AbstractShapeBuilder a polygon that describes this ImmutableArcInst in grid units.
|
clearEdgeSelect, clearWipable, compareTo, describe, findArcProto, findArcProto, findOverridablePinProto, findPinProto, getAngleIncrement, getArcLayers, getBaseExtend, getDefaultGridBaseWidth, getDefaultInst, getDefaultLambdaBaseWidth, getDefaultLambdaBaseWidth, getFactoryAngleIncrement, getFactoryAntennaRatio, getFactoryDefaultGridBaseWidth, getFactoryDefaultInst, getFactoryDefaultLambdaBaseWidth, getFullName, getFunction, getId, getLambdaElibWidthOffset, getLayer, getLayerExtend, getLayerExtend, getLayerIterator, getLayerStyle, getLayerStyle, getMaskLayer, getMaxLayerExtend, getMinLayerExtend, getName, getNumArcLayers, getShapeOfArc, getShapeOfArc, getShapeOfDummyArc, getShapeOfDummyArc, getTechnology, getZValues, indexOf, isCurvable, isEdgeSelect, isNotUsed, isSkipSizeInPalette, isSpecialArc, isWipable, setEdgeSelect, setFactoryAngleIncrement, setFactoryAntennaRatio, setFactoryDirectional, setFactoryExtended, setFactoryFixedAngle, setFactoryRigid, setFactorySlidable, setNotUsed, setSkipSizeInPalette, setSpecialArc, setWipable, toString, writeReplace
protected ArcProto.Curvable(Technology tech, java.lang.String protoName, double lambdaElibWidthOffset, ArcProto.Function function, Technology.ArcLayer[] layers, int primArcIndex)
public boolean isEasyShape(ImmutableArcInst a, boolean explain)
isEasyShape
in class ArcProto
a
- arc to testexplain
- if true then print explanation why arc is not easypublic void makeGridPoly(AbstractShapeBuilder b, ImmutableArcInst a, long gridWidth, Poly.Type style, Layer layer, EGraphics graphicsOverride)
makeGridPoly
in class ArcProto
a
- the arc information.gridWidth
- the gridWidth of the Poly.style
- the style of the Poly.layer
- layer of the PolygraphicsOverride
- graphics override of the Poly