Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_sequencer/sequencer_draw.c
| Show First 20 Lines • Show All 1,115 Lines • ▼ Show 20 Lines | static ImBuf *sequencer_make_scope(Scene *scene, ImBuf *ibuf, ImBuf *(*make_scope_cb)(ImBuf *ibuf)) | ||||
| return scope; | return scope; | ||||
| } | } | ||||
| static void sequencer_display_size(Scene *scene, float r_viewrect[2]) | static void sequencer_display_size(Scene *scene, float r_viewrect[2]) | ||||
| { | { | ||||
| r_viewrect[0] = (float)scene->r.xsch; | r_viewrect[0] = (float)scene->r.xsch; | ||||
| r_viewrect[1] = (float)scene->r.ysch; | r_viewrect[1] = (float)scene->r.ysch; | ||||
| /* Aspect ratio seems to have no effect on output image*/ | r_viewrect[0] *= scene->r.xasp / scene->r.yasp; | ||||
| /* r_viewrect[0] *= scene->r.xasp / scene->r.yasp; */ | |||||
| } | } | ||||
| static void sequencer_draw_gpencil(const bContext *C) | static void sequencer_draw_gpencil(const bContext *C) | ||||
| { | { | ||||
| /* draw grease-pencil (image aligned) */ | /* draw grease-pencil (image aligned) */ | ||||
| ED_annotation_draw_2dimage(C); | ED_annotation_draw_2dimage(C); | ||||
| /* ortho at pixel level */ | /* ortho at pixel level */ | ||||
| ▲ Show 20 Lines • Show All 974 Lines • Show Last 20 Lines | |||||