Page Contents

Topics

Classes

QLSvgRenderer Class

#include <QLayers/qlsvgrenderer.h>

Inherits: QSvgRenderer, QLThemeable

Public Functions

QLSvgRenderer(const QString& file_path, QObject* parent = nullptr)
QLSvgRenderer(const QLSvgRenderer& svg_renderer)
LAttribute* color() const

Detailed Description

A QLSvgRenderer is a QSvgRenderer and a QLThemeable that is used to draw the contents of SVG files.

Member Function Documentation

QLSvgRenderer(const QString& file_path, QObject* parent = nullptr)

Constructs an SVG renderer from a file identified by file_path.

QLSvgRenderer(const QLSvgRenderer& svg_renderer)

Constructs a copy of svg_renderer.

LAttribute* color() const

Returns a pointer to the renderer's common color attribute.