wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
ICRenderer.cpp File Reference
#include "App/Element/ICRenderer.h"
#include <cmath>
#include <QGraphicsScene>
#include <QPainter>
#include <QScopeGuard>
#include <QStyleOptionGraphicsItem>
#include <QSvgRenderer>
#include "App/Element/IC.h"
#include "App/Element/ICPreviewPopup.h"
#include "App/Wiring/Connection.h"
Include dependency graph for ICRenderer.cpp:

Go to the source code of this file.

Functions

static QSvgRenderer & icLogoRenderer ()

Function Documentation

◆ icLogoRenderer()

QSvgRenderer & icLogoRenderer ( )
static

Shared, lazily-constructed vector renderer for the IC mascot logo — one per process, drawn directly in drawBody() so the logo stays crisp at any zoom. GUI-thread only, like pixmapCache().

Definition at line 20 of file ICRenderer.cpp.

Referenced by ICRenderer::drawBody().