|
Blender
V2.59
|
Go to the source code of this file.
Definition in file image_intern.h.
| void draw_image_grease_pencil | ( | struct bContext * | C, |
| short | onlyv2d | ||
| ) |
Definition at line 645 of file image_draw.c.
References CTX_wm_space_data(), draw_gpencil_2dimage(), draw_gpencil_view2d(), ED_space_image_acquire_buffer(), and ED_space_image_release_buffer().
Referenced by image_main_area_draw().
| void draw_image_info | ( | struct ARegion * | ar, |
| int | color_manage, | ||
| int | channels, | ||
| int | x, | ||
| int | y, | ||
| char * | cp, | ||
| float * | fp, | ||
| int * | zp, | ||
| float * | zpf | ||
| ) |
Definition at line 132 of file image_draw.c.
References BLF_draw_ascii(), blf_mono_font, BLF_position(), BLF_size(), BLF_width(), copy_v3_v3(), copy_v4_v4(), linearrgb_to_srgb_v3_v3(), rgb_to_hsv(), rgb_to_yuv(), str, simple_enum_gen::val, ARegion::winrct, rcti::xmax, rcti::xmin, zero_v3(), and zero_v4().
Referenced by sample_draw().
| void draw_image_main | ( | struct SpaceImage * | sima, |
| struct ARegion * | ar, | ||
| struct Scene * | scene | ||
| ) |
Definition at line 769 of file image_draw.c.
References RenderData::cfra, RenderData::disprect, draw_image_buffer(), draw_image_buffer_repeated(), draw_image_buffer_tiled(), draw_image_grid(), draw_image_paint_helpers(), draw_render_info(), ED_image_aspect(), ED_space_image(), ED_space_image_acquire_buffer(), ED_space_image_release_buffer(), ED_space_image_zoom(), SpaceImage::flag, G, IMA_SRC_VIEWER, IMA_TILES, IMA_TYPE_COMPOSITE, IMA_TYPE_R_RESULT, SpaceImage::image, SpaceImage::iuser, Scene::nodetree, ntree_get_active_iuser(), NULL, Scene::r, SI_DRAW_TILE, SI_DRAWTOOL, Image::source, Image::tpageflag, Image::type, rcti::xmin, and rcti::ymin.
Referenced by image_main_area_draw().
| void image_buttons_register | ( | struct ARegionType * | art | ) |
Definition at line 834 of file image_buttons.c.
References BLI_addtail(), PanelType::draw, PanelType::flag, gpencil_panel_standard(), PanelType::idname, image_panel_curves(), image_panel_poll(), PanelType::label, MEM_callocN(), ARegionType::paneltypes, PNL_DEFAULT_CLOSED, and PanelType::poll.
Referenced by ED_spacetype_image().
Definition at line 328 of file space_image.c.
References ARegion::alignment, BKE_area_find_region_type(), BLI_insertlinkafter(), ARegion::flag, MEM_callocN(), NULL, ScrArea::regionbase, ARegion::regiontype, RGN_ALIGN_LEFT, RGN_FLAG_HIDDEN, RGN_TYPE_HEADER, and RGN_TYPE_UI.
Referenced by image_properties().
Definition at line 352 of file space_image.c.
References ARegion::alignment, BKE_area_find_region_type(), BLI_insertlinkafter(), ARegion::flag, image_scopes_tag_refresh(), MEM_callocN(), NULL, ScrArea::regionbase, ARegion::regiontype, RGN_ALIGN_RIGHT, RGN_FLAG_HIDDEN, RGN_TYPE_PREVIEW, and RGN_TYPE_UI.
Referenced by image_scopes().
| void IMAGE_OT_curves_point_set | ( | struct wmOperatorType * | ot | ) |
Definition at line 1999 of file image_ops.c.
References wmOperatorType::cancel, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, RNA_def_enum(), sample_cancel(), sample_invoke(), sample_modal(), space_image_main_area_poll(), and wmOperatorType::srna.
Referenced by image_operatortypes().
| void IMAGE_OT_cycle_render_slot | ( | struct wmOperatorType * | ot | ) |
Definition at line 2213 of file image_ops.c.
References cycle_render_slot_exec(), cycle_render_slot_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by image_operatortypes().
| void IMAGE_OT_invert | ( | struct wmOperatorType * | ot | ) |
Definition at line 1496 of file image_ops.c.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, image_invert_exec(), image_invert_poll(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by image_operatortypes().
| void IMAGE_OT_new | ( | struct wmOperatorType * | ot | ) |
Definition at line 1403 of file image_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, image_new_exec(), image_new_invoke(), wmOperatorType::invoke, MAX_ID_NAME, wmOperatorType::name, NULL, OPTYPE_UNDO, RNA_def_boolean(), RNA_def_float_color(), RNA_def_int(), RNA_def_property_float_array_default(), RNA_def_string(), and wmOperatorType::srna.
Referenced by image_operatortypes().
| void IMAGE_OT_open | ( | struct wmOperatorType * | ot | ) |
Definition at line 862 of file image_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, FILE_OPENFILE, FILE_SPECIAL, wmOperatorType::flag, FOLDERFILE, wmOperatorType::idname, IMAGEFILE, wmOperatorType::invoke, MOVIEFILE, wmOperatorType::name, open_cancel(), open_exec(), open_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by image_operatortypes().
| void IMAGE_OT_pack | ( | struct wmOperatorType * | ot | ) |
Definition at line 1583 of file image_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, pack_exec(), pack_invoke(), RNA_def_boolean(), and wmOperatorType::srna.
Referenced by image_operatortypes().
| void IMAGE_OT_properties | ( | struct wmOperatorType * | ot | ) |
Definition at line 864 of file image_buttons.c.
References wmOperatorType::description, ED_operator_image_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, image_properties(), wmOperatorType::name, and wmOperatorType::poll.
Referenced by image_operatortypes().
| void IMAGE_OT_record_composite | ( | struct wmOperatorType * | ot | ) |
Definition at line 2158 of file image_ops.c.
References wmOperatorType::cancel, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, wmOperatorType::poll, record_composite_cancel(), record_composite_exec(), record_composite_invoke(), record_composite_modal(), and space_image_buffer_exists_poll().
Referenced by image_operatortypes().
| void IMAGE_OT_reload | ( | struct wmOperatorType * | ot | ) |
Definition at line 1324 of file image_ops.c.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, and reload_exec().
Referenced by image_operatortypes().
| void IMAGE_OT_replace | ( | struct wmOperatorType * | ot | ) |
Definition at line 921 of file image_ops.c.
References wmOperatorType::exec, FILE_OPENFILE, FILE_SPECIAL, wmOperatorType::flag, FOLDERFILE, wmOperatorType::idname, IMAGEFILE, wmOperatorType::invoke, MOVIEFILE, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, replace_exec(), replace_invoke(), space_image_poll(), WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by image_operatortypes().
| void IMAGE_OT_sample | ( | struct wmOperatorType * | ot | ) |
Definition at line 1870 of file image_ops.c.
References wmOperatorType::cancel, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, wmOperatorType::poll, sample_cancel(), sample_invoke(), sample_modal(), and space_image_main_area_poll().
Referenced by image_operatortypes().
| void IMAGE_OT_sample_line | ( | struct wmOperatorType * | ot | ) |
Definition at line 1978 of file image_ops.c.
References wmOperatorType::cancel, CURSOR_EDIT, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, sample_line_exec(), sample_line_invoke(), space_image_main_area_poll(), WM_gesture_straightline_cancel(), WM_gesture_straightline_modal(), and WM_operator_properties_gesture_straightline().
Referenced by image_operatortypes().
| void IMAGE_OT_save | ( | struct wmOperatorType * | ot | ) |
Definition at line 1212 of file image_ops.c.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, save_exec(), and space_image_file_exists_poll().
Referenced by image_operatortypes().
| void IMAGE_OT_save_as | ( | struct wmOperatorType * | ot | ) |
Definition at line 1141 of file image_ops.c.
References wmOperatorType::check, wmOperatorType::exec, FILE_SAVE, FILE_SPECIAL, wmOperatorType::flag, FOLDERFILE, wmOperatorType::idname, IMAGEFILE, wmOperatorType::invoke, MOVIEFILE, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, R_PNG, RNA_def_boolean(), RNA_def_enum(), save_as_check(), save_as_exec(), save_as_invoke(), space_image_buffer_exists_poll(), wmOperatorType::srna, WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by image_operatortypes().
| void IMAGE_OT_save_sequence | ( | struct wmOperatorType * | ot | ) |
Definition at line 1289 of file image_ops.c.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, save_sequence_exec(), and space_image_buffer_exists_poll().
Referenced by image_operatortypes().
| void IMAGE_OT_scopes | ( | struct wmOperatorType * | ot | ) |
Definition at line 888 of file image_buttons.c.
References wmOperatorType::description, ED_operator_image_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, image_scopes(), wmOperatorType::name, and wmOperatorType::poll.
Referenced by image_operatortypes().
| void IMAGE_OT_toolbox | ( | struct wmOperatorType * | ot | ) |
| void IMAGE_OT_unpack | ( | struct wmOperatorType * | ot | ) |
Definition at line 1660 of file image_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, image_unpack_exec(), image_unpack_invoke(), wmOperatorType::invoke, MAX_ID_NAME, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, PF_USE_LOCAL, RNA_def_enum(), RNA_def_string(), wmOperatorType::srna, and unpack_method_items.
Referenced by image_operatortypes().
| void IMAGE_OT_view_all | ( | struct wmOperatorType * | ot | ) |
Definition at line 540 of file image_ops.c.
References wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, wmOperatorType::poll, space_image_main_area_poll(), and view_all_exec().
Referenced by image_operatortypes().
| void IMAGE_OT_view_ndof | ( | struct wmOperatorType * | ot | ) |
Definition at line 487 of file image_ops.c.
References wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, and view_ndof_invoke().
Referenced by image_operatortypes().
| void IMAGE_OT_view_pan | ( | struct wmOperatorType * | ot | ) |
Definition at line 288 of file image_ops.c.
References wmOperatorType::cancel, wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, NULL, OPTYPE_BLOCKING, wmOperatorType::poll, RNA_def_float_vector(), space_image_main_area_poll(), wmOperatorType::srna, view_pan_cancel(), view_pan_exec(), view_pan_invoke(), and view_pan_modal().
Referenced by image_operatortypes().
| void IMAGE_OT_view_selected | ( | struct wmOperatorType * | ot | ) |
Definition at line 601 of file image_ops.c.
References wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, wmOperatorType::poll, view_selected_exec(), and view_selected_poll().
Referenced by image_operatortypes().
| void IMAGE_OT_view_zoom | ( | struct wmOperatorType * | ot | ) |
Definition at line 419 of file image_ops.c.
References wmOperatorType::cancel, wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, wmOperatorType::poll, RNA_def_float(), space_image_main_area_poll(), wmOperatorType::srna, view_zoom_cancel(), view_zoom_exec(), view_zoom_invoke(), and view_zoom_modal().
Referenced by image_operatortypes().
| void IMAGE_OT_view_zoom_in | ( | struct wmOperatorType * | ot | ) |
Definition at line 626 of file image_ops.c.
References wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, wmOperatorType::poll, space_image_main_area_poll(), and view_zoom_in_exec().
Referenced by image_operatortypes().
| void IMAGE_OT_view_zoom_out | ( | struct wmOperatorType * | ot | ) |
Definition at line 649 of file image_ops.c.
References wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, wmOperatorType::poll, space_image_main_area_poll(), and view_zoom_out_exec().
Referenced by image_operatortypes().
| void IMAGE_OT_view_zoom_ratio | ( | struct wmOperatorType * | ot | ) |
Definition at line 687 of file image_ops.c.
References wmOperatorType::exec, FLT_MAX, wmOperatorType::idname, wmOperatorType::name, wmOperatorType::poll, RNA_def_float(), space_image_main_area_poll(), wmOperatorType::srna, and view_zoom_ratio_exec().
Referenced by image_operatortypes().
Definition at line 160 of file image_buttons.c.
References CMP_NODE_SPLITVIEWER, CMP_NODE_VIEWER, ELEM, ListBase::first, bNode::flag, bNode::next, NODE_DO_OUTPUT, bNodeTree::nodes, NULL, bNode::storage, and bNode::type.
Referenced by draw_image_main(), and uiTemplateImage().
| int space_image_main_area_poll | ( | struct bContext * | C | ) |
Definition at line 163 of file image_ops.c.
References CTX_wm_space_image().
Referenced by IMAGE_OT_curves_point_set(), IMAGE_OT_sample(), IMAGE_OT_sample_line(), IMAGE_OT_view_all(), IMAGE_OT_view_pan(), IMAGE_OT_view_zoom(), IMAGE_OT_view_zoom_in(), IMAGE_OT_view_zoom_out(), IMAGE_OT_view_zoom_ratio(), and view_selected_poll().
| const char* image_context_dir[] |
Definition at line 672 of file space_image.c.