2
This chapter describes the features that were changed in this release of the DEF application programming interface.
The following syntax was added to the listed reader class routines.
void setMask(int maskColor);- int hasMask() const;
- int mask() const;
Description:
For more information, see "defiBlockage" in the DEF C/C++ Programming Interface Open Licensing Program).
void setMaskShift(int color);- int maskShiftSize();
- int maskShift(int index) const;
Description:
For more information, see "defiComponent" in the DEF C/C++ Programming Interface Open Licensing Program).
void setMask(int colorMask);- int layerMask() const
- int viaTopMask() const;
- int viaCutMask() const;
- int viaBottomMask() const;
Description:
For more information, see "defiFill" in the DEF C/C++ Programming Interface Open Licensing Program).
void addPolygon(const char* layerName,- defiGeometries* geom,
- int *needCbk,
- int colorMask,
- ...);
void addRect(const char* layerName,- defiGeometries* geom,
- int *needCbk,
- int colorMask,
- ...);
void addPts(const char* viaName,- defiGeometries* geom,
- int *needCbk,
- int colorMask,
- ...);
int polyMask(int index) const;- int rectMask(int index) const;
- int topMaskNum(int index) const;
- int cutMaskNum(int index) const;
- int bottomMask(int index) const;
Description:
addPolygon(const char* layerName, defiGeometries* geom, int *needCbk, int colorMask
|
|
Specifies color mask information for a polygon. The default value is 0.
|
addRect(const char* layerName, defiGeometries* geom, int *needCbk, int colorMask,
|
|
Specifies color mask information for a rectangle. The default value is 0.
|
addPts(const char* viaName, defiGeometries* geom, int *needCbk, int colorMask,
|
|
Specifies color mask information for points. The default value is 0.
|
polyMask(int index)
|
Returns the color mask information of a polygon by index.
|
rectMask(int index)
|
Returns the color mask information of a rectangle by index.
|
topMaskNum(int index)
|
|
Returns the top mask number of the via.
|
cutMaskNum(int index)
|
|
Returns the cut mask number of the via.
|
bottomMask(int index)
|
|
Returns the bottom mask number of the via.
|
For more information, see "defiNet" in the DEF C/C++ Programming Interface Open Licensing Program).
void addMask(int colorMask);- void addViaMask(int colorMask);
- int getMask();
- int getViaTopMask();
- int getViaCutMask();
- int getViaBottomMask();
- int getRectMask();
Description:
Additionally, a new enum was added to defiPath. The syntax is as follows:
enum defiPath_e {- ...
- DEFIPATH_RECT,
- DEFIPATH_VIRTUALPOINT,
- DEFIPATH_MASK,
- DEFIPATH_VIAMASK
The returned value depends on the input data that is read in.
For more information, see "defiPath" in the DEF C/C++ Programming Interface Open Licensing Program).
void addLayerMask(int mask);- void addPolyMask(int mask);
- void addVia(const char*via,
- int
viaX, - int viaY,
- int mask);
- int layerMask(int index) const;
- int polygonMask(int index) const;
- int viaTopMask(int index) const;
- int viaCutMask(int index) const;
- int viaBottomMask(int index) const;};
Description:
void addLayerMask(int mask);- void addPolyMask(int mask);
- void addVia(const char*via,
- int
viaX, - int viaY,
- int mask);
- void addPortLayerMask(int mask);
- void addPortPolyMask(int mask);
- int layerMask(int index) const;
- int polygonMask(int index) const;
- int viaTopMask(int index) const;
- int viaCutMask(int index) const;
- int viaBottomMask(int index) const;
Description:
For more information, see "defiPin" in the DEF C/C++ Programming Interface Open Licensing Program).
void addMask(int colorMask, - int sameMask);
- int firstTrackMask() const;
- int sameMask() const;
Description:
For more information, see "defiTrack" in the DEF C/C++ Programming Interface Open Licensing Program).
void addLayer(const char* layer,- int
xl, int yl,- int xh, int yh,
- int colorMask);
- void addPolygon(const char* layer,
- defiGeometries *geom,
- int colorMask);
- int rectMask(int index) const;
- int polyMask(int index) const;
Description:
For more information, see "defiVia" in the DEF C/C++ Programming Interface Open Licensing Program).