|
Blender
V2.93
|
#include <cstdio>#include "BLI_listbase.h"#include "DNA_gpencil_types.h"#include "DNA_screen_types.h"#include "DNA_space_types.h"#include "BKE_context.h"#include "BKE_gpencil.h"#include "BKE_main.h"#include "BKE_scene.h"#include "DEG_depsgraph.h"#include "DEG_depsgraph_query.h"#include "../gpencil_io.h"#include "gpencil_io_import_svg.hh"Go to the source code of this file.
Functions | |
| static bool | gpencil_io_import_frame (void *in_importer, const GpencilIOParams &iparams) |
| bool | gpencil_io_import (const char *filename, GpencilIOParams *iparams) |
| bool | gpencil_io_export (const char *filename, GpencilIOParams *iparams) |
| bool gpencil_io_export | ( | const char * | filename, |
| GpencilIOParams * | iparams | ||
| ) |
Definition at line 180 of file gpencil_io_capi.cc.
References GpencilIOParams::C, CTX_data_active_object(), CTX_data_depsgraph_pointer(), CTX_data_scene(), GP_EXPORT_TO_PDF, GP_EXPORT_TO_SVG, GpencilIOParams::mode, and UNUSED_VARS.
| bool gpencil_io_import | ( | const char * | filename, |
| GpencilIOParams * | iparams | ||
| ) |
Definition at line 172 of file gpencil_io_capi.cc.
References gpencil_io_import_frame().
Referenced by wm_gpencil_import_svg_exec().
|
static |
Definition at line 82 of file gpencil_io_capi.cc.
References GP_IMPORT_FROM_SVG, GpencilIOParams::mode, blender::io::gpencil::GpencilImporterSVG::read(), and result.
Referenced by gpencil_io_import().