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
↓ 342 callers
Method
iter
Get an iterator over all sorts (excluding gap)
src/core/state/text_editor/buffer.rs:315
↓ 199 callers
Method
len
Get the logical length (excluding gap)
src/core/state/text_editor/buffer.rs:180
↓ 198 callers
Method
theme
Get the current theme implementation
src/ui/theme_system/core.rs:575
↓ 153 callers
Method
get
Get sort at logical position
src/core/state/text_editor/buffer.rs:190
↓ 132 callers
Method
add
(self, other: DVec2)
src/geometry/world_space.rs:106
↓ 125 callers
Method
insert
Insert sort at position
src/core/state/text_editor/buffer.rs:253
↓ 105 callers
Method
is_empty
(&self)
src/editing/edit_session.rs:19
↓ 74 callers
Method
clear
Clear all cached data (useful for debugging)
src/rendering/metrics.rs:110
↓ 53 callers
Method
get_mut
Get mutable sort at logical position
src/core/state/text_editor/buffer.rs:203
↓ 51 callers
Method
get_current
Get the currently active tool
src/ui/edit_mode_toolbar/mod.rs:264
↓ 37 callers
Method
to_raw
Convert a design point directly to a Vec2, without taking screen geometry into account.
src/geometry/world_space.rs:53
↓ 36 callers
Method
load_font_with_fallback
(&self, path: &str, embedded_fonts: &EmbeddedFonts)
src/utils/embedded_assets.rs:69
↓ 35 callers
Method
mono_font_path
(&self)
src/ui/theme_system/core.rs:163
↓ 33 callers
Method
id
(&self)
src/ui/edit_mode_toolbar/pen.rs:29
↓ 31 callers
Function
spawn_metrics_line
Helper to spawn a mesh-based metrics line
src/rendering/metrics.rs:146
↓ 24 callers
Method
title
(&self)
src/tui/tabs/mod.rs:32
↓ 21 callers
Function
create_line_mesh
Create a line mesh between two points with the specified width Returns a mesh centered at the midpoint between start and end
src/rendering/mesh_utils.rs:11
↓ 20 callers
Function
add_segment_to_path
Add a segment to a BezPath
src/ui/edit_mode_toolbar/knife.rs:1768
↓ 19 callers
Method
send
(&self, message: AppMessage)
src/core/tui_communication.rs:27
↓ 18 callers
Method
adjusted_line_width
Get the adjusted line width based on camera zoom
src/rendering/zoom_aware_scaling.rs:126
↓ 17 callers
Method
active_color
Get the active color for the current theme
src/ui/theme_system/core.rs:647
↓ 17 callers
Method
is_active
Check if a specific tool is active
src/tools/tool_state.rs:66
↓ 16 callers
Method
line_to
Create a line point
src/font_source/ufo_point.rs:88
↓ 15 callers
Method
as_str
(&self)
src/qa/mod.rs:70
↓ 15 callers
Method
get_ui_text_primary
Get the primary UI text color (most prominent text)
src/ui/theme_system/core.rs:608
↓ 15 callers
Method
move_to
Create a move point (first point in contour)
src/font_source/ufo_point.rs:83
↓ 12 callers
Function
is_input_mode
Check if the current input mode matches the given mode
src/io/input.rs:588
↓ 12 callers
Method
length
(self)
src/geometry/world_space.rs:89
↓ 11 callers
Function
extract_subsegment
Extract a subsegment from a PathSegment
src/ui/edit_mode_toolbar/knife.rs:1747
↓ 11 callers
Method
find_active_buffer_root_index
Helper: Find the index of the active buffer root
src/core/state/text_editor/editor.rs:972
↓ 11 callers
Method
get_glyph
Get a glyph by name
src/font_source/data.rs:121
↓ 11 callers
Method
get_tool
Get a tool by its ID
src/ui/edit_mode_toolbar/mod.rs:214
↓ 11 callers
Method
scale_factor
Gets the current scale factor
src/rendering/zoom_aware_scaling.rs:95
↓ 10 callers
Method
button_regular_outline
(&self)
src/ui/themes/dark.rs:51
↓ 10 callers
Function
draw
(f: &mut Frame, app: &mut App)
src/tui/ui.rs:10
↓ 10 callers
Function
handle_key_event
Handle key events for the AI tab
src/tui/tabs/ai.rs:35
↓ 10 callers
Function
spawn_preview_metrics_line
Helper function to spawn preview metrics lines with special component
src/rendering/metrics.rs:1196
↓ 9 callers
Method
adjusted_size
Get the adjusted size for any element
src/rendering/zoom_aware_scaling.rs:131
↓ 9 callers
Method
register_tool
Register a new tool with the registry
src/ui/edit_mode_toolbar/mod.rs:206
↓ 9 callers
Method
switch_to
Switch to a new tool
src/ui/edit_mode_toolbar/mod.rs:257
↓ 8 callers
Method
button_regular
(&self)
src/ui/themes/dark.rs:39
↓ 8 callers
Function
spawn_line_mesh
Helper to spawn a line mesh entity for unified rendering
src/rendering/glyph_renderer.rs:1394
↓ 7 callers
Method
action_color
Get the action color for the current theme
src/ui/theme_system/core.rs:637
↓ 7 callers
Method
button_pressed
(&self)
src/ui/themes/dark.rs:47
↓ 7 callers
Method
handle_input
(&mut self, event: &InputEvent, _input_state: &InputState)
src/systems/input_consumer.rs:65
↓ 7 callers
Method
is_on_curve
Check if this point type is on-curve (not a control point)
src/font_source/ufo_point.rs:32
↓ 7 callers
Method
path_line_width
Larger values = thicker lines at all zoom levels
src/ui/theme_system/core.rs:334
↓ 7 callers
Method
path_stroke_color
(&self)
src/ui/themes/dark.rs:99
↓ 7 callers
Method
should_handle_input
(&self, event: &InputEvent, input_state: &InputState)
src/systems/input_consumer.rs:46
↓ 6 callers
Method
get_sort_visual_position
Get the visual position for a sort based on its layout mode
src/core/state/text_editor/editor.rs:388
↓ 6 callers
Method
glyph_name
(&self)
src/core/state/text_editor/buffer.rs:362
↓ 6 callers
Method
is_smooth
Check if the point is smooth
src/editing/selection/enhanced_point_component.rs:102
↓ 6 callers
Method
next
(&mut self)
src/core/state/text_editor/buffer.rs:335
↓ 6 callers
Method
on_curve_point_radius
Point rendering These values are multiplied by zoom-aware scaling factors (see zoom_aware_scaling.rs) Larger values = bigger points at all zoom levels
src/ui/theme_system/core.rs:302
↓ 6 callers
Method
sort_active_metrics_color
(&self)
src/ui/themes/dark.rs:223
↓ 5 callers
Method
apply_grid_snap
(&self, position: Vec2)
src/core/config/settings.rs:65
↓ 5 callers
Method
button_pressed_outline
(&self)
src/ui/themes/dark.rs:59
↓ 5 callers
Function
despawn_all_squares
Despawns all checkerboard squares
src/rendering/checkerboard.rs:630
↓ 5 callers
Method
get_active_sort
Get the currently active sort
src/core/state/text_editor/editor.rs:479
↓ 5 callers
Method
id
(&self)
src/ui/edit_mode_toolbar/measure.rs:13
↓ 5 callers
Function
insert_character_at_buffer_cursor
( character: char, glyph_name: String, advance_width: f32, _commands: &mut Commands, text_
src/systems/sorts/unicode_input.rs:756
↓ 5 callers
Method
is_empty
Check if the buffer is empty
src/core/state/text_editor/buffer.rs:185
↓ 5 callers
Method
load
Load configuration from the user config file
src/core/config/user_config.rs:38
↓ 5 callers
Method
save
Save configuration to the user config file
src/core/config/user_config.rs:64
↓ 5 callers
Method
set_point_position
Set the position of a point
src/core/state/app_state.rs:116
↓ 5 callers
Method
sort_inactive_metrics_color
(&self)
src/ui/themes/dark.rs:227
↓ 5 callers
Method
toolbar_button_size
Button sizes
src/ui/theme_system/core.rs:235
↓ 5 callers
Method
toolbar_container_margin
(&self)
src/ui/theme_system/core.rs:221
↓ 5 callers
Function
update_toolbar_button_colors
Updates standard button colors with consistent styling This should be used by all standard button color update systems for consistency
src/ui/edit_mode_toolbar/ui.rs:250
↓ 5 callers
Function
update_toolbar_button_text_colors
Updates button text (icon) colors using the unified color system This should be used by all button text color update systems for consistency
src/ui/edit_mode_toolbar/ui.rs:278
↓ 4 callers
Method
activate
Switch to a new tool
src/tools/tool_state.rs:26
↓ 4 callers
Method
as_f32
(self)
src/font_source/metrics.rs:181
↓ 4 callers
Method
as_str
Convert to string ID (used in UI)
src/tools/tool_state.rs:127
↓ 4 callers
Function
calculate_dynamic_grid_size
Calculates the appropriate grid size based on zoom level CRITICAL: This function implements the correct zoom-to-grid-size relationship: - When ZOOMED
src/rendering/checkerboard.rs:88
↓ 4 callers
Function
create_dashed_line_meshes
Create mesh-based dashed line segments
src/rendering/selection.rs:123
↓ 4 callers
Function
create_dashed_line_meshes
Create dashed line mesh entities between two points
src/rendering/metrics.rs:1388
↓ 4 callers
Function
create_toolbar_button_with_hover_text
Creates a standard button with hover text support This version allows specifying the hover text to display when the button is hovered
src/ui/edit_mode_toolbar/ui.rs:216
↓ 4 callers
Method
curve_to
Create a cubic curve point
src/font_source/ufo_point.rs:98
↓ 4 callers
Function
delete_character_at_buffer_cursor
Delete character at buffer cursor position with proper respawn queue management
src/systems/sorts/unicode_input.rs:620
↓ 4 callers
Function
extract_editable_points
Extract all editable points from a BezPath
src/geometry/bezpath_editing.rs:34
↓ 4 callers
Method
find_glyph
Find the glyph name for the current codepoint
src/core/state/navigation.rs:50
↓ 4 callers
Function
get_theme_registry
Get the global theme registry
src/ui/theme_system/core.rs:85
↓ 4 callers
Function
is_arabic_letter
Check if a character is an Arabic letter that needs shaping
src/systems/text_shaping.rs:145
↓ 4 callers
Function
is_rtl_layout_mode
Helper function to check if a layout mode is right-to-left
src/core/state/text_editor/editor.rs:1249
↓ 4 callers
Method
move_cursor_to
Move cursor to a specific position (now works with per-buffer-root cursors)
src/core/state/text_editor/editor.rs:856
↓ 4 callers
Method
off_curve_point_radius
(&self)
src/ui/theme_system/core.rs:305
↓ 4 callers
Method
on_curve_inner_circle_ratio
(&self)
src/ui/theme_system/core.rs:321
↓ 4 callers
Method
on_enter
(&self)
src/ui/edit_mode_toolbar/pen.rs:60
↓ 4 callers
Method
parse
Parse theme name from string (case-insensitive)
src/ui/theme_system/core.rs:111
↓ 4 callers
Method
send_log
(&self, message: String)
src/core/tui_communication.rs:43
↓ 4 callers
Function
spawn_arrow
Spawn a small arrow at the given position pointing in the given direction
src/ui/edit_mode_toolbar/shapes.rs:945
↓ 4 callers
Method
switch_to
Switch to a different theme variant
src/ui/theme_system/core.rs:580
↓ 4 callers
Function
sync_to_font_data
Sync point movements to font data
src/editing/selection/point_movement.rs:180
↓ 4 callers
Method
to_bezpaths
(&self)
src/data/conversions.rs:120
↓ 4 callers
Method
widget_margin
(&self)
src/ui/theme_system/core.rs:204
↓ 3 callers
Method
button_regular_icon
(&self)
src/ui/themes/dark.rs:63
↓ 3 callers
Method
calculate_font_hash
(&self, font_path: &Path)
src/qa/storage.rs:230
↓ 3 callers
Method
checkerboard_default_unit_size
(&self)
src/ui/theme_system/core.rs:445
↓ 3 callers
Method
clear_all_states
Clear both active state and selections from all sorts
src/core/state/text_editor/editor.rs:525
↓ 3 callers
Method
clear_changed
Reset the changed flag (called at end of frame)
src/tools/tool_state.rs:61
next →
1–100 of 1,593, ranked by callers