MCPcopy Create free account

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

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

↓ 342 callersMethoditer
Get an iterator over all sorts (excluding gap)
src/core/state/text_editor/buffer.rs:315
↓ 199 callersMethodlen
Get the logical length (excluding gap)
src/core/state/text_editor/buffer.rs:180
↓ 198 callersMethodtheme
Get the current theme implementation
src/ui/theme_system/core.rs:575
↓ 153 callersMethodget
Get sort at logical position
src/core/state/text_editor/buffer.rs:190
↓ 132 callersMethodadd
(self, other: DVec2)
src/geometry/world_space.rs:106
↓ 125 callersMethodinsert
Insert sort at position
src/core/state/text_editor/buffer.rs:253
↓ 105 callersMethodis_empty
(&self)
src/editing/edit_session.rs:19
↓ 74 callersMethodclear
Clear all cached data (useful for debugging)
src/rendering/metrics.rs:110
↓ 53 callersMethodget_mut
Get mutable sort at logical position
src/core/state/text_editor/buffer.rs:203
↓ 51 callersMethodget_current
Get the currently active tool
src/ui/edit_mode_toolbar/mod.rs:264
↓ 37 callersMethodto_raw
Convert a design point directly to a Vec2, without taking screen geometry into account.
src/geometry/world_space.rs:53
↓ 36 callersMethodload_font_with_fallback
(&self, path: &str, embedded_fonts: &EmbeddedFonts)
src/utils/embedded_assets.rs:69
↓ 35 callersMethodmono_font_path
(&self)
src/ui/theme_system/core.rs:163
↓ 33 callersMethodid
(&self)
src/ui/edit_mode_toolbar/pen.rs:29
↓ 31 callersFunctionspawn_metrics_line
Helper to spawn a mesh-based metrics line
src/rendering/metrics.rs:146
↓ 24 callersMethodtitle
(&self)
src/tui/tabs/mod.rs:32
↓ 21 callersFunctioncreate_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 callersFunctionadd_segment_to_path
Add a segment to a BezPath
src/ui/edit_mode_toolbar/knife.rs:1768
↓ 19 callersMethodsend
(&self, message: AppMessage)
src/core/tui_communication.rs:27
↓ 18 callersMethodadjusted_line_width
Get the adjusted line width based on camera zoom
src/rendering/zoom_aware_scaling.rs:126
↓ 17 callersMethodactive_color
Get the active color for the current theme
src/ui/theme_system/core.rs:647
↓ 17 callersMethodis_active
Check if a specific tool is active
src/tools/tool_state.rs:66
↓ 16 callersMethodline_to
Create a line point
src/font_source/ufo_point.rs:88
↓ 15 callersMethodas_str
(&self)
src/qa/mod.rs:70
↓ 15 callersMethodget_ui_text_primary
Get the primary UI text color (most prominent text)
src/ui/theme_system/core.rs:608
↓ 15 callersMethodmove_to
Create a move point (first point in contour)
src/font_source/ufo_point.rs:83
↓ 12 callersFunctionis_input_mode
Check if the current input mode matches the given mode
src/io/input.rs:588
↓ 12 callersMethodlength
(self)
src/geometry/world_space.rs:89
↓ 11 callersFunctionextract_subsegment
Extract a subsegment from a PathSegment
src/ui/edit_mode_toolbar/knife.rs:1747
↓ 11 callersMethodfind_active_buffer_root_index
Helper: Find the index of the active buffer root
src/core/state/text_editor/editor.rs:972
↓ 11 callersMethodget_glyph
Get a glyph by name
src/font_source/data.rs:121
↓ 11 callersMethodget_tool
Get a tool by its ID
src/ui/edit_mode_toolbar/mod.rs:214
↓ 11 callersMethodscale_factor
Gets the current scale factor
src/rendering/zoom_aware_scaling.rs:95
↓ 10 callersMethodbutton_regular_outline
(&self)
src/ui/themes/dark.rs:51
↓ 10 callersFunctiondraw
(f: &mut Frame, app: &mut App)
src/tui/ui.rs:10
↓ 10 callersFunctionhandle_key_event
Handle key events for the AI tab
src/tui/tabs/ai.rs:35
↓ 10 callersFunctionspawn_preview_metrics_line
Helper function to spawn preview metrics lines with special component
src/rendering/metrics.rs:1196
↓ 9 callersMethodadjusted_size
Get the adjusted size for any element
src/rendering/zoom_aware_scaling.rs:131
↓ 9 callersMethodregister_tool
Register a new tool with the registry
src/ui/edit_mode_toolbar/mod.rs:206
↓ 9 callersMethodswitch_to
Switch to a new tool
src/ui/edit_mode_toolbar/mod.rs:257
↓ 8 callersMethodbutton_regular
(&self)
src/ui/themes/dark.rs:39
↓ 8 callersFunctionspawn_line_mesh
Helper to spawn a line mesh entity for unified rendering
src/rendering/glyph_renderer.rs:1394
↓ 7 callersMethodaction_color
Get the action color for the current theme
src/ui/theme_system/core.rs:637
↓ 7 callersMethodbutton_pressed
(&self)
src/ui/themes/dark.rs:47
↓ 7 callersMethodhandle_input
(&mut self, event: &InputEvent, _input_state: &InputState)
src/systems/input_consumer.rs:65
↓ 7 callersMethodis_on_curve
Check if this point type is on-curve (not a control point)
src/font_source/ufo_point.rs:32
↓ 7 callersMethodpath_line_width
Larger values = thicker lines at all zoom levels
src/ui/theme_system/core.rs:334
↓ 7 callersMethodpath_stroke_color
(&self)
src/ui/themes/dark.rs:99
↓ 7 callersMethodshould_handle_input
(&self, event: &InputEvent, input_state: &InputState)
src/systems/input_consumer.rs:46
↓ 6 callersMethodget_sort_visual_position
Get the visual position for a sort based on its layout mode
src/core/state/text_editor/editor.rs:388
↓ 6 callersMethodglyph_name
(&self)
src/core/state/text_editor/buffer.rs:362
↓ 6 callersMethodis_smooth
Check if the point is smooth
src/editing/selection/enhanced_point_component.rs:102
↓ 6 callersMethodnext
(&mut self)
src/core/state/text_editor/buffer.rs:335
↓ 6 callersMethodon_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 callersMethodsort_active_metrics_color
(&self)
src/ui/themes/dark.rs:223
↓ 5 callersMethodapply_grid_snap
(&self, position: Vec2)
src/core/config/settings.rs:65
↓ 5 callersMethodbutton_pressed_outline
(&self)
src/ui/themes/dark.rs:59
↓ 5 callersFunctiondespawn_all_squares
Despawns all checkerboard squares
src/rendering/checkerboard.rs:630
↓ 5 callersMethodget_active_sort
Get the currently active sort
src/core/state/text_editor/editor.rs:479
↓ 5 callersMethodid
(&self)
src/ui/edit_mode_toolbar/measure.rs:13
↓ 5 callersFunctioninsert_character_at_buffer_cursor
( character: char, glyph_name: String, advance_width: f32, _commands: &mut Commands, text_
src/systems/sorts/unicode_input.rs:756
↓ 5 callersMethodis_empty
Check if the buffer is empty
src/core/state/text_editor/buffer.rs:185
↓ 5 callersMethodload
Load configuration from the user config file
src/core/config/user_config.rs:38
↓ 5 callersMethodsave
Save configuration to the user config file
src/core/config/user_config.rs:64
↓ 5 callersMethodset_point_position
Set the position of a point
src/core/state/app_state.rs:116
↓ 5 callersMethodsort_inactive_metrics_color
(&self)
src/ui/themes/dark.rs:227
↓ 5 callersMethodtoolbar_button_size
Button sizes
src/ui/theme_system/core.rs:235
↓ 5 callersMethodtoolbar_container_margin
(&self)
src/ui/theme_system/core.rs:221
↓ 5 callersFunctionupdate_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 callersFunctionupdate_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 callersMethodactivate
Switch to a new tool
src/tools/tool_state.rs:26
↓ 4 callersMethodas_f32
(self)
src/font_source/metrics.rs:181
↓ 4 callersMethodas_str
Convert to string ID (used in UI)
src/tools/tool_state.rs:127
↓ 4 callersFunctioncalculate_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 callersFunctioncreate_dashed_line_meshes
Create mesh-based dashed line segments
src/rendering/selection.rs:123
↓ 4 callersFunctioncreate_dashed_line_meshes
Create dashed line mesh entities between two points
src/rendering/metrics.rs:1388
↓ 4 callersFunctioncreate_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 callersMethodcurve_to
Create a cubic curve point
src/font_source/ufo_point.rs:98
↓ 4 callersFunctiondelete_character_at_buffer_cursor
Delete character at buffer cursor position with proper respawn queue management
src/systems/sorts/unicode_input.rs:620
↓ 4 callersFunctionextract_editable_points
Extract all editable points from a BezPath
src/geometry/bezpath_editing.rs:34
↓ 4 callersMethodfind_glyph
Find the glyph name for the current codepoint
src/core/state/navigation.rs:50
↓ 4 callersFunctionget_theme_registry
Get the global theme registry
src/ui/theme_system/core.rs:85
↓ 4 callersFunctionis_arabic_letter
Check if a character is an Arabic letter that needs shaping
src/systems/text_shaping.rs:145
↓ 4 callersFunctionis_rtl_layout_mode
Helper function to check if a layout mode is right-to-left
src/core/state/text_editor/editor.rs:1249
↓ 4 callersMethodmove_cursor_to
Move cursor to a specific position (now works with per-buffer-root cursors)
src/core/state/text_editor/editor.rs:856
↓ 4 callersMethodoff_curve_point_radius
(&self)
src/ui/theme_system/core.rs:305
↓ 4 callersMethodon_curve_inner_circle_ratio
(&self)
src/ui/theme_system/core.rs:321
↓ 4 callersMethodon_enter
(&self)
src/ui/edit_mode_toolbar/pen.rs:60
↓ 4 callersMethodparse
Parse theme name from string (case-insensitive)
src/ui/theme_system/core.rs:111
↓ 4 callersMethodsend_log
(&self, message: String)
src/core/tui_communication.rs:43
↓ 4 callersFunctionspawn_arrow
Spawn a small arrow at the given position pointing in the given direction
src/ui/edit_mode_toolbar/shapes.rs:945
↓ 4 callersMethodswitch_to
Switch to a different theme variant
src/ui/theme_system/core.rs:580
↓ 4 callersFunctionsync_to_font_data
Sync point movements to font data
src/editing/selection/point_movement.rs:180
↓ 4 callersMethodto_bezpaths
(&self)
src/data/conversions.rs:120
↓ 4 callersMethodwidget_margin
(&self)
src/ui/theme_system/core.rs:204
↓ 3 callersMethodbutton_regular_icon
(&self)
src/ui/themes/dark.rs:63
↓ 3 callersMethodcalculate_font_hash
(&self, font_path: &Path)
src/qa/storage.rs:230
↓ 3 callersMethodcheckerboard_default_unit_size
(&self)
src/ui/theme_system/core.rs:445
↓ 3 callersMethodclear_all_states
Clear both active state and selections from all sorts
src/core/state/text_editor/editor.rs:525
↓ 3 callersMethodclear_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