Krita Source Code Documentation
Loading...
Searching...
No Matches
SvgShape.h
Go to the documentation of this file.
1
/* This file is part of the KDE project
2
* SPDX-FileCopyrightText: 2011 Jan Hambrecht <jaham@gmx.net>
3
*
4
* SPDX-License-Identifier: LGPL-2.0-or-later
5
*/
6
7
#ifndef SVGSHAPE_H
8
#define SVGSHAPE_H
9
10
#include "kritaflake_export.h"
11
12
class
SvgSavingContext
;
13
class
SvgLoadingContext
;
14
#include <QDomDocument>
15
17
class
KRITAFLAKE_EXPORT
SvgShape
18
{
19
public
:
20
virtual
~SvgShape
();
21
23
virtual
bool
saveSvg(
SvgSavingContext
&context);
24
26
virtual
bool
loadSvg(
const
QDomElement &element,
SvgLoadingContext
&context);
27
28
void
saveMetadata
(
SvgSavingContext
&context);
29
};
30
31
#endif
// SVGSHAPE_H
SvgLoadingContext
Contains data used for loading svg.
Definition
SvgLoadingContext.cpp:28
SvgSavingContext
Context for saving svg files.
Definition
SvgSavingContext.cpp:26
SvgShape
An interface providing svg loading and saving routines.
Definition
SvgShape.h:18
SvgShape::saveMetadata
void saveMetadata(SvgSavingContext &context)
libs
flake
svg
SvgShape.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52