Gin
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
gin_svg.h File Reference

Namespaces

namespace  SVG
 

Enumerations

enum class  SVG::Engine { SVG::nanosvg , SVG::juce }
 

Functions

juce::Image SVG::renderToImage (const juce::String &svgText, int width, int height, Engine engine=Engine::juce)
 
juce::Image SVG::renderToImage (const juce::String &svgText, int width, int height, juce::Colour backgroundColour, Engine engine=Engine::juce)
 
juce::Path SVG::renderToPath (const juce::String &svgText)
 
juce::Path SVG::renderToPath (const juce::String &svgText, juce::Rectangle< float > targetBounds, juce::RectanglePlacement placement=juce::RectanglePlacement::centred)
 
void SVG::render (const juce::String &svgText, juce::Graphics &g, juce::Rectangle< float > targetBounds, Engine engine=Engine::juce)