MCPcopy Create free account

hub / github.com/bezy-org/bezy / functions

Functions1,593 in github.com/bezy-org/bezy

↓ 3 callersFunctioncreate_button_icon_text
Creates properly centered button icon text - shared helper for consistent alignment This should be used by all toolbar buttons (main toolbar and subme
src/ui/edit_mode_toolbar/ui.rs:169
↓ 3 callersFunctioncreate_contour_from_points
Create a UFO contour from a list of points
src/ui/edit_mode_toolbar/pen.rs:753
↓ 3 callersFunctioncurrent_log_file
Get the path to the current log file
src/logging/mod.rs:22
↓ 3 callersMethoddelete
Delete sort at position
src/core/state/text_editor/buffer.rs:272
↓ 3 callersMethoddisplay_name
(&self)
src/ui/edit_mode_toolbar/text.rs:66
↓ 3 callersFunctiondraw_no_report
(f: &mut Frame, area: Rect)
src/tui/tabs/qa.rs:727
↓ 3 callersFunctionfind_direct_neighbor_handles
Simple function to find direct neighbor handles in a contour Returns (left_handle, right_handle) where either or both can be None
src/editing/smooth_curves.rs:53
↓ 3 callersMethodfind_sort_handle_at_position
Find a sort handle at a given world position (for freeform sorts)
src/core/state/text_editor/editor.rs:412
↓ 3 callersMethodget_advance_width
Get cached advance width or calculate and cache it
src/rendering/metrics.rs:68
↓ 3 callersMethodget_buffer_sequence_length
Helper: Get the length of a buffer sequence starting from a buffer root
src/core/state/text_editor/editor.rs:1006
↓ 3 callersMethodget_cursor_entity
Get a cursor entity from the pool, or create a new one if none available
src/rendering/entity_pools.rs:79
↓ 3 callersMethodget_cutting_line
Get the cutting line with axis locking if shift is pressed
src/ui/edit_mode_toolbar/knife.rs:94
↓ 3 callersMethodget_name
Get the name for each pen submenu mode
src/ui/edit_mode_toolbar/pen.rs:223
↓ 3 callersFunctionget_path_start_point_inline
(path: &BezPath)
src/ui/edit_mode_toolbar/knife.rs:1977
↓ 3 callersMethodid
(&self)
src/ui/edit_mode_toolbar/knife.rs:22
↓ 3 callersFunctioninitialize_logs_directory
Initialize the logs directory
src/logging/mod.rs:28
↓ 3 callersFunctionis_pen_mode_active
Check if pen mode is currently active
src/ui/edit_mode_toolbar/pen.rs:383
↓ 3 callersFunctionis_point_selectable_by_marquee
Simulate a camera at a given position and scale, and a point at a given design space position. Returns true if a marquee at the visible area would sel
src/rendering/cameras.rs:105
↓ 3 callersMethodload_font_from_path
Load a font from a UFO file path This method loads a UFO font file and converts it into our optimized internal representation for real-time editing.
src/core/state/app_state.rs:37
↓ 3 callersMethodmove_cursor_left
Move cursor left by one position
src/core/state/text_editor/editor.rs:874
↓ 3 callersMethodmove_cursor_right
Move cursor right by one position
src/core/state/text_editor/editor.rs:892
↓ 3 callersMethodon_exit
(&self)
src/ui/edit_mode_toolbar/pen.rs:64
↓ 3 callersFunctionpath_to_segments
Convert a BezPath to a vector of segments
src/ui/edit_mode_toolbar/knife.rs:1699
↓ 3 callersMethodreset
(&mut self)
src/tools/shapes.rs:40
↓ 3 callersFunctionreset_pen_state
Reset pen state to ready for next path
src/ui/edit_mode_toolbar/pen.rs:622
↓ 3 callersMethodrun
( &mut self, terminal: &mut Terminal<B>, app_rx: &mut mpsc::UnboundedReceiver<AppMessa
src/tui/app.rs:51
↓ 3 callersFunctiontoolbar_submenu_top_position
Helper function to calculate submenu position below main toolbar
src/ui/theme_system/layout_constants.rs:64
↓ 3 callersFunctionunicode_char_to_standard_glyph_name
Get standard glyph name for common Unicode characters
src/systems/sorts/input_utilities.rs:191
↓ 3 callersFunctionupdate_cursor_entity
Update a cursor entity with new mesh and material
src/rendering/entity_pools.rs:405
↓ 3 callersMethodwith_file_context
( self, operation: &str, path: P, )
src/core/errors.rs:42
↓ 2 callersFunctionadd_contour_portion_from_intersection
Add a portion of a contour to the bridged path, starting from an intersection point
src/ui/edit_mode_toolbar/knife.rs:961
↓ 2 callersFunctionadd_contour_to_glyph
Add a contour to the current glyph using the current thread-safe architecture
src/ui/edit_mode_toolbar/pen.rs:548
↓ 2 callersMethodadd_file_action
(&mut self, action: crate::tui::communication::FileAction)
src/tui/tabs/file.rs:36
↓ 2 callersFunctionadd_plugin_groups
Add all plugin groups to the application
src/core/app/builder.rs:133
↓ 2 callersFunctionadd_startup_and_exit_systems
Add startup and exit systems
src/core/app/builder.rs:145
↓ 2 callersMethodanalyze
(&self, font_path: &Path)
src/qa/fontspector.rs:31
↓ 2 callersFunctioncalculate_buffer_local_position
Modern ECS-based positioning for text sorts using buffer entities This uses the SHARED text flow positioning system to ensure perfect alignment betwe
src/systems/sorts/sort_entities.rs:138
↓ 2 callersFunctioncalculate_final_position
Calculate the final position after applying snap-to-grid and axis locking
src/ui/edit_mode_toolbar/pen.rs:420
↓ 2 callersFunctioncalculate_final_position_dpoint
Calculate the final position after applying snap-to-grid and axis locking
src/tools/pen.rs:813
↓ 2 callersFunctioncalculate_final_position_with_constraints
Apply grid snap and axis locking to a position This is the common logic used by various tools for position calculation
src/geometry/utilities.rs:22
↓ 2 callersFunctioncalculate_line_navigation_position
Calculate cursor position for up/down line navigation This function handles line breaks and tries to maintain horizontal position
src/systems/sorts/unicode_input.rs:1118
↓ 2 callersFunctioncalculate_text_flow_offset
Calculate text flow offset for a position within a buffer This is the SINGLE SOURCE OF TRUTH for text positioning in both LTR and RTL modes. Used by
src/systems/sorts/text_flow_positioning.rs:12
↓ 2 callersFunctioncan_connect_to_next
Check if an Arabic letter can connect to the next letter
src/systems/text_shaping.rs:152
↓ 2 callersMethodcheckerboard_max_zoom_visible
(&self)
src/ui/theme_system/core.rs:454
↓ 2 callersFunctionclear_cursor_entities
Clear all cursor entities from the screen (internal)
src/rendering/text_cursor.rs:64
↓ 2 callersFunctionconfig_dir
Get the path to the bezy config directory
src/logging/mod.rs:11
↓ 2 callersFunctionconfigure_default_plugins
()
src/systems/plugins.rs:41
↓ 2 callersFunctionconfigure_resources
Sets up application resources and configuration
src/core/app/builder.rs:46
↓ 2 callersFunctionconvert_bezpath_to_ufo_contour_with_attributes
Convert BezPath to UFO contour with enhanced point attributes This version looks up enhanced point data to preserve attributes like smooth flags
src/ui/file_menu.rs:530
↓ 2 callersFunctioncreate_button_styling
Creates the button styling configuration
src/ui/edit_mode_toolbar/ui.rs:143
↓ 2 callersFunctioncreate_circle_mesh
Create a circular mesh for cursor ends
src/rendering/text_cursor.rs:189
↓ 2 callersFunctioncreate_hyper_contour
Create a hyperbezier contour from points
src/ui/edit_mode_toolbar/hyper.rs:300
↓ 2 callersFunctioncreate_label_text
Creates standardized label text with consistent font and styling This consolidates the duplicate text creation pattern found across 20+ locations
src/ui/edit_mode_toolbar/ui.rs:673
↓ 2 callersFunctioncreate_sort
Create a new sort and add it to the world
src/editing/sort/manager.rs:122
↓ 2 callersFunctioncreate_text_buffer
Creates a new text buffer entity with the specified parameters
src/systems/text_buffer_manager.rs:51
↓ 2 callersMethodcreate_theme
Create a theme instance by name
src/ui/theme_system/core.rs:51
↓ 2 callersFunctioncreate_value_text
Creates standardized value text with consistent font and styling This consolidates the duplicate text creation pattern for secondary text
src/ui/edit_mode_toolbar/ui.rs:696
↓ 2 callersFunctioncreate_widget_style
Creates a consistent styled container for UI widgets/panes Uses the current theme for colors
src/ui/theme_system/layout_constants.rs:108
↓ 2 callersMethoddelete_sort_at_cursor
Delete the sort at the cursor position
src/core/state/text_editor/editor.rs:777
↓ 2 callersMethodend_drag
(&mut self)
src/tools/select/select_state.rs:28
↓ 2 callersFunctionfinalize_pen_path
Helper function to finalize the current pen path
src/tools/pen.rs:519
↓ 2 callersFunctionfind_point_near_position
Find a point near the given position (within 1.0 units, expanded tolerance)
src/ui/file_menu.rs:694
↓ 2 callersFunctionget_all_codepoints
Get all unicode codepoints available in the font
src/core/state/navigation.rs:79
↓ 2 callersMethodget_bounds
(&self)
src/tools/shapes.rs:46
↓ 2 callersFunctionget_glyph_advance_width
Get advance width for a glyph from AppState
src/systems/sorts/unicode_input.rs:740
↓ 2 callersMethodget_measuring_line
Get the measuring line with axis locking if shift is pressed
src/systems/input_consumer.rs:602
↓ 2 callersMethodget_previous
Get the previously active tool
src/ui/edit_mode_toolbar/mod.rs:269
↓ 2 callersMethodget_rect
Get the rectangle from the current drawing state
src/ui/edit_mode_toolbar/shapes.rs:127
↓ 2 callersMethodget_text_sorts
Get only text sorts (sorts that flow like text)
src/core/state/text_editor/editor.rs:9
↓ 2 callersMethodhandle_line_color
(&self)
src/ui/themes/dark.rs:107
↓ 2 callersFunctionhandle_selection_click
( commands: &mut Commands, position: &DPoint, modifiers: &crate::io::input::ModifierState, _dr
src/editing/selection/systems.rs:739
↓ 2 callersFunctionhandle_selection_drag
( commands: &mut Commands, start_position: &DPoint, current_position: &DPoint, delta: &Vec2,
src/editing/selection/systems.rs:945
↓ 2 callersFunctionhandle_selection_release
( commands: &mut Commands, position: &DPoint, _modifiers: &crate::io::input::ModifierState, dr
src/editing/selection/systems.rs:1162
↓ 2 callersFunctionhandle_space_character
( commands: &mut Commands, text_editor_state: &mut ResMut<TextEditorState>, app_state: &Option<Res
src/systems/sorts/unicode_input.rs:371
↓ 2 callersMethodinsert_sort_at_cursor_with_respawn
Insert a new sort at the cursor position with optional respawn queue for entity management
src/core/state/text_editor/editor.rs:586
↓ 2 callersMethodis_line_break
(&self)
src/core/state/text_editor/buffer.rs:351
↓ 2 callersFunctionis_ui_consuming
Check if input is being consumed by UI
src/io/input.rs:583
↓ 2 callersFunctionlerp_scale
Linear interpolation between two scale factors
src/rendering/zoom_aware_scaling.rs:137
↓ 2 callersFunctionline_line_intersection_simple
Helper functions from knife tool (reused for measure tool)
src/ui/edit_mode_toolbar/measure.rs:394
↓ 2 callersFunctionline_line_intersection_simple
(line1: &kurbo::Line, line2: &kurbo::Line)
src/ui/edit_mode_toolbar/knife.rs:1867
↓ 2 callersFunctionline_line_intersection_with_parameter
Line-line intersection with parameter information
src/ui/edit_mode_toolbar/knife.rs:1795
↓ 2 callersFunctionlogs_dir
Get the path to the logs directory
src/logging/mod.rs:17
↓ 2 callersMethodmetaball_outline_color
(&self)
src/ui/themes/dark.rs:195
↓ 2 callersMethodmove_cursor_down_multiline
Move cursor down to the next line (multi-line aware)
src/core/state/text_editor/editor.rs:1184
↓ 2 callersMethodmove_cursor_up_multiline
Move cursor up to the previous line (multi-line aware)
src/core/state/text_editor/editor.rs:1121
↓ 2 callersMethodmove_gap_to
Move gap to position for efficient insertion/deletion
src/core/state/text_editor/buffer.rs:216
↓ 2 callersMethodname
Get the tool's display name
src/tools/tool_state.rs:94
↓ 2 callersMethodname
Get the display name of this theme
src/ui/theme_system/core.rs:123
↓ 2 callersMethodoff_curve_inner_circle_ratio
(&self)
src/ui/theme_system/core.rs:324
↓ 2 callersMethodoff_curve_primary_color
(&self)
src/ui/themes/dark.rs:87
↓ 2 callersMethodoff_curve_secondary_color
(&self)
src/ui/themes/dark.rs:91
↓ 2 callersMethodon_curve_primary_color
(&self)
src/ui/themes/dark.rs:79
↓ 2 callersMethodon_curve_secondary_color
(&self)
src/ui/themes/dark.rs:83
↓ 2 callersMethodon_curve_square_adjustment
Point layout details
src/ui/theme_system/core.rs:318
↓ 2 callersMethodpage_down
(&mut self, max_items: usize, page_size: usize)
src/tui/tabs/unicode.rs:49
↓ 2 callersMethodpage_up
(&mut self, page_size: usize)
src/tui/tabs/unicode.rs:55
↓ 2 callersFunctionpoint_lies_on_line_segment
Check if a point lies on a line segment (not just the infinite line)
src/ui/edit_mode_toolbar/measure.rs:472
↓ 2 callersFunctionpoint_lies_on_line_segment
Check if a point lies on a line segment (not just the infinite line)
src/ui/edit_mode_toolbar/knife.rs:1947
↓ 2 callersMethodpop_temporary
Pop temporary tool and return to previous
src/tools/tool_state.rs:44
↓ 2 callersMethodpush_temporary
Push a temporary tool (like spacebar pan)
src/tools/tool_state.rs:36
← previousnext →101–200 of 1,593, ranked by callers