KiCad PCB EDA Suite
KIGFX::VIEW::VIEW_LAYER Struct Reference

#include <view.h>

Public Attributes

bool visible
 is the layer to be rendered? More...
 
bool displayOnly
 is the layer display only? More...
 
std::shared_ptr< VIEW_RTREEitems
 R-tree indexing all items on this layer. More...
 
int renderingOrder
 rendering order of this layer More...
 
int id
 layer ID More...
 
RENDER_TARGET target
 where the layer should be rendered More...
 
std::set< int > requiredLayers
 layers that have to be enabled to show the layer More...
 

Detailed Description

Definition at line 715 of file view.h.

Member Data Documentation

◆ displayOnly

bool KIGFX::VIEW::VIEW_LAYER::displayOnly

is the layer display only?

Definition at line 718 of file view.h.

◆ id

int KIGFX::VIEW::VIEW_LAYER::id

◆ items

std::shared_ptr<VIEW_RTREE> KIGFX::VIEW::VIEW_LAYER::items

◆ renderingOrder

int KIGFX::VIEW::VIEW_LAYER::renderingOrder

rendering order of this layer

Definition at line 720 of file view.h.

Referenced by KIGFX::VIEW::compareRenderingOrder(), and KIGFX::VIEW::updateItemGeometry().

◆ requiredLayers

std::set<int> KIGFX::VIEW::VIEW_LAYER::requiredLayers

layers that have to be enabled to show the layer

Definition at line 723 of file view.h.

◆ target

RENDER_TARGET KIGFX::VIEW::VIEW_LAYER::target

where the layer should be rendered

Definition at line 722 of file view.h.

Referenced by KIGFX::VIEW::Add(), KIGFX::VIEW::Remove(), KIGFX::VIEW::updateBbox(), KIGFX::VIEW::updateItemGeometry(), and KIGFX::VIEW::updateLayers().

◆ visible

bool KIGFX::VIEW::VIEW_LAYER::visible

is the layer to be rendered?

Definition at line 717 of file view.h.


The documentation for this struct was generated from the following file: