MCPcopy Create free account
hub / github.com/KLayout/klayout / RedrawLayerInfo

Class RedrawLayerInfo

src/laybasic/laybasic/layRedrawLayerInfo.h:39–127  ·  view source on GitHub ↗

* @brief A helper struct to describe one entry in the redraw queue */

Source from the content-addressed store, hash-verified

37 * @brief A helper struct to describe one entry in the redraw queue
38 */
39struct RedrawLayerInfo
40{
41 RedrawLayerInfo (const lay::LayerProperties &lp);
42
43 /**
44 * @brief Enable redrawing
45 *
46 * If this flag is true (the default), redrawing is enabled. Otherwise this layer is skipped.
47 */
48 bool enabled;
49
50 /**
51 * @brief Visible layer
52 *
53 * If this flag is true, the layer is visible. Visible layers are drawn with
54 * higher priority than the invisible ones. This flag is set by the constructor.
55 */
56 bool visible;
57
58 /**
59 * @brief Cross-fill shapes
60 *
61 * If this flag is true, this layer is supposed to use a diagonal cross
62 * added to the frame of boxes and polygons.
63 */
64 bool xfill;
65
66 /**
67 * @brief Cell frame layer
68 *
69 * If this flag is true, this layer is supposed to draw cell frames.
70 * It is set by the constructor if the source is a wildcard layer.
71 */
72 bool cell_frame;
73
74 /**
75 * @brief The layer index
76 *
77 * The logical layer to draw. The layer index can be <0 which indicates a
78 * layer with not layout source (cell_frame may be true to indicate a
79 * pseudo layer then).
80 * This attribute is set by the constructor.
81 */
82 int layer_index;
83
84 /**
85 * @brief The cellview index
86 *
87 * Set layer_index for details about the interpretation of this member.
88 * This member is set by the constructor.
89 */
90 int cellview_index;
91
92 /**
93 * @brief A set of transformations applied for this layer
94 *
95 * This member is set by the constructor.
96 */

Callers 1

redrawMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected