目录
1. klayout主要类
2. klayout 读gds文件流程
3. klayout 层操作
4. klayout ruler
klayout 主要的类是 Application,MainWindow,LayoutView,CellView,Shape
Application: The Application class is a representative for the KLayout application. Since there is only one application, it is a singleton.
MainWindow:The MainWindow object represents the application's window and manages the top level visual objects of the application. The main visual components of the main window are the menus, the tool panels (cell tree, layer list, tool box, navigator ...) and the layout views.
LayoutView:The layout view is the representation of a layout tab. That is basically the window to the layouts loaded into that tab. All related information such as the display settings, the zoom area, the layer properties and the information about the cell shown, the hierarchy levels and further settings go here.
CellView:Layout, current cell, context cell, specific and unspecific path are combined into the CellView object. A layout view can have multiple cell views corresponding to the different layouts that can be loaded into a panel.
Shape:which is some kind of pointer (a "proxy") to the actual shape. The actual shape is either a polygon, a box, a text or a path.