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 938 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

Member Function Documentation

◆ deferredDraw()

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

Definition at line 976 of file view.cpp.

References drawItems, layer, reverseDrawOrder, view, and KIGFX::VIEW::VIEW_ITEM.

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

◆ operator()()

Member Data Documentation

◆ drawForcedTransparent

bool KIGFX::VIEW::DRAW_ITEM_VISITOR::drawForcedTransparent

Definition at line 1005 of file view.cpp.

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

◆ drawItems

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

Definition at line 1004 of file view.cpp.

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

◆ foundForcedTransparent

bool KIGFX::VIEW::DRAW_ITEM_VISITOR::foundForcedTransparent

Definition at line 1006 of file view.cpp.

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

◆ layer

int KIGFX::VIEW::DRAW_ITEM_VISITOR::layer

Definition at line 1002 of file view.cpp.

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

◆ layers

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

Definition at line 1002 of file view.cpp.

◆ reverseDrawOrder

bool KIGFX::VIEW::DRAW_ITEM_VISITOR::reverseDrawOrder

Definition at line 1003 of file view.cpp.

Referenced by deferredDraw(), and DRAW_ITEM_VISITOR().

◆ useDrawPriority

bool KIGFX::VIEW::DRAW_ITEM_VISITOR::useDrawPriority

Definition at line 1003 of file view.cpp.

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

◆ view

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

Definition at line 1001 of file view.cpp.

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


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