KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KIGFX::VIEW::VIEW_LAYER Struct Reference

#include <view.h>

Public Member Functions

bool operator< (const VIEW_LAYER &aOther) const
 

Public Attributes

bool visible
 Is the layer to be rendered?
 
bool displayOnly
 Is the layer display only?
 
bool diffLayer
 Layer should be drawn differentially over lower layers.
 
bool hasNegatives
 Layer should be drawn separately to not delete lower layers.
 
std::shared_ptr< VIEW_RTREEitems
 R-tree indexing all items on this layer.
 
int renderingOrder
 Rendering order of this layer.
 
int id
 Layer ID.
 
RENDER_TARGET target
 Where the layer should be rendered.
 
std::set< int > requiredLayers
 Layers that have to be enabled to show the layer.
 

Detailed Description

Definition at line 748 of file view.h.

Member Function Documentation

◆ operator<()

bool KIGFX::VIEW::VIEW_LAYER::operator< ( const VIEW_LAYER aOther) const
inline

Definition at line 761 of file view.h.

References id.

Member Data Documentation

◆ diffLayer

bool KIGFX::VIEW::VIEW_LAYER::diffLayer

Layer should be drawn differentially over lower layers.

Definition at line 752 of file view.h.

Referenced by KIGFX::VIEW::SetLayerDiff(), and KIGFX::VIEW::VIEW().

◆ displayOnly

bool KIGFX::VIEW::VIEW_LAYER::displayOnly

Is the layer display only?

Definition at line 751 of file view.h.

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

◆ hasNegatives

bool KIGFX::VIEW::VIEW_LAYER::hasNegatives

Layer should be drawn separately to not delete lower layers.

Definition at line 753 of file view.h.

Referenced by KIGFX::VIEW::SetLayerHasNegatives(), and KIGFX::VIEW::VIEW().

◆ id

int KIGFX::VIEW::VIEW_LAYER::id

Layer ID.

Definition at line 756 of file view.h.

Referenced by operator<(), KIGFX::VIEW::updateLayers(), and KIGFX::VIEW::VIEW().

◆ items

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

R-tree indexing all items on this layer.

Definition at line 754 of file view.h.

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

◆ renderingOrder

int KIGFX::VIEW::VIEW_LAYER::renderingOrder

Rendering order of this layer.

Definition at line 755 of file view.h.

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

◆ requiredLayers

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

Layers that have to be enabled to show the layer.

Definition at line 758 of file view.h.

◆ target

◆ visible

bool KIGFX::VIEW::VIEW_LAYER::visible

Is the layer to be rendered?

Definition at line 750 of file view.h.

Referenced by KIGFX::VIEW::SetLayerVisible(), and KIGFX::VIEW::VIEW().


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