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 703 of file view.h.

Member Data Documentation

◆ displayOnly

bool KIGFX::VIEW::VIEW_LAYER::displayOnly

Is the layer display only?

Definition at line 706 of file view.h.

◆ id

int KIGFX::VIEW::VIEW_LAYER::id

Layer ID.

Definition at line 709 of file view.h.

Referenced by KIGFX::VIEW::updateLayers().

◆ items

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

R-tree indexing all items on this layer.

Definition at line 707 of file view.h.

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

◆ renderingOrder

int KIGFX::VIEW::VIEW_LAYER::renderingOrder

Rendering order of this layer.

Definition at line 708 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 711 of file view.h.

◆ target

RENDER_TARGET KIGFX::VIEW::VIEW_LAYER::target

Where the layer should be rendered.

Definition at line 710 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 705 of file view.h.


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