Blender V2.61 - r43446
Functions

BKE_gpencil.h File Reference

Go to the source code of this file.

Functions

void free_gpencil_strokes (struct bGPDframe *gpf)
void free_gpencil_frames (struct bGPDlayer *gpl)
void free_gpencil_layers (struct ListBase *list)
void free_gpencil_data (struct bGPdata *gpd)
struct bGPDframegpencil_frame_addnew (struct bGPDlayer *gpl, int cframe)
struct bGPDlayergpencil_layer_addnew (struct bGPdata *gpd)
struct bGPdatagpencil_data_addnew (const char name[])
struct bGPDframegpencil_frame_duplicate (struct bGPDframe *src)
struct bGPDlayergpencil_layer_duplicate (struct bGPDlayer *src)
struct bGPdatagpencil_data_duplicate (struct bGPdata *gpd)
void gpencil_frame_delete_laststroke (struct bGPDlayer *gpl, struct bGPDframe *gpf)
struct bGPDframegpencil_layer_getframe (struct bGPDlayer *gpl, int cframe, short addnew)
void gpencil_layer_delframe (struct bGPDlayer *gpl, struct bGPDframe *gpf)
struct bGPDlayergpencil_layer_getactive (struct bGPdata *gpd)
void gpencil_layer_setactive (struct bGPdata *gpd, struct bGPDlayer *active)
void gpencil_layer_delactive (struct bGPdata *gpd)

Detailed Description

Author:
Joshua Leung

Definition in file BKE_gpencil.h.


Function Documentation

void free_gpencil_data ( struct bGPdata gpd)

Definition at line 111 of file gpencil.c.

References free_gpencil_layers(), and bGPdata::layers.

Referenced by free_libblock(), gpencil_undo_finish(), and gpencil_undo_push().

void free_gpencil_frames ( struct bGPDlayer gpl)
void free_gpencil_layers ( struct ListBase list)
void free_gpencil_strokes ( struct bGPDframe gpf)
struct bGPdata* gpencil_data_addnew ( const char  name[]) [read]
struct bGPdata* gpencil_data_duplicate ( struct bGPdata gpd) [read]
struct bGPDframe* gpencil_frame_addnew ( struct bGPDlayer gpl,
int  cframe 
) [read]
void gpencil_frame_delete_laststroke ( struct bGPDlayer gpl,
struct bGPDframe gpf 
)
struct bGPDframe* gpencil_frame_duplicate ( struct bGPDframe src) [read]
struct bGPDlayer* gpencil_layer_addnew ( struct bGPdata gpd) [read]
void gpencil_layer_delactive ( struct bGPdata gpd)
void gpencil_layer_delframe ( struct bGPDlayer gpl,
struct bGPDframe gpf 
)
struct bGPDlayer* gpencil_layer_duplicate ( struct bGPDlayer src) [read]
struct bGPDlayer* gpencil_layer_getactive ( struct bGPdata gpd) [read]
struct bGPDframe* gpencil_layer_getframe ( struct bGPDlayer gpl,
int  cframe,
short  addnew 
) [read]
void gpencil_layer_setactive ( struct bGPdata gpd,
struct bGPDlayer active 
)