Blender  V3.3
Functions
anim_draw.c File Reference
#include "BLI_sys_types.h"
#include "DNA_anim_types.h"
#include "DNA_gpencil_types.h"
#include "DNA_mask_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "DNA_userdef_types.h"
#include "BLI_dlrbTree.h"
#include "BLI_math.h"
#include "BLI_rect.h"
#include "BLI_timecode.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_curve.h"
#include "BKE_fcurve.h"
#include "BKE_global.h"
#include "BKE_mask.h"
#include "BKE_nla.h"
#include "ED_anim_api.h"
#include "ED_keyframes_draw.h"
#include "ED_keyframes_edit.h"
#include "ED_keyframes_keylist.h"
#include "RNA_access.h"
#include "RNA_path.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "UI_view2d.h"
#include "GPU_immediate.h"
#include "GPU_matrix.h"
#include "GPU_state.h"

Go to the source code of this file.

Functions

void ANIM_draw_cfra (const bContext *C, View2D *v2d, short flag)
 
void ANIM_draw_previewrange (const bContext *C, View2D *v2d, int end_frame_width)
 
void ANIM_draw_framerange (Scene *scene, View2D *v2d)
 
void ANIM_draw_action_framerange (AnimData *adt, bAction *action, View2D *v2d, float ymin, float ymax)
 
AnimDataANIM_nla_mapping_get (bAnimContext *ac, bAnimListElem *ale)
 
static short bezt_nlamapping_restore (KeyframeEditData *ked, BezTriple *bezt)
 
static short bezt_nlamapping_apply (KeyframeEditData *ked, BezTriple *bezt)
 
void ANIM_nla_mapping_apply_fcurve (AnimData *adt, FCurve *fcu, bool restore, bool only_keys)
 
short ANIM_get_normalization_flags (bAnimContext *ac)
 
static float normalization_factor_get (Scene *scene, FCurve *fcu, short flag, float *r_offset)
 
float ANIM_unit_mapping_get_factor (Scene *scene, ID *id, FCurve *fcu, short flag, float *r_offset)
 
static bool find_prev_next_keyframes (struct bContext *C, int *r_nextfra, int *r_prevfra)
 
void ANIM_center_frame (struct bContext *C, int smooth_viewtx)
 

Function Documentation

◆ ANIM_center_frame()

void ANIM_center_frame ( struct bContext C,
int  smooth_viewtx 
)

◆ ANIM_draw_action_framerange()

void ANIM_draw_action_framerange ( struct AnimData adt,
struct bAction action,
struct View2D v2d,
float  ymin,
float  ymax 
)

◆ ANIM_draw_cfra()

void ANIM_draw_cfra ( const bContext C,
View2D v2d,
short  flag 
)

◆ ANIM_draw_framerange()

void ANIM_draw_framerange ( struct Scene scene,
struct View2D v2d 
)

◆ ANIM_draw_previewrange()

void ANIM_draw_previewrange ( const bContext C,
View2D v2d,
int  end_frame_width 
)

◆ ANIM_get_normalization_flags()

short ANIM_get_normalization_flags ( bAnimContext ac)

◆ ANIM_nla_mapping_apply_fcurve()

void ANIM_nla_mapping_apply_fcurve ( struct AnimData adt,
struct FCurve fcu,
bool  restore,
bool  only_keys 
)

◆ ANIM_nla_mapping_get()

AnimData* ANIM_nla_mapping_get ( bAnimContext ac,
bAnimListElem ale 
)

◆ ANIM_unit_mapping_get_factor()

float ANIM_unit_mapping_get_factor ( struct Scene scene,
struct ID id,
struct FCurve fcu,
short  flag,
float r_offset 
)

◆ bezt_nlamapping_apply()

static short bezt_nlamapping_apply ( KeyframeEditData ked,
BezTriple bezt 
)
static

◆ bezt_nlamapping_restore()

static short bezt_nlamapping_restore ( KeyframeEditData ked,
BezTriple bezt 
)
static

◆ find_prev_next_keyframes()

static bool find_prev_next_keyframes ( struct bContext C,
int *  r_nextfra,
int *  r_prevfra 
)
static

◆ normalization_factor_get()

static float normalization_factor_get ( Scene scene,
FCurve fcu,
short  flag,
float r_offset 
)
static