wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
ICRenderer.h
Go to the documentation of this file.
1// Copyright 2015 - 2026, GIBIS-UNIFESP and the wiRedPanda contributors
2// SPDX-License-Identifier: GPL-3.0-or-later
3
7
8#pragma once
9
10#include <QList>
11
12class IC;
13class QGraphicsItem;
14class QPainter;
15
27{
28public:
31 static void drawBody(IC &ic, QPainter *painter);
32
35 static void generatePixmap(IC &ic);
36
39 static void generatePreviewPixmap(IC &ic, const QList<QGraphicsItem *> &items);
40};
Renders an IC's DIP-package body and builds its sizing/preview pixmaps.
Definition ICRenderer.h:27
static void generatePixmap(IC &ic)
static void drawBody(IC &ic, QPainter *painter)
static void generatePreviewPixmap(IC &ic, const QList< QGraphicsItem * > &items)
Graphic element representing an Integrated Circuit (sub-circuit) box.
Definition IC.h:31