Blender V5.3
ED_image.hh File Reference
#include <array>
#include "DNA_listBase.h"
#include "DNA_space_types.h"
#include "BLI_string_ref.hh"

Go to the source code of this file.

Classes

struct  blender::ImageFrameRange
struct  blender::ImageFrame

Namespaces

namespace  blender
 BMesh Iterators.

Functions

float blender::ED_space_image_zoom_level (const View2D *v2d, int grid_dimension)
void blender::ED_space_image_grid_steps (SpaceImage *sima, float grid_steps_x[SI_GRID_STEPS_LEN], float grid_steps_y[SI_GRID_STEPS_LEN], int grid_dimension)
float blender::ED_space_image_increment_snap_value (int grid_dimensions, const float grid_steps[SI_GRID_STEPS_LEN], float zoom_factor)
Image * blender::ED_space_image (const SpaceImage *sima)
void blender::ED_space_image_set (Main *bmain, SpaceImage *sima, Image *ima, bool automatic)
void blender::ED_space_image_sync (Main *bmain, Image *image, bool ignore_render_viewer)
void blender::ED_space_image_auto_set (const bContext *C, SpaceImage *sima)
Mask * blender::ED_space_image_get_mask (const SpaceImage *sima)
void blender::ED_space_image_set_mask (bContext *C, SpaceImage *sima, Mask *mask)
ImBuf * blender::ED_space_image_acquire_buffer (SpaceImage *sima, void **r_lock, int tile, const bool ensure_host_buffer)
int blender::ED_space_image_get_display_channel_mask (ImBuf *ibuf)
void blender::ED_space_image_release_buffer (SpaceImage *sima, ImBuf *ibuf, void *lock)
bool blender::ED_space_image_has_buffer (SpaceImage *sima)
void blender::ED_space_image_get_size (SpaceImage *sima, int *r_width, int *r_height)
void blender::ED_space_image_get_size_fl (SpaceImage *sima, float r_size[2])
void blender::ED_space_image_get_aspect (SpaceImage *sima, float *r_aspx, float *r_aspy)
void blender::ED_space_image_get_zoom (SpaceImage *sima, const ARegion *region, float *r_zoomx, float *r_zoomy)
void blender::ED_space_image_get_uv_aspect (SpaceImage *sima, float *r_aspx, float *r_aspy)
void blender::ED_space_image_scopes_update (const bContext *C, SpaceImage *sima, ImBuf *ibuf, bool use_view_settings)
void blender::ED_image_get_uv_aspect (Image *ima, ImageUser *iuser, float *r_aspx, float *r_aspy)
void blender::ED_image_mouse_pos (SpaceImage *sima, const ARegion *region, const int mval[2], float co[2])
void blender::ED_image_view_center_to_point (SpaceImage *sima, float x, float y)
void blender::ED_image_point_pos (SpaceImage *sima, const ARegion *region, float x, float y, float *r_x, float *r_y)
void blender::ED_image_point_pos__reverse (SpaceImage *sima, const ARegion *region, const float co[2], float r_co[2])
bool blender::ED_image_slot_cycle (Image *image, int direction)
bool blender::ED_space_image_show_render (const SpaceImage *sima)
bool blender::ED_space_image_show_paint (const SpaceImage *sima)
bool blender::ED_space_image_show_mask (const SpaceImage *sima)
bool blender::ED_space_image_show_uvedit (const SpaceImage *sima, Object *obedit)
bool blender::ED_space_image_paint_curve (const bContext *C)
bool blender::ED_space_image_check_show_maskedit (SpaceImage *sima, Object *obedit)
bool blender::ED_space_image_maskedit_poll (bContext *C)
bool blender::ED_space_image_maskedit_visible_splines_poll (bContext *C)
bool blender::ED_space_image_maskedit_mask_poll (bContext *C)
bool blender::ED_space_image_maskedit_mask_visible_splines_poll (bContext *C)
bool blender::ED_space_image_cursor_poll (bContext *C)
bool blender::ED_space_image_region_cursor_poll (bContext *C)
void blender::ED_image_draw_info (Scene *scene, ARegion *region, bool color_manage, bool use_default_view, int channels, int x, int y, const unsigned char cp[4], const float fp[4], const float linearcol[4])
bool blender::ED_space_image_show_cache (const SpaceImage *sima)
bool blender::ED_space_image_show_cache_and_mval_over (const SpaceImage *sima, ARegion *region, const int mval[2])
ListBaseT< ImageFrameRange > blender::ED_image_filesel_detect_sequences (StringRefNull blendfile_path, StringRefNull root_path, wmOperator *op, bool detect_udim)
std::array< const char *, 4 > blender::ED_image_buttons_contexts (const bContext *C)
Sample Image Operator
bool blender::ED_space_image_get_position (SpaceImage *sima, ARegion *region, const int mval[2], float r_fpos[2])
bool blender::ED_space_image_color_sample (SpaceImage *sima, ARegion *region, const int mval[2], float r_col[3], bool *r_is_data)
Cursor Drawing
void blender::ED_space_image_paint_update (Main *bmain, wmWindowManager *wm, Scene *scene)
Save All Operator
bool blender::ED_image_should_save_modified (const Main *bmain)
int blender::ED_image_save_all_modified_info (const Main *bmain, ReportList *reports)
bool blender::ED_image_save_all_modified (const bContext *C, ReportList *reports)
void blender::ED_image_internal_autosave_flush (const Main *bmain)
Image Paint Poll
bool blender::ED_image_tools_paint_poll (bContext *C)