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_RTREE > items
 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 905 of file view.h.

Member Function Documentation

◆ operator<()

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

Definition at line 923 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 911 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 908 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 914 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 917 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 915 of file view.h.

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

◆ renderingOrder

int KIGFX::VIEW::VIEW_LAYER::renderingOrder

Rendering order of this layer.

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

◆ target

◆ visible

bool KIGFX::VIEW::VIEW_LAYER::visible

Is the layer to be rendered?

Definition at line 907 of file view.h.

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


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