Krita Source Code Documentation
Loading...
Searching...
No Matches
SvgShape Class Reference

An interface providing svg loading and saving routines. More...

#include <SvgShape.h>

+ Inheritance diagram for SvgShape:

Public Member Functions

virtual bool loadSvg (const QDomElement &element, SvgLoadingContext &context)
 Loads data from specified svg element.
 
void saveMetadata (SvgSavingContext &context)
 
virtual bool saveSvg (SvgSavingContext &context)
 Saves data utilizing specified svg saving context.
 
virtual ~SvgShape ()
 

Detailed Description

An interface providing svg loading and saving routines.

Definition at line 17 of file SvgShape.h.

Constructor & Destructor Documentation

◆ ~SvgShape()

SvgShape::~SvgShape ( )
virtual

Definition at line 10 of file SvgShape.cpp.

11{
12}

Member Function Documentation

◆ loadSvg()

bool SvgShape::loadSvg ( const QDomElement & element,
SvgLoadingContext & context )
virtual

Loads data from specified svg element.

Reimplemented in ImageShape, EllipseShape, and RectangleShape.

Definition at line 19 of file SvgShape.cpp.

20{
21 return false;
22}

◆ saveMetadata()

void SvgShape::saveMetadata ( SvgSavingContext & context)

◆ saveSvg()

bool SvgShape::saveSvg ( SvgSavingContext & context)
virtual

Saves data utilizing specified svg saving context.

Reimplemented in KoSvgTextShape, ImageShape, EllipseShape, and RectangleShape.

Definition at line 14 of file SvgShape.cpp.

15{
16 return false;
17}

The documentation for this class was generated from the following files: