SVGCreator Class Reference

MathVizAnimator: SVGCreator Class Reference
MathVizAnimator  0.0.1
SVGCreator Class Reference

The SVGCreator class handles the creation of SVG files from LaTeX input. More...

#include <svg_creator.h>

Inheritance diagram for SVGCreator:
[legend]
Collaboration diagram for SVGCreator:
[legend]

Signals

void svgCreated (const QFileInfo &svg_file)
 Signal emitted when the SVG file is successfully created. More...
 
void svgCreationFailed ()
 Signal emitted when the SVG creation process fails.
 

Public Member Functions

 SVGCreator (QObject *parent=nullptr)
 Constructs an SVGCreator object. More...
 
void svgFromLaTeX (const QString &latex)
 Initiates the creation of SVG file from LaTeX input. More...
 

Detailed Description

The SVGCreator class handles the creation of SVG files from LaTeX input.

This class manages the conversion process from LaTeX to DVI and then from DVI to SVG using separate processes.

Constructor & Destructor Documentation

◆ SVGCreator()

SVGCreator::SVGCreator ( QObject *  parent = nullptr)
explicit

Constructs an SVGCreator object.

Parameters
parentOptional pointer to the parent QObject.

Member Function Documentation

◆ svgCreated

void SVGCreator::svgCreated ( const QFileInfo &  svg_file)
signal

Signal emitted when the SVG file is successfully created.

Parameters
svg_fileThe QFileInfo object representing the created SVG file.

◆ svgFromLaTeX()

void SVGCreator::svgFromLaTeX ( const QString &  latex)

Initiates the creation of SVG file from LaTeX input.

Parameters
latexThe LaTeX input to be converted to SVG.

The documentation for this class was generated from the following files:
  • /home/docs/checkouts/readthedocs.org/user_builds/mathvizanimator/checkouts/latest/libs/mva_svg/include/svg_creator.h
  • /home/docs/checkouts/readthedocs.org/user_builds/mathvizanimator/checkouts/latest/libs/mva_svg/src/svg_creator.cpp