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

#include <view.h>

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

Member Data Documentation

◆ diffLayer

bool KIGFX::VIEW::VIEW_LAYER::diffLayer

Layer should be drawn differentially over lower layers.

Definition at line 745 of file view.h.

◆ displayOnly

bool KIGFX::VIEW::VIEW_LAYER::displayOnly

Is the layer display only?

Definition at line 744 of file view.h.

◆ hasNegatives

bool KIGFX::VIEW::VIEW_LAYER::hasNegatives

Layer should be drawn separately to not delete lower layers.

Definition at line 746 of file view.h.

◆ id

int KIGFX::VIEW::VIEW_LAYER::id

Layer ID.

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

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

◆ renderingOrder

int KIGFX::VIEW::VIEW_LAYER::renderingOrder

Rendering order of this layer.

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

◆ target

RENDER_TARGET KIGFX::VIEW::VIEW_LAYER::target

◆ visible

bool KIGFX::VIEW::VIEW_LAYER::visible

Is the layer to be rendered?

Definition at line 743 of file view.h.


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