|
Blender V4.3
|
#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 | |
| ImBuf * | imb_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) |
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.
| 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 ) |
Definition at line 19 of file format_svg.cc.
References ImBuf::byte_buffer, COLOR_ROLE_DEFAULT_BYTE, colorspace_set_default_role(), ImBufByteBuffer::data, float, IB_rect, IM_MAX_SPACE, IMB_allocImBuf(), IMB_flipy(), int, and w().