Blender  V3.3
Classes | Typedefs | Enumerations | Functions
gpencil_io.h File Reference

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 Documentation

◆ eGpencilExportFrame

Frame-range to be exported.

◆ eGpencilExportSelect

◆ eGpencilIO_Modes

◆ eGpencilIOParams_Flag

◆ GpencilIOParams

Enumeration Type Documentation

◆ 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.

◆ eGpencilExportSelect

Enumerator
GP_EXPORT_ACTIVE 
GP_EXPORT_SELECTED 
GP_EXPORT_VISIBLE 

Definition at line 61 of file gpencil_io.h.

◆ eGpencilIO_Modes

Enumerator
GP_EXPORT_TO_SVG 
GP_EXPORT_TO_PDF 
GP_IMPORT_FROM_SVG 

Definition at line 52 of file gpencil_io.h.

◆ eGpencilIOParams_Flag

Enumerator
GP_EXPORT_FILL 
GP_EXPORT_NORM_THICKNESS 
GP_EXPORT_CLIP_CAMERA 

Definition at line 43 of file gpencil_io.h.

Function Documentation

◆ gpencil_io_export()

bool gpencil_io_export ( const char *  filepath,
struct GpencilIOParams iparams 
)

◆ gpencil_io_import()

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().