Display List Pen Functions
This topic provides a list of Cadence® SKILL functions associated with display list pens.
Display list pens store the graphic attributes of an object. These attributes are:
Pens are referred to by number. Pens are also grouped together into pen tables. In the default pen table, there are 64 pens and they are numbered 0 through 63.
When you create a display list, it is initialized to use a default pen table. Changes made to a pen table affect all the display lists that use that pen table, much like changing a technology file changes all the cells that use it. To allow you to have a unique pen table, functions are provided to create new pen tables and to specify that a display list should use a particular pen table.
The color of the pens is set by color index. As such, the display list pens do not allocate any colors, but share the colors already in the color table. Therefore, they must be considered read-only. In order to set a pen’s color, you must call hiStringToIcon to find the color index that most closely matches the color you desire.
Fill patterns and Line patterns are different; you can create and change these patterns at will.
Pens also specify the order in which objects are rendered. When display lists are drawn, all the objects on pen 0 are drawn, then all the objects on pen 1 are drawn, and so on up to pen 63. As such, objects on pen 4 draw on top of objects on pen 3.
Only the functions listed here are supported for public use. All other functions, regardless of their name or prefix, and undocumented aspects of the functions described below, are private and are subject to change at any time.
- dlMakePenTable
- dlMakeStipple
- dlSetCurrentPen
- dlSetPenColor
- dlSetPenFillStyle
- dlSetPenFilled
- dlSetPenStipple
- dlSetPenTable
Return to top