|
Blender V5.3
|
#include <grease_pencil_io_intern.hh>
Inherited by blender::io::grease_pencil::SVGImporter.
Public Member Functions | |
| GreasePencilImporter (const IOContext &context, const ImportParams ¶ms) | |
| Object * | create_object (StringRefNull name) |
| int32_t | create_material (StringRefNull name) |
Protected Attributes | |
| const IOContext | context_ |
| const ImportParams | params_ |
| Object * | object_ = nullptr |
Definition at line 39 of file grease_pencil_io_intern.hh.
| blender::io::grease_pencil::GreasePencilImporter::GreasePencilImporter | ( | const IOContext & | context, |
| const ImportParams & | params ) |
Definition at line 83 of file grease_pencil_io.cc.
| int blender::io::grease_pencil::GreasePencilImporter::create_material | ( | StringRefNull | name | ) |
Definition at line 102 of file grease_pencil_io.cc.
References blender::BKE_grease_pencil_object_material_index_get_by_name(), blender::BKE_grease_pencil_object_material_new(), blender::io::grease_pencil::IOContext::C, blender::StringRefNull::c_str(), context_, blender::copy_v4_v4(), blender::CTX_data_main(), blender::MaterialGPencilStyle::fill_rgba, object_, blender::MaterialGPencilStyle::stroke_rgba, and blender::Object::totcol.
Referenced by blender::io::grease_pencil::SVGImporter::read().
| Object * blender::io::grease_pencil::GreasePencilImporter::create_object | ( | StringRefNull | name | ) |
Definition at line 88 of file grease_pencil_io.cc.
References blender::ed::object::add_type(), blender::io::grease_pencil::IOContext::C, blender::StringRefNull::c_str(), context_, blender::Scene::cursor, blender::View3D::local_view_uid, blender::View3D::localvd, blender::View3DCursor::location, blender::OB_GREASE_PENCIL, rot, blender::io::grease_pencil::IOContext::scene, and blender::io::grease_pencil::IOContext::v3d.
Referenced by blender::io::grease_pencil::SVGImporter::read().
|
protected |
Definition at line 41 of file grease_pencil_io_intern.hh.
Referenced by create_material(), create_object(), GreasePencilImporter(), and blender::io::grease_pencil::SVGImporter::read().
Definition at line 44 of file grease_pencil_io_intern.hh.
Referenced by create_material(), and blender::io::grease_pencil::SVGImporter::read().
|
protected |
Definition at line 42 of file grease_pencil_io_intern.hh.
Referenced by GreasePencilImporter(), and blender::io::grease_pencil::SVGImporter::read().