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

Public Member Functions

 DRAW_ITEM_VISITOR (VIEW *aView, int aLayer, bool aUseDrawPriority, bool aReverseDrawOrder)
 
bool operator() (VIEW_ITEM *aItem)
 
void deferredDraw ()
 

Public Attributes

VIEWview
 
int layer
 
int layers [VIEW_MAX_LAYERS]
 
bool useDrawPriority
 
bool reverseDrawOrder
 
std::vector< VIEW_ITEM * > drawItems
 
bool drawForcedTransparent
 
bool foundForcedTransparent
 

Detailed Description

Definition at line 929 of file view.cpp.

Constructor & Destructor Documentation

◆ DRAW_ITEM_VISITOR()

KIGFX::VIEW::DRAW_ITEM_VISITOR::DRAW_ITEM_VISITOR ( VIEW aView,
int  aLayer,
bool  aUseDrawPriority,
bool  aReverseDrawOrder 
)
inline

Definition at line 931 of file view.cpp.

Member Function Documentation

◆ deferredDraw()

void KIGFX::VIEW::DRAW_ITEM_VISITOR::deferredDraw ( )
inline

Definition at line 965 of file view.cpp.

References KIGFX::VIEW::draw(), drawItems, layer, reverseDrawOrder, and view.

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

◆ operator()()

Member Data Documentation

◆ drawForcedTransparent

bool KIGFX::VIEW::DRAW_ITEM_VISITOR::drawForcedTransparent

Definition at line 992 of file view.cpp.

Referenced by operator()(), and KIGFX::VIEW::redrawRect().

◆ drawItems

std::vector<VIEW_ITEM*> KIGFX::VIEW::DRAW_ITEM_VISITOR::drawItems

Definition at line 991 of file view.cpp.

Referenced by deferredDraw(), and operator()().

◆ foundForcedTransparent

bool KIGFX::VIEW::DRAW_ITEM_VISITOR::foundForcedTransparent

Definition at line 993 of file view.cpp.

Referenced by operator()(), and KIGFX::VIEW::redrawRect().

◆ layer

int KIGFX::VIEW::DRAW_ITEM_VISITOR::layer

Definition at line 989 of file view.cpp.

Referenced by deferredDraw(), and operator()().

◆ layers

int KIGFX::VIEW::DRAW_ITEM_VISITOR::layers[VIEW_MAX_LAYERS]

Definition at line 989 of file view.cpp.

◆ reverseDrawOrder

bool KIGFX::VIEW::DRAW_ITEM_VISITOR::reverseDrawOrder

Definition at line 990 of file view.cpp.

Referenced by deferredDraw().

◆ useDrawPriority

bool KIGFX::VIEW::DRAW_ITEM_VISITOR::useDrawPriority

Definition at line 990 of file view.cpp.

Referenced by operator()().

◆ view

VIEW* KIGFX::VIEW::DRAW_ITEM_VISITOR::view

Definition at line 988 of file view.cpp.

Referenced by deferredDraw(), and operator()().


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