|
KiCad PCB EDA Suite
|
#include "pcb_draw_panel_gal.h"#include <settings/color_settings.h>#include <pcb_view.h>#include <view/wx_view_controls.h>#include <pcb_painter.h>#include <drawing_sheet/ds_proxy_view_item.h>#include <connectivity/connectivity_data.h>#include <board.h>#include <footprint.h>#include <pad.h>#include <pcb_track.h>#include <macros.h>#include <pcb_generator.h>#include <pcb_marker.h>#include <pcb_point.h>#include <pcb_grid_item.h>#include <pcb_base_frame.h>#include <pcbnew_settings.h>#include <ratsnest/ratsnest_data.h>#include <ratsnest/ratsnest_view_item.h>#include <pcb_board_outline.h>#include <pgm_base.h>#include <settings/settings_manager.h>#include <confirm.h>#include <progress_reporter.h>#include <string_utils.h>#include <gal/graphics_abstraction_layer.h>#include <zoom_defines.h>#include <functional>#include <memory>#include <thread>#include <fmt/format.h>Go to the source code of this file.
Functions | |
| void | ApplyPcbGalLayerOrder (KIGFX::VIEW *aView) |
| Apply pcbnew's canonical GAL layer order (copper and zones below silk, fab and courtyard) to any view, including ones that are not a PCB_DRAW_PANEL_GAL. | |
| void | ApplyPcbGalLayerDeps (KIGFX::VIEW *aView) |
| Make pcbnew's derived layers (pad copper, zones, holes, netnames) follow their board layer's visibility on any view, and keep the zoom-sized footprint anchor uncached. | |
Variables | |
| const int | GAL_LAYER_ORDER [] |
| void ApplyPcbGalLayerDeps | ( | KIGFX::VIEW * | aView | ) |
Make pcbnew's derived layers (pad copper, zones, holes, netnames) follow their board layer's visibility on any view, and keep the zoom-sized footprint anchor uncached.
Definition at line 798 of file pcb_draw_panel_gal.cpp.
References BITMAP_LAYER_FOR, CLEARANCE_LAYER_FOR, DRILL_SYMBOL_LAYER_FOR, GAL_LAYER_ORDER, GetNetnameLayer(), IsCopperLayer(), IsNetnameLayer(), IsNonCopperLayer(), LAYER_ANCHOR, LAYER_NON_PLATEDHOLES, LAYER_PAD_HOLEWALLS, LAYER_PAD_NETNAMES, LAYER_PAD_PLATEDHOLES, LAYER_PADS, LAYER_VIA_BLIND, LAYER_VIA_BURIED, LAYER_VIA_HOLES, LAYER_VIA_HOLEWALLS, LAYER_VIA_MICROVIA, LAYER_VIA_NETNAMES, LAYER_VIA_THROUGH, LAYER_VIAS, PAD_COPPER_LAYER_FOR, POINT_LAYER_FOR, KIGFX::VIEW::SetLayerDisplayOnly(), KIGFX::VIEW::SetLayerTarget(), KIGFX::VIEW::SetRequired(), KIGFX::TARGET_NONCACHED, VIA_COPPER_LAYER_FOR, KIGFX::VIEW::VIEW_MAX_LAYERS, and ZONE_LAYER_FOR.
Referenced by KICAD_DIFF::ConfigureFpDiffCanvasContext(), KICAD_DIFF::ConfigurePcbDiffCanvasContext(), and PCB_DRAW_PANEL_GAL::setDefaultLayerDeps().
| void ApplyPcbGalLayerOrder | ( | KIGFX::VIEW * | aView | ) |
Apply pcbnew's canonical GAL layer order (copper and zones below silk, fab and courtyard) to any view, including ones that are not a PCB_DRAW_PANEL_GAL.
Definition at line 769 of file pcb_draw_panel_gal.cpp.
References DRILL_SYMBOL_LAYER_FOR, GAL_LAYER_ORDER, KIGFX::VIEW::GetLayerOrder(), LAYER_BITMAP_END, LAYER_BITMAP_START, PCB_LAYER_ID_COUNT, KIGFX::VIEW::SetLayerOrder(), KIGFX::VIEW::SortOrderedLayers(), KIGFX::VIEW::TOP_LAYER_MODIFIER, and KIGFX::VIEW::VIEW_MAX_LAYERS.
Referenced by KICAD_DIFF::ConfigureFpDiffCanvasContext(), KICAD_DIFF::ConfigurePcbDiffCanvasContext(), and PCB_DRAW_PANEL_GAL::setDefaultLayerOrder().
| const int GAL_LAYER_ORDER[] |
Definition at line 63 of file pcb_draw_panel_gal.cpp.
Referenced by ApplyPcbGalLayerDeps(), ApplyPcbGalLayerOrder(), and PCB_DRAW_PANEL_GAL::setDefaultLayerDeps().