26#ifndef TGUI_SVG_IMAGE_HPP 
   27#define TGUI_SVG_IMAGE_HPP 
   29#include <TGUI/Vector2f.hpp> 
   31#include <SFML/System/String.hpp> 
   38    struct NSVGrasterizer;
 
   88        void rasterize(sf::Texture& texture, sf::Vector2u size);
 
   93        NSVGimage* m_svg = 
nullptr;
 
   94        NSVGrasterizer* m_rasterizer = 
nullptr;
 
Definition: SvgImage.hpp:44
 
SvgImage(const sf::String &filename)
Constructor that loads the svg from a file.
 
SvgImage()=default
Default constructor.
 
bool isSet() const
Returns whether the object stores an svg that was successfully loaded.
 
Vector2f getSize() const
Returns the width and height values read from the svg.
 
Definition: Vector2f.hpp:39
 
Namespace that contains all TGUI functions and classes.
Definition: AbsoluteOrRelativeValue.hpp:37