mirror of https://github.com/KLayout/klayout.git
[consider merging] Fixed marker display - don't render error layers, that's more difficult because of font selection etc., use contour for text labels
This commit is contained in:
parent
6fdad4649a
commit
61ee2305eb
|
|
@ -134,7 +134,7 @@ void render_cell_inst (const db::Layout &layout, const db::CellInstArray &inst,
|
|||
db::HAlignCenter,
|
||||
db::VAlignCenter,
|
||||
// TODO: apply "real" transformation?
|
||||
db::DFTrans (cell_name_text_transform ? tbox.fp_trans ().rot () : db::DFTrans::r0), 0, 0, 0, text);
|
||||
db::DFTrans (cell_name_text_transform ? tbox.fp_trans ().rot () : db::DFTrans::r0), 0, 0, 0, contour);
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -168,21 +168,6 @@ void render_cell_inst (const db::Layout &layout, const db::CellInstArray &inst,
|
|||
|
||||
}
|
||||
|
||||
{
|
||||
// render error layer
|
||||
|
||||
db::RecursiveShapeIterator shapes (layout, cell, layout.error_layer ());
|
||||
while (! shapes.at_end ()) {
|
||||
|
||||
for (db::CellInstArray::iterator arr = inst.begin (); ! arr.at_end (); ++arr) {
|
||||
r.draw (*shapes, trans * inst.complex_trans (*arr) * shapes.trans (), fill, contour, 0 /*use vertex for origin*/, text);
|
||||
}
|
||||
|
||||
++shapes;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// render the origins
|
||||
if (render_origins && vertex) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue