/dports/graphics/blender/blender-2.91.0/source/blender/editors/interface/ |
H A D | interface_region_popover.c | 161 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 D | view2d.c | 653 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 D | view2d_ops.c | 1541 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 D | interface_region_popup.c | 307 const float midy = BLI_rctf_cent_y(&butrct); in ui_popup_block_position()
|
H A D | interface_region_search.c | 765 if (but->rect.ymax < BLI_rctf_cent_y(&but->block->rect)) { in ui_searchbox_create_generic()
|
H A D | interface_region_tooltip.c | 1434 init_position[1] = BLI_rctf_cent_y(&but->rect); in UI_tooltip_create_from_button()
|
H A D | interface_handlers.c | 1529 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 D | rct.c | 621 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 D | BLI_rect.h | 148 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 D | sequencer_view.c | 318 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 D | view3d_gizmo_camera.c | 358 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 D | node_gizmo.c | 278 matrix[3][1] = (BLI_rctf_cent_y(&rct) - 0.5f) * dims[1]; in gizmo_node_crop_prop_matrix_get()
|
H A D | node_select.c | 850 const float cent[2] = {BLI_rctf_cent_x(&node->totr), BLI_rctf_cent_y(&node->totr)}; in do_lasso_select_node()
|
H A D | node_draw.c | 1354 float centy = BLI_rctf_cent_y(rct); in node_draw_hidden()
|
H A D | node_edit.c | 2219 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 D | transform_convert_action.c | 318 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 D | cage2d_gizmo.c | 552 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 D | anim_channels_defines.c | 5140 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 D | image_ops.c | 179 sima->yof = roundf((BLI_rctf_cent_y(bounds) - 0.5f) * image_size[1]); in sima_zoom_set_from_bounds()
|