Blender
V3.3
|
#include <gpencil_io_import_svg.hh>
Public Member Functions | |
GpencilImporterSVG (const char *filepath, const struct GpencilIOParams *iparams) | |
bool | read () |
![]() | |
GpencilImporter (const struct GpencilIOParams *iparams) | |
![]() | |
GpencilIO (const GpencilIOParams *iparams) | |
void | frame_number_set (int value) |
void | prepare_camera_params (Scene *scene, const GpencilIOParams *iparams) |
Definition at line 21 of file gpencil_io_import_svg.hh.
blender::io::gpencil::GpencilImporterSVG::GpencilImporterSVG | ( | const char * | filepath, |
const struct GpencilIOParams * | iparams | ||
) |
Definition at line 36 of file gpencil_io_import_svg.cc.
References blender::io::gpencil::GpencilIO::filepath_set().
|
virtual |
Implements blender::io::gpencil::GpencilImporter.
Definition at line 42 of file gpencil_io_import_svg.cc.
References BKE_gpencil_centroid_3d(), BKE_gpencil_layer_addnew(), BKE_gpencil_layer_frame_get(), BKE_gpencil_stroke_boundingbox_calc(), BLI_findstring(), BLI_sprintfN(), bool, blender::io::gpencil::GpencilIO::cfra_, blender::io::gpencil::GpencilImporter::create_material(), blender::io::gpencil::GpencilImporter::create_object(), Object::data, DEG2RADF, blender::io::gpencil::GpencilIO::filepath_, bGPDlayer::flag, GP_GETFRAME_ADD_NEW, GP_LAYER_USE_LIGHTS, blender::io::gpencil::GpencilIO::gpd_, bGPdata::layers, LISTBASE_FOREACH, MEM_freeN, GpencilIOParams::ob, blender::io::gpencil::GpencilIO::params_, rescale_m4(), result, rotate_m4(), GpencilIOParams::scale, STREQ, sub_v3_v3(), and unit_m4().
Referenced by gpencil_io_import_frame().