Blender V4.3
format_svg.cc File Reference
#include "IMB_colormanagement.hh"
#include "IMB_filetype.hh"
#include "IMB_imbuf_types.hh"
#include "nanosvgrast.h"

Go to the source code of this file.

Functions

ImBufimb_load_filepath_thumbnail_svg (const char *filepath, const int, const size_t max_thumb_size, char colorspace[], size_t *r_width, size_t *r_height)
 

Detailed Description

SVG vector graphics format support for the purpose of thumbnail-display. While loading these as an ImBuf is trivial to support, it would expose limitations of NANOSVG and users may end up needing more advanced options specific to loading vector graphics (such as resolution control), see #109567 for details.

Definition in file format_svg.cc.

Function Documentation

◆ imb_load_filepath_thumbnail_svg()

ImBuf * imb_load_filepath_thumbnail_svg ( const char * filepath,
const int flags,
const size_t max_thumb_size,
char colorspace[],
size_t * r_width,
size_t * r_height )