Blender V5.3
editaction_gpencil.cc File Reference
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include "MEM_guardedalloc.h"
#include "BLI_listbase.hh"
#include "BLI_string_utf8.hh"
#include "BLI_utildefines.hh"
#include "DNA_gpencil_legacy_types.h"
#include "DNA_scene_types.h"
#include "BKE_annotations.h"
#include "ED_anim_api.hh"
#include "ED_gpencil_legacy.hh"
#include "ED_keyframes_edit.hh"
#include "ED_markers.hh"
#include "WM_api.hh"
#include "DEG_depsgraph.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

bool blender::ED_gpencil_layer_frames_looper (bGPDlayer *gpl, Scene *scene, bool(*gpf_cb)(bGPDframe *, Scene *))
void blender::ED_gpencil_layer_make_cfra_list (bGPDlayer *gpl, ListBaseT< CfraElem > *elems, bool onlysel)
bool blender::ED_gpencil_layer_frame_select_check (const bGPDlayer *gpl)
static void blender::gpencil_frame_select (bGPDframe *gpf, short select_mode)
void blender::ED_gpencil_select_frames (bGPDlayer *gpl, short select_mode)
void blender::ED_gpencil_layer_frame_select_set (bGPDlayer *gpl, short mode)
void blender::ED_gpencil_select_frame (bGPDlayer *gpl, int selx, short select_mode)
void blender::ED_gpencil_layer_frames_select_box (bGPDlayer *gpl, float min, float max, short select_mode)
void blender::ED_gpencil_layer_frames_select_region (KeyframeEditData *ked, bGPDlayer *gpl, short tool, short select_mode)
void blender::ED_gpencil_set_active_channel (bGPdata *gpd, bGPDlayer *gpl)
bool blender::ED_gpencil_layer_frames_delete (bGPDlayer *gpl)
void blender::ED_gpencil_layer_frames_duplicate (bGPDlayer *gpl)
void blender::ED_gpencil_layer_frames_keytype_set (bGPDlayer *gpl, short type)
void blender::ED_gpencil_anim_copybuf_free ()
bool blender::ED_gpencil_anim_copybuf_copy (bAnimContext *ac)
bool blender::ED_gpencil_anim_copybuf_paste (bAnimContext *ac, const short offset_mode)
static bool blender::gpencil_frame_snap_nearest (bGPDframe *, Scene *)
static bool blender::gpencil_frame_snap_nearestsec (bGPDframe *gpf, Scene *scene)
static bool blender::gpencil_frame_snap_cframe (bGPDframe *gpf, Scene *scene)
static bool blender::gpencil_frame_snap_nearmarker (bGPDframe *gpf, Scene *scene)
void blender::ED_gpencil_layer_snap_frames (bGPDlayer *gpl, Scene *scene, short mode)
static bool blender::gpencil_frame_mirror_cframe (bGPDframe *gpf, Scene *scene)
static bool blender::gpencil_frame_mirror_yaxis (bGPDframe *gpf, Scene *)
static bool blender::gpencil_frame_mirror_xaxis (bGPDframe *gpf, Scene *)
static bool blender::gpencil_frame_mirror_marker (bGPDframe *gpf, Scene *scene)
void blender::ED_gpencil_layer_mirror_frames (bGPDlayer *gpl, Scene *scene, short mode)

Variables

static ListBaseT< bGPDlayer > blender::gpencil_anim_copybuf = {nullptr, nullptr}
static int blender::gpencil_anim_copy_firstframe = 999999999
static int blender::gpencil_anim_copy_lastframe = -999999999
static int blender::gpencil_anim_copy_cfra = 0