KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_draw_panel_gal.h File Reference
#include <class_draw_panel_gal.h>
#include <layer_ids.h>
#include <pcb_view.h>

Go to the source code of this file.

Classes

class  PCB_DRAW_PANEL_GAL
 

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.
 

Function Documentation

◆ ApplyPcbGalLayerOrder()

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 624 of file pcb_draw_panel_gal.cpp.

References GAL_LAYER_ORDER, LAYER_BITMAP_END, LAYER_BITMAP_START, KIGFX::VIEW::SetLayerOrder(), KIGFX::VIEW::SortOrderedLayers(), KIGFX::VIEW::TOP_LAYER_MODIFIER, and KIGFX::VIEW::VIEW_MAX_LAYERS.

Referenced by KICAD_DIFF::ConfigurePcbDiffCanvasContext(), and PCB_DRAW_PANEL_GAL::setDefaultLayerOrder().