|
TGUI 1.x-dev
|
Public Member Functions | |
| SvgImage () | |
| Default constructor. | |
| SvgImage (const String &filename) | |
| Constructor that loads the svg from a file. | |
| ~SvgImage () | |
| Destructor. | |
| 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. | |
| void | rasterize (BackendTexture &texture, Vector2u size) |
| tgui::SvgImage::SvgImage | ( | const String & | filename | ) |
Constructor that loads the svg from a file.
| filename | Filename of the svg image |
|
nodiscard |
Returns the width and height values read from the svg.