Package | Description |
---|---|
com.sun.electric.database.geometry |
Package for geometric support in Electric.
|
com.sun.electric.database.topology |
Package for connected Nodes and Arcs.
|
com.sun.electric.technology |
Package for handling technology information.
|
com.sun.electric.tool.user.redisplay |
Modifier and Type | Method and Description |
---|---|
Poly.Type |
Poly.Type.cycleTextAnchorHoriz()
cycle through all possible horizontal anchorings without altering the vertical anchoring
|
Poly.Type |
Poly.Type.cycleTextAnchorVert()
cycle through all possible vertical anchorings without altering the horizontal anchoring
|
Poly.Type |
PolyBase.getStyle()
Method to return the style associated with this Poly.
|
static Poly.Type |
Poly.Type.getTextTypeFromAngle(int angle)
Method to get a text Type from an angle.
|
Poly.Type |
Poly.Type.mirrorType(boolean horizontal)
Method to mirror text Type horizontally or vertically
|
Poly.Type |
Poly.Type.rotateTextAnchorIn(AbstractTextDescriptor.Rotation rot) |
Poly.Type |
Poly.Type.rotateTextAnchorOut(AbstractTextDescriptor.Rotation rot) |
static Poly.Type |
PolyBase.rotateType(Poly.Type origType,
ElectricObject eObj)
Method to rotate a text Type according to the rotation of the object on which it resides.
|
Poly.Type |
Poly.Type.transformAnchorOfType(java.awt.geom.AffineTransform af)
Method to transform an anchor according to an affine transformation
|
Poly.Type |
Poly.Type.transformAnchorOfType(Orientation orient)
Method to transform an anchor according to an Orientation
|
static Poly.Type |
PolyBase.unRotateType(Poly.Type origType,
ElectricObject eObj)
Method to unrotate a text Type according to the rotation of the object on which it resides.
|
static Poly.Type |
Poly.Type.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Poly.Type[] |
Poly.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Poly.Builder.addPoly(int numPoints,
Poly.Type style,
Layer layer,
EGraphics graphicsOverride,
PrimitivePort pp) |
void |
Poly.Builder.addTextPoly(int numPoints,
Poly.Type style,
Layer layer,
PrimitivePort pp,
java.lang.String message,
TextDescriptor descriptor) |
protected double |
PolyBase.getTextScale(EditWindow0 wnd,
java.awt.geom.Rectangle2D glyphBounds,
Poly.Type style,
double lX,
double hX,
double lY,
double hY)
Method to return the scaling factor between database and screen for the given text.
|
static Poly |
Poly.makeEndPointPoly(double len,
double wid,
int angle,
java.awt.geom.Point2D endH,
double extendH,
java.awt.geom.Point2D endT,
double extendT,
Poly.Type style)
Method to construct a Poly for an arc with a given length, width, angle, endpoint, and extension.
|
Poly |
Poly.Builder.makePoly(ImmutableArcInst a,
long gridWidth,
Poly.Type style)
Method to create a Poly object that describes an ImmutableArcInst.
|
static Poly.Type |
PolyBase.rotateType(Poly.Type origType,
ElectricObject eObj)
Method to rotate a text Type according to the rotation of the object on which it resides.
|
void |
PolyBase.setStyle(Poly.Type style)
Method to set the style associated with this Poly.
|
static Poly.Type |
PolyBase.unRotateType(Poly.Type origType,
ElectricObject eObj)
Method to unrotate a text Type according to the rotation of the object on which it resides.
|
Modifier and Type | Method and Description |
---|---|
Poly |
ArcInst.curvedArcLambdaOutline(Poly.Type style,
long gridWidth,
long gridRadius)
Method to fill polygon "poly" with the outline in lambda units of the curved arc in
this ArcInst whose width in grid units is "gridWidth".
|
Poly |
ArcInst.makeLambdaPoly(long gridWidth,
Poly.Type style)
Method to create a Poly object that describes an ArcInst in lambda units.
|
Modifier and Type | Field and Description |
---|---|
Poly.Type |
Xml.PureLayerNode.style |
Poly.Type |
Xml.ArcLayer.style |
Poly.Type |
Xml.NodeLayer.style |
Modifier and Type | Method and Description |
---|---|
Poly.Type |
ArcProto.getLayerStyle(int arcLayerIndex)
Returns the Poly.Style of specified layer that comprise this ArcLayer.
|
Poly.Type |
ArcProto.getLayerStyle(Layer layer)
Returns the Poly.Style of specified layer that comprise this ArcLayer.
|
Poly.Type |
Technology.ArcLayer.getStyle()
Returns the Poly.Style of this ArcLayer.
|
Poly.Type |
Technology.NodeLayer.getStyle()
Returns the Poly.Type this NodeLayer will generate.
|
Modifier and Type | Method and Description |
---|---|
void |
BoundsBuilder.addPoly(int numPoints,
Poly.Type style,
Layer layer,
EGraphics graphicsOverride,
PrimitivePort pp) |
protected abstract void |
AbstractShapeBuilder.addPoly(int numPoints,
Poly.Type style,
Layer layer,
EGraphics graphicsOverride,
PrimitivePort pp)
Subclasses of AbstractShapeBuilder redefine this method to register transformed Poly.
|
void |
AbstractShapeBuilder.addTextPoly(int numPoints,
Poly.Type style,
Layer layer,
PrimitivePort pp,
java.lang.String message,
TextDescriptor descriptor)
Subclasses of AbstractShapeBuilder redefine this method to register transformed text Poly.
|
void |
ArcProto.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.
|
void |
ArcProto.Curvable.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.
|
void |
AbstractShapeBuilder.makeGridPoly(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.
|
static Technology.NodeLayer |
Technology.NodeLayer.makeMulticut(Layer layer,
int portNum,
Poly.Type style,
Technology.TechPoint[] techPoints,
double sizeX,
double sizeY,
double sep1d,
double sep2d) |
static Technology.NodeLayer |
Technology.NodeLayer.makeMulticut(Layer layer,
int portNum,
Poly.Type style,
Technology.TechPoint[] techPoints,
ECoord sizeX,
ECoord sizeY,
ECoord sep1d,
ECoord sep2d) |
PrimitiveNode |
Layer.makePureLayerNode(java.lang.String nodeName,
double size,
Poly.Type style,
java.lang.String portName,
ArcProto... connections)
Method to make the Pure Layer Node associated with this Layer.
|
void |
AbstractShapeBuilder.pushPoly(Poly.Type style,
Layer layer,
EGraphics graphicsOverride,
PrimitivePort pp)
Technologies use this method to emit a Poly from points in the points buffer.
|
void |
AbstractShapeBuilder.pushTextPoly(Poly.Type style,
Layer layer,
PrimitivePort pp,
java.lang.String message,
TextDescriptor descriptor)
Technologies use this method to emit a text Poly from points in the points buffer.
|
Constructor and Description |
---|
Technology.ArcLayer(Layer layer,
double arcLayerWidth,
Poly.Type style)
Constructs an
ArcLayer with the specified description. |
Technology.ArcLayer(Layer layer,
Poly.Type style,
double lambdaExtend)
Constructs an
ArcLayer with the specified description. |
Technology.NodeLayer(Layer layer,
int portNum,
Poly.Type style,
int representation,
Technology.TechPoint[] points)
Constructs a
NodeLayer with the specified description. |
Technology.NodeLayer(Layer layer,
int portNum,
Poly.Type style,
int representation,
Technology.TechPoint[] points,
ECoord lWidth,
ECoord rWidth,
ECoord extentT,
ECoord extendB)
Constructs a
NodeLayer with the specified description. |
Modifier and Type | Method and Description |
---|---|
void |
PixelDrawing.drawText(java.awt.Rectangle rect,
Poly.Type style,
TextDescriptor descript,
java.lang.String s,
byte[][] layerBitMap,
EGraphics desc,
boolean dimmed)
Method to draw a text on the off-screen buffer
|