Blender V2.61 - r43446
Classes | Defines | Typedefs | Functions

ED_gpencil.h File Reference

Go to the source code of this file.

Classes

struct  tGPspoint

Defines

#define GPENCIL_SKETCH_SESSIONS_ON(scene)   ((scene)->toolsettings->gpencil_flags & GP_TOOL_FLAG_PAINTSESSIONS_ON)

Typedefs

typedef struct tGPspoint tGPspoint

Functions

struct bGPdata ** gpencil_data_get_pointers (struct bContext *C, struct PointerRNA *ptr)
struct bGPdatagpencil_data_get_active (struct bContext *C)
struct bGPdatagpencil_data_get_active_v3d (struct Scene *scene)
void ED_keymap_gpencil (struct wmKeyConfig *keyconf)
void ED_operatortypes_gpencil (void)
void draw_gpencil_2dimage (struct bContext *C, struct ImBuf *ibuf)
void draw_gpencil_view2d (struct bContext *C, short onlyv2d)
void draw_gpencil_view3d (struct Scene *scene, struct View3D *v3d, struct ARegion *ar, short only3d)
void gpencil_panel_standard (const struct bContext *C, struct Panel *pa)
short gplayer_frames_looper (struct bGPDlayer *gpl, struct Scene *scene, short(*gpf_cb)(struct bGPDframe *, struct Scene *))
void gplayer_make_cfra_list (struct bGPDlayer *gpl, ListBase *elems, short onlysel)
void deselect_gpencil_layers (void *data, short select_mode)
short is_gplayer_frame_selected (struct bGPDlayer *gpl)
void set_gplayer_frame_selection (struct bGPDlayer *gpl, short mode)
void select_gpencil_frames (struct bGPDlayer *gpl, short select_mode)
void select_gpencil_frame (struct bGPDlayer *gpl, int selx, short select_mode)
void borderselect_gplayer_frames (struct bGPDlayer *gpl, float min, float max, short select_mode)
void delete_gpencil_layers (void)
void delete_gplayer_frames (struct bGPDlayer *gpl)
void duplicate_gplayer_frames (struct bGPDlayer *gpd)
void free_gpcopybuf (void)
void copy_gpdata (void)
void paste_gpdata (void)
void snap_gplayer_frames (struct bGPDlayer *gpl, short mode)
void mirror_gplayer_frames (struct bGPDlayer *gpl, short mode)
int ED_gpencil_session_active (void)
int ED_undo_gpencil_step (struct bContext *C, int step, const char *name)

Detailed Description

Definition in file ED_gpencil.h.


Define Documentation

#define GPENCIL_SKETCH_SESSIONS_ON (   scene)    ((scene)->toolsettings->gpencil_flags & GP_TOOL_FLAG_PAINTSESSIONS_ON)

Definition at line 63 of file ED_gpencil.h.

Referenced by gpencil_draw_modal(), and gpencil_draw_status_indicators().


Typedef Documentation

typedef struct tGPspoint tGPspoint

Function Documentation

void borderselect_gplayer_frames ( struct bGPDlayer gpl,
float  min,
float  max,
short  select_mode 
)
void copy_gpdata ( void  )
void delete_gpencil_layers ( void  )
void delete_gplayer_frames ( struct bGPDlayer gpl)
void deselect_gpencil_layers ( void *  data,
short  select_mode 
)
void draw_gpencil_2dimage ( struct bContext C,
struct ImBuf ibuf 
)
void draw_gpencil_view2d ( struct bContext C,
short  onlyv2d 
)
void draw_gpencil_view3d ( struct Scene scene,
struct View3D v3d,
struct ARegion ar,
short  only3d 
)
void duplicate_gplayer_frames ( struct bGPDlayer gpd)
int ED_gpencil_session_active ( void  )

Definition at line 61 of file gpencil_undo.c.

References ListBase::first, and NULL.

Referenced by ed_undo_step(), gp_draw_data(), gp_session_initdata(), and gpencil_draw_poll().

void ED_keymap_gpencil ( struct wmKeyConfig keyconf)
void ED_operatortypes_gpencil ( void  )
int ED_undo_gpencil_step ( struct bContext C,
int  step,
const char *  name 
)
void free_gpcopybuf ( void  )
struct bGPdata* gpencil_data_get_active ( struct bContext C) [read]
struct bGPdata* gpencil_data_get_active_v3d ( struct Scene scene) [read]

Definition at line 172 of file gpencil_edit.c.

References Scene::basact, Scene::gpd, Object::gpd, NULL, and Base::object.

Referenced by draw_gpencil_view3d().

struct bGPdata** gpencil_data_get_pointers ( struct bContext C,
struct PointerRNA ptr 
) [read]
void gpencil_panel_standard ( const struct bContext C,
struct Panel pa 
)
short gplayer_frames_looper ( struct bGPDlayer gpl,
struct Scene scene,
short(*)(struct bGPDframe *, struct Scene *)  gpf_cb 
)
void gplayer_make_cfra_list ( struct bGPDlayer gpl,
ListBase elems,
short  onlysel 
)
short is_gplayer_frame_selected ( struct bGPDlayer gpl)
void mirror_gplayer_frames ( struct bGPDlayer gpl,
short  mode 
)
void paste_gpdata ( void  )
void select_gpencil_frame ( struct bGPDlayer gpl,
int  selx,
short  select_mode 
)
void select_gpencil_frames ( struct bGPDlayer gpl,
short  select_mode 
)
void set_gplayer_frame_selection ( struct bGPDlayer gpl,
short  mode 
)

Definition at line 167 of file editaction_gpencil.c.

References NULL, and select_gpencil_frames().

Referenced by deselect_action_keys().

void snap_gplayer_frames ( struct bGPDlayer gpl,
short  mode 
)