Geometrize
1.0
An application for geometrizing images into geometric primitives
geometrize
geometrize
scene
svgitem.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <QByteArray>
4
#include <QGraphicsSvgItem>
5
6
namespace
geometrize
7
{
8
9
namespace
scene
10
{
11
15
class
SvgItem
:
public
QGraphicsSvgItem
16
{
17
Q_OBJECT
18
public
:
19
explicit
SvgItem
(
const
QByteArray& data);
20
virtual
~SvgItem
();
21
22
// NOTE unfortunately there isn't much point overriding the pointer events, because transparent parts of the image aren't ignored
23
// https://stackoverflow.com/questions/5026429/ignore-mouse-events-over-transparent-parts-of-an-svg-image-in-qgraphicsview
24
};
25
26
}
27
28
}
geometrize::scene::SvgItem::SvgItem
SvgItem(const QByteArray &data)
Definition:
svgitem.cpp:12
geometrize::scene::SvgItem
The SvgItem class represents an SVG graphic that is drawn as part of a scene.
Definition:
svgitem.h:16
svgitem.h
geometrize
Definition:
commandlineparser.cpp:73
geometrize::scene::SvgItem::~SvgItem
virtual ~SvgItem()
Definition:
svgitem.cpp:18
Generated on Mon Dec 13 2021 01:05:09 for Geometrize by
1.8.20