Blender Git Loki
Git Commits -> Revision 46deddc
Revision 46deddc by Campbell Barton (master) October 20, 2007, 16:17 (GMT) |
Image Stamping patch by Diego (and peach request)- stamps image info into metadata and optionally draws into the frame. This patch includes some changes I made... * use blenders bitmap fonts (rather then own fonts) * select font size * user interface layout changes * Marker as another image stamp option Also added some new API calls BMF_GetFontHeight(font); BMF_DrawStringBuf(...); - so we can draw text into an imbuf's image buffer. get_frame_marker(frame) - get the last marker from the frame. IMB_rectfill_area(...) - fill in an image buffer with a rectangle area of color. TODO - draw stamp info in 3d view, at the moment it just displays in the animation. |
Commit Details:
Full Hash: 46deddcc62784dab47b1f14dda0d802f5f341b18
SVN Revision: 12306
Parent Commit: e5a9e0b
Lines Changed: +583, -21
23 Modified Paths:
/intern/bmfont/BMF_Api.h (+22, -0) (Diff)
/intern/bmfont/intern/BMF_Api.cpp (+11, -0) (Diff)
/intern/bmfont/intern/BMF_BitmapFont.cpp (+90, -0) (Diff)
/intern/bmfont/intern/BMF_BitmapFont.h (+20, -0) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_image.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/image.c (+189, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+9, -1) (Diff)
/source/blender/blenpluginapi/iff.h (+1, -0) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+4, -0) (Diff)
/source/blender/imbuf/intern/IMB_imginfo.h (+6, -0) (Diff)
/source/blender/imbuf/intern/imginfo.c (+49, -0) (Diff)
/source/blender/imbuf/intern/png.c (+1, -0) (Diff)
/source/blender/imbuf/intern/rectop.c (+53, -0) (Diff)
/source/blender/imbuf/intern/thumbs.c (+7, -7) (Diff)
/source/blender/include/BSE_time.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+21, -1) (Diff)
/source/blender/src/buttons_scene.c (+66, -0) (Diff)
/source/blender/src/buttons_shading.c (+1, -1) (Diff)
/source/blender/src/drawview.c (+1, -1) (Diff)
/source/blender/src/editmesh_tools.c (+5, -6) (Diff)
/source/blender/src/edittime.c (+23, -0) (Diff)
/source/blender/src/transform_constraints.c (+1, -1) (Diff)
/intern/bmfont/intern/BMF_Api.cpp (+11, -0) (Diff)
/intern/bmfont/intern/BMF_BitmapFont.cpp (+90, -0) (Diff)
/intern/bmfont/intern/BMF_BitmapFont.h (+20, -0) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_image.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/image.c (+189, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+9, -1) (Diff)
/source/blender/blenpluginapi/iff.h (+1, -0) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+4, -0) (Diff)
/source/blender/imbuf/intern/IMB_imginfo.h (+6, -0) (Diff)
/source/blender/imbuf/intern/imginfo.c (+49, -0) (Diff)
/source/blender/imbuf/intern/png.c (+1, -0) (Diff)
/source/blender/imbuf/intern/rectop.c (+53, -0) (Diff)
/source/blender/imbuf/intern/thumbs.c (+7, -7) (Diff)
/source/blender/include/BSE_time.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+21, -1) (Diff)
/source/blender/src/buttons_scene.c (+66, -0) (Diff)
/source/blender/src/buttons_shading.c (+1, -1) (Diff)
/source/blender/src/drawview.c (+1, -1) (Diff)
/source/blender/src/editmesh_tools.c (+5, -6) (Diff)
/source/blender/src/edittime.c (+23, -0) (Diff)
/source/blender/src/transform_constraints.c (+1, -1) (Diff)