Blender V2.61 - r43446
Functions

clip_draw.c File Reference

#include "DNA_gpencil_types.h"
#include "DNA_movieclip_types.h"
#include "DNA_scene_types.h"
#include "DNA_object_types.h"
#include "MEM_guardedalloc.h"
#include "BKE_context.h"
#include "BKE_movieclip.h"
#include "BKE_tracking.h"
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
#include "BLI_utildefines.h"
#include "BLI_math.h"
#include "BLI_string.h"
#include "BLI_rect.h"
#include "BLI_math_base.h"
#include "ED_screen.h"
#include "ED_clip.h"
#include "ED_gpencil.h"
#include "BIF_gl.h"
#include "BIF_glutil.h"
#include "WM_api.h"
#include "WM_types.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "UI_view2d.h"
#include "RNA_access.h"
#include "BLF_api.h"
#include "clip_intern.h"

Go to the source code of this file.

Functions

void clip_draw_curfra_label (SpaceClip *sc, float x, float y)
static void draw_movieclip_cache (SpaceClip *sc, ARegion *ar, MovieClip *clip, Scene *scene)
static void draw_movieclip_notes (SpaceClip *sc, ARegion *ar)
static void draw_movieclip_buffer (SpaceClip *sc, ARegion *ar, ImBuf *ibuf, int width, int height, float zoomx, float zoomy)
static void draw_track_path (SpaceClip *sc, MovieClip *UNUSED(clip), MovieTrackingTrack *track)
static void draw_marker_outline (SpaceClip *sc, MovieTrackingTrack *track, MovieTrackingMarker *marker, float marker_pos[2], int width, int height)
static void track_colors (MovieTrackingTrack *track, int act, float col[3], float scol[3])
static void draw_marker_areas (SpaceClip *sc, MovieTrackingTrack *track, MovieTrackingMarker *marker, float marker_pos[2], int width, int height, int act, int sel)
static void draw_marker_slide_zones (SpaceClip *sc, MovieTrackingTrack *track, MovieTrackingMarker *marker, float marker_pos[2], int outline, int sel, int act, int width, int height)
static void draw_marker_texts (SpaceClip *sc, MovieTrackingTrack *track, MovieTrackingMarker *marker, float marker_pos[2], int act, int width, int height, float zoomx, float zoomy)
static void view2d_to_region_float (View2D *v2d, float x, float y, float *regionx, float *regiony)
static void draw_tracking_tracks (SpaceClip *sc, ARegion *ar, MovieClip *clip, int width, int height, float zoomx, float zoomy)
static void draw_distortion (SpaceClip *sc, ARegion *ar, MovieClip *clip, int width, int height, float zoomx, float zoomy)
void clip_draw_main (SpaceClip *sc, ARegion *ar, Scene *scene)
void clip_draw_grease_pencil (bContext *C, int onlyv2d)

Detailed Description

Definition in file clip_draw.c.


Function Documentation

void clip_draw_curfra_label ( SpaceClip sc,
float  x,
float  y 
)
void clip_draw_grease_pencil ( bContext C,
int  onlyv2d 
)
void clip_draw_main ( SpaceClip sc,
ARegion ar,
Scene scene 
)
static void draw_distortion ( SpaceClip sc,
ARegion ar,
MovieClip clip,
int  width,
int  height,
float  zoomx,
float  zoomy 
) [static]
static void draw_marker_areas ( SpaceClip sc,
MovieTrackingTrack track,
MovieTrackingMarker marker,
float  marker_pos[2],
int  width,
int  height,
int  act,
int  sel 
) [static]
static void draw_marker_outline ( SpaceClip sc,
MovieTrackingTrack track,
MovieTrackingMarker marker,
float  marker_pos[2],
int  width,
int  height 
) [static]
static void draw_marker_slide_zones ( SpaceClip sc,
MovieTrackingTrack track,
MovieTrackingMarker marker,
float  marker_pos[2],
int  outline,
int  sel,
int  act,
int  width,
int  height 
) [static]
static void draw_marker_texts ( SpaceClip sc,
MovieTrackingTrack track,
MovieTrackingMarker marker,
float  marker_pos[2],
int  act,
int  width,
int  height,
float  zoomx,
float  zoomy 
) [static]
static void draw_movieclip_buffer ( SpaceClip sc,
ARegion ar,
ImBuf ibuf,
int  width,
int  height,
float  zoomx,
float  zoomy 
) [static]
static void draw_movieclip_cache ( SpaceClip sc,
ARegion ar,
MovieClip clip,
Scene scene 
) [static]
static void draw_movieclip_notes ( SpaceClip sc,
ARegion ar 
) [static]
static void draw_track_path ( SpaceClip sc,
MovieClip UNUSEDclip,
MovieTrackingTrack track 
) [static]
static void draw_tracking_tracks ( SpaceClip sc,
ARegion ar,
MovieClip clip,
int  width,
int  height,
float  zoomx,
float  zoomy 
) [static]
static void track_colors ( MovieTrackingTrack track,
int  act,
float  col[3],
float  scol[3] 
) [static]
static void view2d_to_region_float ( View2D v2d,
float  x,
float  y,
float *  regionx,
float *  regiony 
) [static]