Home
last modified time | relevance | path

Searched refs:BLI_rctf_cent_y (Results 1 – 19 of 19) sorted by relevance

/dports/graphics/blender/blender-2.91.0/source/blender/editors/interface/
H A Dinterface_region_popover.c161 float center[2] = {BLI_rctf_cent_x(&pup->but->rect), BLI_rctf_cent_y(&pup->but->rect)}; in ui_block_func_POPOVER()
218 bounds_offset[1] = -BLI_rctf_cent_y(&but->rect); in ui_block_func_POPOVER()
222 bounds_offset[1] = but_first ? -BLI_rctf_cent_y(&but_first->rect) : (UI_UNIT_Y / 2); in ui_block_func_POPOVER()
H A Dview2d.c653 temp = BLI_rctf_cent_y(cur); in ui_view2d_curRect_validate_resize()
781 temp = BLI_rctf_cent_y(tot); in ui_view2d_curRect_validate_resize()
1939 *r_y = BLI_rctf_cent_y(&v2d->cur); in UI_view2d_center_get()
H A Dview2d_ops.c1541 center = BLI_rctf_cent_y(&cur_new); in view_borderzoom_exec()
1672 const float cent_a[2] = {BLI_rctf_cent_x(rect_a), BLI_rctf_cent_y(rect_a)}; in smooth_view_rect_to_fac()
1673 const float cent_b[2] = {BLI_rctf_cent_x(rect_b), BLI_rctf_cent_y(rect_b)}; in smooth_view_rect_to_fac()
H A Dinterface_region_popup.c307 const float midy = BLI_rctf_cent_y(&butrct); in ui_popup_block_position()
H A Dinterface_region_search.c765 if (but->rect.ymax < BLI_rctf_cent_y(&but->block->rect)) { in ui_searchbox_create_generic()
H A Dinterface_region_tooltip.c1434 init_position[1] = BLI_rctf_cent_y(&but->rect); in UI_tooltip_create_from_button()
H A Dinterface_handlers.c1529 BLI_rctf_cent_y(&but->rect), in ui_drag_toggle_set()
1917 drag_info->but_cent_start[1] = BLI_rctf_cent_y(&but->rect); in ui_but_drag_init()
5224 data->ungrab_mval[1] = BLI_rctf_cent_y(&but->rect); in ui_numedit_but_SLI()
6358 const float cent[2] = {BLI_rctf_cent_x(&but->rect), BLI_rctf_cent_y(&but->rect)}; in ui_numedit_but_HSVCIRCLE()
9237 const float cent[2] = {BLI_rctf_cent_x(&rect_px), BLI_rctf_cent_y(&rect_px)}; in ui_mouse_motion_towards_check()
/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/intern/
H A Drct.c621 const float dy = y - BLI_rctf_cent_y(rect); in BLI_rctf_recenter()
670 rect->ymin = BLI_rctf_cent_y(rect) - (y * 0.5f); in BLI_rctf_resize_y()
677 rect->ymin = BLI_rctf_cent_y(rect) - (y * 0.5f); in BLI_rctf_resize()
697 const float cent_y = BLI_rctf_cent_y(rect); in BLI_rctf_scale()
1115 const float cent[2] = {BLI_rctf_cent_x(src), BLI_rctf_cent_y(src)}; in BLI_rctf_rotate_expand()
/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/
H A DBLI_rect.h148 BLI_INLINE float BLI_rctf_cent_y(const struct rctf *rct) in BLI_rctf_cent_y() function
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_sequencer/
H A Dsequencer_view.c318 ymid = BLI_rctf_cent_y(&cur_new); in sequencer_view_selected_exec()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_view3d/
H A Dview3d_gizmo_camera.c358 matrix[3][1] = BLI_rctf_cent_y(border); in gizmo_render_border_prop_matrix_get()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_node/
H A Dnode_gizmo.c278 matrix[3][1] = (BLI_rctf_cent_y(&rct) - 0.5f) * dims[1]; in gizmo_node_crop_prop_matrix_get()
H A Dnode_select.c850 const float cent[2] = {BLI_rctf_cent_x(&node->totr), BLI_rctf_cent_y(&node->totr)}; in do_lasso_select_node()
H A Dnode_draw.c1354 float centy = BLI_rctf_cent_y(rct); in node_draw_hidden()
H A Dnode_edit.c2219 center[1] += BLI_rctf_cent_y(&node->totr); in node_clipboard_paste_exec()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/transform/
H A Dtransform_convert_action.c318 float ypos = 1.0f / ((ysize / xsize) * (xmask / ymask)) * BLI_rctf_cent_y(&t->region->v2d.cur); in createTransActionData()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/gizmo_library/gizmo_types/
H A Dcage2d_gizmo.c552 const float center[2] = {BLI_rctf_cent_x(r), BLI_rctf_cent_y(r)}; in cage2d_draw_circle_wire()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/animation/
H A Danim_channels_defines.c5140 ymid = BLI_rctf_cent_y(rect) - 0.5f * ICON_WIDTH; in ANIM_channel_draw_widgets()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_image/
H A Dimage_ops.c179 sima->yof = roundf((BLI_rctf_cent_y(bounds) - 0.5f) * image_size[1]); in sima_zoom_set_from_bounds()