SDL Wiki
(This function is part of SDL_image, a separate library from SDL.)

IMG_LoadSizedSVG_RW

Load an SVG scaled to a specific size Either width or height may be 0 and will be auto-sized to preserve aspect ratio.

Syntax

SDL_Surface * IMG_LoadSizedSVG_RW(SDL_RWops *src, int width, int height);

Function Parameters

src

RWops

width

width

height

height

Return Value

Returns SDL surface, or NULL on error


CategoryAPI


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.