|
Blender
V2.93
|
#include "BLI_path_util.h"#include "DNA_gpencil_types.h"#include "DNA_space_types.h"#include "BKE_context.h"#include "BKE_gpencil.h"#include "BKE_report.h"#include "BLT_translation.h"#include "RNA_access.h"#include "RNA_define.h"#include "UI_interface.h"#include "UI_resources.h"#include "WM_api.h"#include "WM_types.h"#include "DEG_depsgraph.h"#include "DEG_depsgraph_query.h"#include "ED_gpencil.h"#include "io_gpencil.h"#include "gpencil_io.h"Go to the source code of this file.
Functions | |
| static bool | wm_gpencil_import_svg_common_check (bContext *UNUSED(C), wmOperator *op) |
| static int | wm_gpencil_import_svg_invoke (bContext *C, wmOperator *op, const wmEvent *UNUSED(event)) |
| static int | wm_gpencil_import_svg_exec (bContext *C, wmOperator *op) |
| static void | ui_gpencil_import_svg_settings (uiLayout *layout, PointerRNA *imfptr) |
| static void | wm_gpencil_import_svg_draw (bContext *C, wmOperator *op) |
| static bool | wm_gpencil_import_svg_poll (bContext *C) |
| void | WM_OT_gpencil_import_svg (wmOperatorType *ot) |
/
Definition in file io_gpencil_import.c.
|
static |
Definition at line 130 of file io_gpencil_import.c.
References col, NULL, uiItemR(), uiLayoutColumn(), uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().
Referenced by wm_gpencil_import_svg_draw().
|
static |
Definition at line 54 of file io_gpencil_import.c.
References BLI_path_extension_check(), BLI_path_extension_ensure(), FILE_MAX, wmOperator::ptr, RNA_string_get(), and RNA_string_set().
Referenced by WM_OT_gpencil_import_svg().
|
static |
Definition at line 139 of file io_gpencil_import.c.
References C, CTX_wm_manager(), wmWindowManager::id, wmOperator::layout, wmOperator::properties, ptr, RNA_pointer_create(), wmOperatorType::srna, wmOperator::type, and ui_gpencil_import_svg_settings().
Referenced by WM_OT_gpencil_import_svg().
|
static |
Definition at line 76 of file io_gpencil_import.c.
References BKE_report(), C, CFRA, CTX_data_scene(), FILE_MAX, get_invoke_region(), get_invoke_view3d(), GP_IMPORT_FROM_SVG, gpencil_io_import(), NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, params, wmOperator::ptr, wmOperator::reports, RNA_float_get(), RNA_int_get(), RNA_string_get(), RNA_struct_property_is_set(), RPT_ERROR, RPT_WARNING, scene, and WM_cursor_wait().
Referenced by WM_OT_gpencil_import_svg().
|
static |
Definition at line 69 of file io_gpencil_import.c.
References C, OPERATOR_RUNNING_MODAL, and WM_event_add_fileselect().
Referenced by WM_OT_gpencil_import_svg().
|
static |
Definition at line 148 of file io_gpencil_import.c.
References C, CTX_data_mode_enum(), CTX_MODE_OBJECT, CTX_wm_window(), and NULL.
Referenced by WM_OT_gpencil_import_svg().
| void WM_OT_gpencil_import_svg | ( | wmOperatorType * | ot | ) |
Definition at line 157 of file io_gpencil_import.c.
References wmOperatorType::check, wmOperatorType::description, wmOperatorType::exec, FILE_BLENDER, FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_TYPE_OBJECT_IO, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_float(), RNA_def_int(), wmOperatorType::srna, wmOperatorType::ui, WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, WM_FILESEL_SHOW_PROPS, wm_gpencil_import_svg_common_check(), wm_gpencil_import_svg_draw(), wm_gpencil_import_svg_exec(), wm_gpencil_import_svg_invoke(), wm_gpencil_import_svg_poll(), and WM_operator_properties_filesel().
Referenced by ED_operatortypes_io().