|
Blender
V3.3
|
Go to the source code of this file.
Classes | |
| struct | GpencilIOParams |
Typedefs | |
| typedef struct GpencilIOParams | GpencilIOParams |
| typedef enum eGpencilIOParams_Flag | eGpencilIOParams_Flag |
| typedef enum eGpencilIO_Modes | eGpencilIO_Modes |
| typedef enum eGpencilExportSelect | eGpencilExportSelect |
| typedef enum eGpencilExportFrame | eGpencilExportFrame |
Enumerations | |
| enum | eGpencilIOParams_Flag { GP_EXPORT_FILL = (1 << 0) , GP_EXPORT_NORM_THICKNESS = (1 << 1) , GP_EXPORT_CLIP_CAMERA = (1 << 2) } |
| enum | eGpencilIO_Modes { GP_EXPORT_TO_SVG = 0 , GP_EXPORT_TO_PDF = 1 , GP_IMPORT_FROM_SVG = 2 } |
| enum | eGpencilExportSelect { GP_EXPORT_ACTIVE = 0 , GP_EXPORT_SELECTED = 1 , GP_EXPORT_VISIBLE = 2 } |
| enum | eGpencilExportFrame { GP_EXPORT_FRAME_ACTIVE = 0 , GP_EXPORT_FRAME_SELECTED = 1 , GP_EXPORT_FRAME_SCENE = 2 } |
Functions | |
| bool | gpencil_io_export (const char *filepath, struct GpencilIOParams *iparams) |
| bool | gpencil_io_import (const char *filepath, struct GpencilIOParams *iparams) |
| typedef enum eGpencilExportFrame eGpencilExportFrame |
Frame-range to be exported.
| typedef enum eGpencilExportSelect eGpencilExportSelect |
| typedef enum eGpencilIO_Modes eGpencilIO_Modes |
| typedef enum eGpencilIOParams_Flag eGpencilIOParams_Flag |
| typedef struct GpencilIOParams GpencilIOParams |
| enum eGpencilExportFrame |
Frame-range to be exported.
| Enumerator | |
|---|---|
| GP_EXPORT_FRAME_ACTIVE | |
| GP_EXPORT_FRAME_SELECTED | |
| GP_EXPORT_FRAME_SCENE | |
Definition at line 68 of file gpencil_io.h.
| enum eGpencilExportSelect |
| Enumerator | |
|---|---|
| GP_EXPORT_ACTIVE | |
| GP_EXPORT_SELECTED | |
| GP_EXPORT_VISIBLE | |
Definition at line 61 of file gpencil_io.h.
| enum eGpencilIO_Modes |
| Enumerator | |
|---|---|
| GP_EXPORT_TO_SVG | |
| GP_EXPORT_TO_PDF | |
| GP_IMPORT_FROM_SVG | |
Definition at line 52 of file gpencil_io.h.
| Enumerator | |
|---|---|
| GP_EXPORT_FILL | |
| GP_EXPORT_NORM_THICKNESS | |
| GP_EXPORT_CLIP_CAMERA | |
Definition at line 43 of file gpencil_io.h.
| bool gpencil_io_export | ( | const char * | filepath, |
| struct GpencilIOParams * | iparams | ||
| ) |
Main export entry point function.
Definition at line 171 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 * | filepath, |
| struct GpencilIOParams * | iparams | ||
| ) |
Main import entry point function.
Definition at line 164 of file gpencil_io_capi.cc.
References gpencil_io_import_frame().