OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * ***** BEGIN GPL LICENSE BLOCK ***** |
| 3 * |
| 4 * This program is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU General Public License |
| 6 * as published by the Free Software Foundation; either version 2 |
| 7 * of the License, or (at your option) any later version. |
| 8 * |
| 9 * This program is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 * GNU General Public License for more details. |
| 13 * |
| 14 * You should have received a copy of the GNU General Public License |
| 15 * along with this program; if not, write to the Free Software Foundation, |
| 16 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 17 * |
| 18 * The Original Code is Copyright (C) 2009 Blender Foundation. |
| 19 * All rights reserved. |
| 20 * |
| 21 * Contributor(s): Blender Foundation, |
| 22 * Sergey Sharybin |
| 23 * |
| 24 * ***** END GPL LICENSE BLOCK ***** |
| 25 */ |
| 26 |
| 27 /** \file ED_clip.h |
| 28 * \ingroup editors |
| 29 */ |
| 30 |
| 31 #ifndef ED_MOVIECLIP_H |
| 32 #define ED_MOVIECLIP_H |
| 33 |
| 34 struct ARegion; |
| 35 struct bContext; |
| 36 struct ImBuf; |
| 37 struct Main; |
| 38 struct MovieClip; |
| 39 struct SpaceClip; |
| 40 struct wmEvent; |
| 41 |
| 42 /* clip_editor.c */ |
| 43 int ED_space_clip_poll(struct bContext *C); |
| 44 |
| 45 void ED_space_clip_set(struct bContext *C, struct SpaceClip *sc, struct MovieCli
p *clip); |
| 46 struct MovieClip *ED_space_clip(struct SpaceClip *sc); |
| 47 void ED_space_clip_size(struct SpaceClip *sc, int *width, int *height); |
| 48 void ED_space_clip_zoom(struct SpaceClip *sc, ARegion *ar, float *zoomx, float *
zoomy); |
| 49 void ED_space_clip_aspect(struct SpaceClip *sc, float *aspx, float *aspy); |
| 50 |
| 51 struct ImBuf *ED_space_clip_get_buffer(struct SpaceClip *sc); |
| 52 struct ImBuf *ED_space_clip_get_stable_buffer(struct SpaceClip *sc, float loc[2]
, float *scale, float *angle); |
| 53 |
| 54 void ED_clip_update_frame(const struct Main *mainp, int cfra); |
| 55 void ED_clip_view_selection(struct SpaceClip *sc, struct ARegion *ar, int fit); |
| 56 |
| 57 void ED_clip_point_undistorted_pos(SpaceClip *sc, float co[2], float nco[2]); |
| 58 void ED_clip_point_stable_pos(struct bContext *C, float x, float y, float *xr, f
loat *yr); |
| 59 void ED_clip_mouse_pos(struct bContext *C, struct wmEvent *event, float co[2]); |
| 60 |
| 61 /* clip_ops.c */ |
| 62 void ED_operatormacros_clip(void); |
| 63 |
| 64 #endif /* ED_TEXT_H */ |
OLD | NEW |