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...
 
bool diffLayer
 Layer should be drawn differentially over lower layers. More...
 
bool hasNegatives
 Layer should be drawn separately to not delete lower layers. 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 729 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 733 of file view.h.

◆ displayOnly

bool KIGFX::VIEW::VIEW_LAYER::displayOnly

Is the layer display only?

Definition at line 732 of file view.h.

◆ hasNegatives

bool KIGFX::VIEW::VIEW_LAYER::hasNegatives

Layer should be drawn separately to not delete lower layers.

Definition at line 734 of file view.h.

◆ id

int KIGFX::VIEW::VIEW_LAYER::id

Layer ID.

Definition at line 737 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 735 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 736 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 739 of file view.h.

◆ target

RENDER_TARGET KIGFX::VIEW::VIEW_LAYER::target

Where the layer should be rendered.

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


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