73 ImBuf *image_buffer) = 0;
virtual void release_buffer(blender::Image *image, ImBuf *image_buffer, void *lock)=0
virtual float get_aspect_ratio() const =0
Gets the aspect ratio of the image. The ratio is for the vertical axis.
virtual float2 get_pan_offset() const =0
Gets the pan offset of the space in image pixel space.
virtual float get_zoom() const =0
Gets the zoom factor of the space. A factor of 2 is a zoom-in by two times.
virtual blender::ImageUser * get_image_user()=0
virtual blender::Image * get_image(Main *bmain)=0
virtual ImBuf * acquire_image_buffer(blender::Image *image, void **lock)=0
virtual void get_shader_parameters(ShaderParameters &r_shader_parameters, ImBuf *image_buffer)=0
virtual bool use_display_window() const =0
Draw image with display window offsets.
virtual ~AbstractSpaceAccessor()=default
virtual bool use_tile_drawing() const =0
Is (wrap) repeat option enabled in the space.
VecBase< float, 2 > float2