|
KiCad PCB EDA Suite
|
Marks the canvas reads of this thread, which are item drawing and view bounds. More...
#include <conn_text.h>
Public Member Functions | |
| RENDER_SCOPE () | |
| ~RENDER_SCOPE () | |
| RENDER_SCOPE (const RENDER_SCOPE &)=delete | |
| RENDER_SCOPE & | operator= (const RENDER_SCOPE &)=delete |
Static Public Member Functions | |
| static bool | Active () |
| True inside a render scope, unless an INPUT_TEXT_SCOPE is also active. | |
Static Private Attributes | |
| static thread_local unsigned | s_depth = 0 |
Marks the canvas reads of this thread, which are item drawing and view bounds.
Tools stage an item and redraw it before they push the commit. Staging changes the screen revision, so a strict read would draw net names, bus styling and netclass colors as unconnected until the next recalculation. Inside this scope, the facade still serves the last published row of an item on a changed screen, if the screen is alive and still holds the item. Engine input capture ignores the scope, and every read outside it stays strict.
Definition at line 60 of file conn_text.h.
|
inline |
Definition at line 63 of file conn_text.h.
References s_depth.
Referenced by operator=(), and RENDER_SCOPE().
|
inline |
Definition at line 64 of file conn_text.h.
References s_depth.
|
delete |
References RENDER_SCOPE().
|
inlinestatic |
True inside a render scope, unless an INPUT_TEXT_SCOPE is also active.
Definition at line 69 of file conn_text.h.
References SCH_CONNECTIVITY::INPUT_TEXT_SCOPE::Active(), and s_depth.
Referenced by SCH_CONNECTIVITY::FACADE_STATE::Screen().
|
delete |
References RENDER_SCOPE().
|
inlinestaticprivate |
Definition at line 72 of file conn_text.h.
Referenced by Active(), RENDER_SCOPE(), and ~RENDER_SCOPE().