Function loadSizedSVGRaw
Wraps IMG_LoadSizedSVG_RW
(from SDL_image 2.6) which loads a dsdl
image from a buffer of SVG file
format, while providing the desired flattened size of the vector image
Parameters
Name | Description |
---|---|
data | data buffer of the image |
size | desized size in pixels (width and height) of the flattened SVG image; 0 to either one of the
dimensions to be adjusted for aspect ratio |
Returns
dsdl
of the loaded image
Throws
dsdl
if failed to load