Blender V5.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.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Format: SVG - Only for thumbnails.
ImBuf * blender::imb_load_filepath_thumbnail_svg (const char *filepath, const ImBufFlags, const size_t max_thumb_size, ImFileColorSpace &, 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.