Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bezy-org/bezy
/ functions
Functions
1,593 in github.com/bezy-org/bezy
⨍
Functions
1,593
◇
Types & classes
440
↓ 3 callers
Function
create_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 callers
Function
create_contour_from_points
Create a UFO contour from a list of points
src/ui/edit_mode_toolbar/pen.rs:753
↓ 3 callers
Function
current_log_file
Get the path to the current log file
src/logging/mod.rs:22
↓ 3 callers
Method
delete
Delete sort at position
src/core/state/text_editor/buffer.rs:272
↓ 3 callers
Method
display_name
(&self)
src/ui/edit_mode_toolbar/text.rs:66
↓ 3 callers
Function
draw_no_report
(f: &mut Frame, area: Rect)
src/tui/tabs/qa.rs:727
↓ 3 callers
Function
find_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 callers
Method
find_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 callers
Method
get_advance_width
Get cached advance width or calculate and cache it
src/rendering/metrics.rs:68
↓ 3 callers
Method
get_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 callers
Method
get_cursor_entity
Get a cursor entity from the pool, or create a new one if none available
src/rendering/entity_pools.rs:79
↓ 3 callers
Method
get_cutting_line
Get the cutting line with axis locking if shift is pressed
src/ui/edit_mode_toolbar/knife.rs:94
↓ 3 callers
Method
get_name
Get the name for each pen submenu mode
src/ui/edit_mode_toolbar/pen.rs:223
↓ 3 callers
Function
get_path_start_point_inline
(path: &BezPath)
src/ui/edit_mode_toolbar/knife.rs:1977
↓ 3 callers
Method
id
(&self)
src/ui/edit_mode_toolbar/knife.rs:22
↓ 3 callers
Function
initialize_logs_directory
Initialize the logs directory
src/logging/mod.rs:28
↓ 3 callers
Function
is_pen_mode_active
Check if pen mode is currently active
src/ui/edit_mode_toolbar/pen.rs:383
↓ 3 callers
Function
is_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 callers
Method
load_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 callers
Method
move_cursor_left
Move cursor left by one position
src/core/state/text_editor/editor.rs:874
↓ 3 callers
Method
move_cursor_right
Move cursor right by one position
src/core/state/text_editor/editor.rs:892
↓ 3 callers
Method
on_exit
(&self)
src/ui/edit_mode_toolbar/pen.rs:64
↓ 3 callers
Function
path_to_segments
Convert a BezPath to a vector of segments
src/ui/edit_mode_toolbar/knife.rs:1699
↓ 3 callers
Method
reset
(&mut self)
src/tools/shapes.rs:40
↓ 3 callers
Function
reset_pen_state
Reset pen state to ready for next path
src/ui/edit_mode_toolbar/pen.rs:622
↓ 3 callers
Method
run
( &mut self, terminal: &mut Terminal<B>, app_rx: &mut mpsc::UnboundedReceiver<AppMessa
src/tui/app.rs:51
↓ 3 callers
Function
toolbar_submenu_top_position
Helper function to calculate submenu position below main toolbar
src/ui/theme_system/layout_constants.rs:64
↓ 3 callers
Function
unicode_char_to_standard_glyph_name
Get standard glyph name for common Unicode characters
src/systems/sorts/input_utilities.rs:191
↓ 3 callers
Function
update_cursor_entity
Update a cursor entity with new mesh and material
src/rendering/entity_pools.rs:405
↓ 3 callers
Method
with_file_context
( self, operation: &str, path: P, )
src/core/errors.rs:42
↓ 2 callers
Function
add_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 callers
Function
add_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 callers
Method
add_file_action
(&mut self, action: crate::tui::communication::FileAction)
src/tui/tabs/file.rs:36
↓ 2 callers
Function
add_plugin_groups
Add all plugin groups to the application
src/core/app/builder.rs:133
↓ 2 callers
Function
add_startup_and_exit_systems
Add startup and exit systems
src/core/app/builder.rs:145
↓ 2 callers
Method
analyze
(&self, font_path: &Path)
src/qa/fontspector.rs:31
↓ 2 callers
Function
calculate_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 callers
Function
calculate_final_position
Calculate the final position after applying snap-to-grid and axis locking
src/ui/edit_mode_toolbar/pen.rs:420
↓ 2 callers
Function
calculate_final_position_dpoint
Calculate the final position after applying snap-to-grid and axis locking
src/tools/pen.rs:813
↓ 2 callers
Function
calculate_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 callers
Function
calculate_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 callers
Function
calculate_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 callers
Function
can_connect_to_next
Check if an Arabic letter can connect to the next letter
src/systems/text_shaping.rs:152
↓ 2 callers
Method
checkerboard_max_zoom_visible
(&self)
src/ui/theme_system/core.rs:454
↓ 2 callers
Function
clear_cursor_entities
Clear all cursor entities from the screen (internal)
src/rendering/text_cursor.rs:64
↓ 2 callers
Function
config_dir
Get the path to the bezy config directory
src/logging/mod.rs:11
↓ 2 callers
Function
configure_default_plugins
()
src/systems/plugins.rs:41
↓ 2 callers
Function
configure_resources
Sets up application resources and configuration
src/core/app/builder.rs:46
↓ 2 callers
Function
convert_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 callers
Function
create_button_styling
Creates the button styling configuration
src/ui/edit_mode_toolbar/ui.rs:143
↓ 2 callers
Function
create_circle_mesh
Create a circular mesh for cursor ends
src/rendering/text_cursor.rs:189
↓ 2 callers
Function
create_hyper_contour
Create a hyperbezier contour from points
src/ui/edit_mode_toolbar/hyper.rs:300
↓ 2 callers
Function
create_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 callers
Function
create_sort
Create a new sort and add it to the world
src/editing/sort/manager.rs:122
↓ 2 callers
Function
create_text_buffer
Creates a new text buffer entity with the specified parameters
src/systems/text_buffer_manager.rs:51
↓ 2 callers
Method
create_theme
Create a theme instance by name
src/ui/theme_system/core.rs:51
↓ 2 callers
Function
create_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 callers
Function
create_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 callers
Method
delete_sort_at_cursor
Delete the sort at the cursor position
src/core/state/text_editor/editor.rs:777
↓ 2 callers
Method
end_drag
(&mut self)
src/tools/select/select_state.rs:28
↓ 2 callers
Function
finalize_pen_path
Helper function to finalize the current pen path
src/tools/pen.rs:519
↓ 2 callers
Function
find_point_near_position
Find a point near the given position (within 1.0 units, expanded tolerance)
src/ui/file_menu.rs:694
↓ 2 callers
Function
get_all_codepoints
Get all unicode codepoints available in the font
src/core/state/navigation.rs:79
↓ 2 callers
Method
get_bounds
(&self)
src/tools/shapes.rs:46
↓ 2 callers
Function
get_glyph_advance_width
Get advance width for a glyph from AppState
src/systems/sorts/unicode_input.rs:740
↓ 2 callers
Method
get_measuring_line
Get the measuring line with axis locking if shift is pressed
src/systems/input_consumer.rs:602
↓ 2 callers
Method
get_previous
Get the previously active tool
src/ui/edit_mode_toolbar/mod.rs:269
↓ 2 callers
Method
get_rect
Get the rectangle from the current drawing state
src/ui/edit_mode_toolbar/shapes.rs:127
↓ 2 callers
Method
get_text_sorts
Get only text sorts (sorts that flow like text)
src/core/state/text_editor/editor.rs:9
↓ 2 callers
Method
handle_line_color
(&self)
src/ui/themes/dark.rs:107
↓ 2 callers
Function
handle_selection_click
( commands: &mut Commands, position: &DPoint, modifiers: &crate::io::input::ModifierState, _dr
src/editing/selection/systems.rs:739
↓ 2 callers
Function
handle_selection_drag
( commands: &mut Commands, start_position: &DPoint, current_position: &DPoint, delta: &Vec2,
src/editing/selection/systems.rs:945
↓ 2 callers
Function
handle_selection_release
( commands: &mut Commands, position: &DPoint, _modifiers: &crate::io::input::ModifierState, dr
src/editing/selection/systems.rs:1162
↓ 2 callers
Function
handle_space_character
( commands: &mut Commands, text_editor_state: &mut ResMut<TextEditorState>, app_state: &Option<Res
src/systems/sorts/unicode_input.rs:371
↓ 2 callers
Method
insert_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 callers
Method
is_line_break
(&self)
src/core/state/text_editor/buffer.rs:351
↓ 2 callers
Function
is_ui_consuming
Check if input is being consumed by UI
src/io/input.rs:583
↓ 2 callers
Function
lerp_scale
Linear interpolation between two scale factors
src/rendering/zoom_aware_scaling.rs:137
↓ 2 callers
Function
line_line_intersection_simple
Helper functions from knife tool (reused for measure tool)
src/ui/edit_mode_toolbar/measure.rs:394
↓ 2 callers
Function
line_line_intersection_simple
(line1: &kurbo::Line, line2: &kurbo::Line)
src/ui/edit_mode_toolbar/knife.rs:1867
↓ 2 callers
Function
line_line_intersection_with_parameter
Line-line intersection with parameter information
src/ui/edit_mode_toolbar/knife.rs:1795
↓ 2 callers
Function
logs_dir
Get the path to the logs directory
src/logging/mod.rs:17
↓ 2 callers
Method
metaball_outline_color
(&self)
src/ui/themes/dark.rs:195
↓ 2 callers
Method
move_cursor_down_multiline
Move cursor down to the next line (multi-line aware)
src/core/state/text_editor/editor.rs:1184
↓ 2 callers
Method
move_cursor_up_multiline
Move cursor up to the previous line (multi-line aware)
src/core/state/text_editor/editor.rs:1121
↓ 2 callers
Method
move_gap_to
Move gap to position for efficient insertion/deletion
src/core/state/text_editor/buffer.rs:216
↓ 2 callers
Method
name
Get the tool's display name
src/tools/tool_state.rs:94
↓ 2 callers
Method
name
Get the display name of this theme
src/ui/theme_system/core.rs:123
↓ 2 callers
Method
off_curve_inner_circle_ratio
(&self)
src/ui/theme_system/core.rs:324
↓ 2 callers
Method
off_curve_primary_color
(&self)
src/ui/themes/dark.rs:87
↓ 2 callers
Method
off_curve_secondary_color
(&self)
src/ui/themes/dark.rs:91
↓ 2 callers
Method
on_curve_primary_color
(&self)
src/ui/themes/dark.rs:79
↓ 2 callers
Method
on_curve_secondary_color
(&self)
src/ui/themes/dark.rs:83
↓ 2 callers
Method
on_curve_square_adjustment
Point layout details
src/ui/theme_system/core.rs:318
↓ 2 callers
Method
page_down
(&mut self, max_items: usize, page_size: usize)
src/tui/tabs/unicode.rs:49
↓ 2 callers
Method
page_up
(&mut self, page_size: usize)
src/tui/tabs/unicode.rs:55
↓ 2 callers
Function
point_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 callers
Function
point_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 callers
Method
pop_temporary
Pop temporary tool and return to previous
src/tools/tool_state.rs:44
↓ 2 callers
Method
push_temporary
Push a temporary tool (like spacebar pan)
src/tools/tool_state.rs:36
← previous
next →
101–200 of 1,593, ranked by callers