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
↓ 1 callers
Function
create_preview_glyph_outline
Create preview glyph outline entities from a kurbo path with dashed lines
src/rendering/metrics.rs:1234
↓ 1 callers
Function
create_rectangle_points
Create points for a rectangle
src/ui/edit_mode_toolbar/shapes.rs:552
↓ 1 callers
Function
create_rounded_rectangle_points
Create points for a rounded rectangle using Kurbo
src/ui/edit_mode_toolbar/shapes.rs:656
↓ 1 callers
Function
create_shape
Create a shape in the current glyph
src/ui/edit_mode_toolbar/shapes.rs:500
↓ 1 callers
Function
create_shape_in_font
Create the actual shape in the font data
src/tools/shapes.rs:331
↓ 1 callers
Function
create_single_cross_contour_bridge
Create a single bridge connecting two contours at their intersection points This is the core cross-contour connection logic inspired by Runebender's a
src/ui/edit_mode_toolbar/knife.rs:911
↓ 1 callers
Method
create_text_root
Create a new text root at the specified world position
src/core/state/text_editor/editor.rs:282
↓ 1 callers
Method
create_text_root_with_app_state
Create a new text root with AppState access for proper advance width calculation
src/core/state/text_editor/editor.rs:287
↓ 1 callers
Method
create_text_root_with_glyph
( &mut self, glyph_name: String, advance_width: f32, world_position: Vec2,
src/core/state/text_editor/editor.rs:1031
↓ 1 callers
Function
create_tool_button
Creates a single tool button with proper styling and components
src/ui/edit_mode_toolbar/ui.rs:100
↓ 1 callers
Function
create_toolbar_button
Creates a standard button with consistent styling and returns a builder for adding components This should be used by most toolbar buttons (main toolba
src/ui/edit_mode_toolbar/ui.rs:195
↓ 1 callers
Function
create_toolbar_container
Creates the main toolbar container with proper positioning and styling
src/ui/edit_mode_toolbar/ui.rs:84
↓ 1 callers
Function
cubic_bezier
Evaluate a cubic Bézier at t
src/ui/edit_mode_toolbar/metaballs.rs:352
↓ 1 callers
Function
curve_line_intersections_simple
( curve: &kurbo::CubicBez, line: &kurbo::Line, )
src/ui/edit_mode_toolbar/measure.rs:421
↓ 1 callers
Function
curve_line_intersections_simple
(curve: &kurbo::CubicBez, line: &kurbo::Line)
src/ui/edit_mode_toolbar/knife.rs:1894
↓ 1 callers
Function
curve_line_intersections_with_parameters
Curve-line intersections with parameter information
src/ui/edit_mode_toolbar/knife.rs:1822
↓ 1 callers
Function
deactivate_pen_mode
Resets pen state and marks pen mode as inactive
src/ui/edit_mode_toolbar/pen.rs:318
↓ 1 callers
Method
default_order
Default ordering priority (lower numbers appear first) Common values: 10=Select, 20=Pen, 30=Eraser, 50=Shapes, 100=Utilities
src/ui/edit_mode_toolbar/mod.rs:161
↓ 1 callers
Function
delete_sort
Delete a sort
src/editing/sort/manager.rs:155
↓ 1 callers
Method
descender_or_default
Get descender value with sensible default based on UPM
src/font_source/metrics.rs:129
↓ 1 callers
Function
despawn_point_entities_for_sort
Despawn point entities for a sort
src/editing/sort/manager.rs:310
↓ 1 callers
Function
despawn_unneeded_squares
Despawns squares that are no longer needed
src/rendering/checkerboard.rs:528
↓ 1 callers
Function
draw_close_indicator_if_needed
If the cursor is close to the start point, draw a special indicator
src/ui/edit_mode_toolbar/pen.rs:731
↓ 1 callers
Function
draw_controls
(f: &mut Frame, area: Rect)
src/tui/tabs/qa.rs:480
↓ 1 callers
Function
draw_filters
(f: &mut Frame, state: &QAState, area: Rect)
src/tui/tabs/qa.rs:454
↓ 1 callers
Function
draw_issue_detail
(f: &mut Frame, state: &QAState, area: Rect)
src/tui/tabs/qa.rs:492
↓ 1 callers
Function
draw_issue_list
(f: &mut Frame, state: &mut QAState, area: Rect)
src/tui/tabs/qa.rs:365
↓ 1 callers
Function
draw_mesh_dashed_ellipse
Draw a mesh-based dashed ellipse preview
src/ui/edit_mode_toolbar/shapes.rs:1015
↓ 1 callers
Function
draw_mesh_dashed_rectangle
Draw a mesh-based dashed rectangle preview
src/ui/edit_mode_toolbar/shapes.rs:992
↓ 1 callers
Function
draw_placed_points_and_lines
Draw all the points that have been placed and lines between them
src/ui/edit_mode_toolbar/pen.rs:679
↓ 1 callers
Function
draw_preview_elements
Draw preview elements like the next line segment and axis-locked guides
src/ui/edit_mode_toolbar/pen.rs:701
↓ 1 callers
Function
draw_progress
(f: &mut Frame, state: &QAState, area: Rect)
src/tui/tabs/qa.rs:713
↓ 1 callers
Function
draw_settings
(f: &mut Frame, _state: &QAState, area: Rect)
src/tui/tabs/qa.rs:697
↓ 1 callers
Function
draw_summary
(f: &mut Frame, state: &QAState, area: Rect)
src/tui/tabs/qa.rs:567
↓ 1 callers
Function
draw_tab_content
(f: &mut Frame, app: &mut App, area: Rect)
src/tui/ui.rs:49
↓ 1 callers
Function
draw_tabs
(f: &mut Frame, app: &App, area: Rect)
src/tui/ui.rs:24
↓ 1 callers
Function
enter_new_tool
Enters a new tool and updates the current tool state
src/ui/edit_mode_toolbar/ui.rs:394
↓ 1 callers
Function
exit_current_tool
Exits the currently active tool
src/ui/edit_mode_toolbar/ui.rs:385
↓ 1 callers
Function
exit_current_tool
Exit the currently active tool
src/ui/edit_mode_toolbar/spacebar_toggle.rs:144
↓ 1 callers
Method
extract_location
(&self, message: &str, check_id: &str)
src/qa/fontspector.rs:191
↓ 1 callers
Method
filled_glyph_color
(&self)
src/ui/themes/dark.rs:203
↓ 1 callers
Method
filtered_issues
(&self)
src/tui/tabs/qa.rs:171
↓ 1 callers
Function
finalize_appstate_path
Helper function to finalize path using traditional AppState operations
src/tools/pen.rs:574
↓ 1 callers
Function
find_clicked_point
( position: &DPoint, selectable_query: &Query< ( Entity, &GlobalTransf
src/editing/selection/input/mouse.rs:438
↓ 1 callers
Function
find_connected_offcurve_points_drag
Find connected off-curve points for drag operations
src/editing/selection/point_movement.rs:43
↓ 1 callers
Function
find_connected_offcurve_points_nudge
Find connected off-curve points for nudge operations
src/editing/selection/point_movement.rs:99
↓ 1 callers
Function
find_curve_handles_for_smooth_point
Find the actual control handles that connect to a smooth point through curve segments ## How Smooth Point Collinear System Works: When an on-curve p
src/editing/smooth_curves.rs:154
↓ 1 callers
Function
find_glyph_by_unicode_codepoint
Find a glyph by Unicode codepoint in the app state
src/core/state/navigation.rs:63
↓ 1 callers
Function
find_path_intersections_with_parameters
Find intersections with parameter information for accurate slicing
src/ui/edit_mode_toolbar/knife.rs:1287
↓ 1 callers
Function
find_smooth_curve_constraints
Find smooth curve constraints for a given smooth on-curve point
src/editing/smooth_curves.rs:239
↓ 1 callers
Function
generate_metaball_cubic_outline
Generate a smooth cubic Bézier outline for metaballs, using circle intersections as on-curve points and tangents for control points.
src/ui/edit_mode_toolbar/metaballs.rs:542
↓ 1 callers
Function
generate_metaball_outline
Generate metaball outline using contour-isobands crate (marching squares)
src/ui/edit_mode_toolbar/metaballs.rs:390
↓ 1 callers
Function
get_active_buffer_info
Extract active buffer information from ECS queries
src/systems/sorts/cursor.rs:29
↓ 1 callers
Method
get_all_tool_ids
Get all registered tool IDs (unordered)
src/ui/edit_mode_toolbar/mod.rs:227
↓ 1 callers
Method
get_bounds
(&self)
src/tools/select/select_state.rs:35
↓ 1 callers
Function
get_cli_args
Get CLI arguments based on the platform. - On native platforms: Parses command line arguments - On WebAssembly: Returns default arguments for web
src/core/platform.rs:42
↓ 1 callers
Method
get_codepoint_string
Get the current codepoint as a string for display
src/core/state/navigation.rs:45
↓ 1 callers
Method
get_cutting_line
Get the cutting line with axis locking if shift is pressed
src/tools/knife.rs:59
↓ 1 callers
Function
get_default_glyph_for_direction
Helper function to get appropriate default glyph and codepoint for text direction
src/core/state/text_editor/editor.rs:1287
↓ 1 callers
Method
get_font_metrics
Get cached font metrics or extract and cache them
src/rendering/metrics.rs:89
↓ 1 callers
Method
get_font_name
Get a display name combining family and style names
src/core/state/app_state.rs:141
↓ 1 callers
Function
get_glyph_advance_width
Get glyph advance width from font metrics (shared with LTR mode)
src/systems/sorts/keyboard_input.rs:186
↓ 1 callers
Function
get_glyph_name_from_id
Get glyph name from glyph ID using FontIR
src/systems/text_shaping.rs:440
↓ 1 callers
Method
get_icon
Get the icon for each AI operation
src/tools/ai.rs:27
↓ 1 callers
Method
get_icon
Get the icon for each pen submenu mode
src/ui/edit_mode_toolbar/pen.rs:215
↓ 1 callers
Method
get_icon
Get the icon for this shape type
src/ui/edit_mode_toolbar/shapes.rs:83
↓ 1 callers
Method
get_icon
Get the icon for each text submenu mode
src/ui/edit_mode_toolbar/text.rs:55
↓ 1 callers
Function
get_line_height
Get line height from font metrics
src/systems/sorts/cursor.rs:54
↓ 1 callers
Method
get_measurement
Calculate the current measurement value
src/tools/measure.rs:36
↓ 1 callers
Method
get_metrics_entity
Get a metrics entity from the pool for a specific sort
src/rendering/entity_pools.rs:150
↓ 1 callers
Method
get_metrics_pool
Get or create a metrics entity pool for a specific sort
src/rendering/entity_pools.rs:74
↓ 1 callers
Method
get_name
Get the display name for this shape type
src/ui/edit_mode_toolbar/shapes.rs:92
↓ 1 callers
Function
get_needed_squares
(visible_area: &Rect, current_grid_size: f32)
src/rendering/checkerboard.rs:468
↓ 1 callers
Method
get_ordered_tools
Get all tools in their proper display order
src/ui/edit_mode_toolbar/mod.rs:219
↓ 1 callers
Method
get_outline_pool
(&mut self, sort_entity: Entity)
src/rendering/entity_pools.rs:69
↓ 1 callers
Function
get_path_start_point
(path: &kurbo::BezPath)
src/ui/edit_mode_toolbar/measure.rs:462
↓ 1 callers
Method
get_point_mut
Get a mutable reference to a specific point in a glyph
src/core/state/app_state.rs:97
↓ 1 callers
Method
get_pool_stats
Get statistics about pool usage for monitoring
src/rendering/entity_pools.rs:310
↓ 1 callers
Function
get_quadrant_point
Gets the reference point for a quadrant
src/ui/panes/coordinate_pane.rs:537
↓ 1 callers
Function
get_script_for_text
Get appropriate script for HarfBuzz based on text content
src/systems/text_shaping.rs:472
↓ 1 callers
Function
get_simple_arabic_glyph_name
Get simple Arabic glyph name without contextual forms
src/systems/sorts/keyboard_input.rs:104
↓ 1 callers
Method
get_stats
Get cache statistics for performance monitoring
src/rendering/mesh_cache.rs:142
↓ 1 callers
Method
get_text_sort_flow_position
Calculate flow position for text sorts using same logic as cursor positioning
src/core/state/text_editor/editor.rs:110
↓ 1 callers
Method
get_theme_names
Get all available theme names
src/ui/theme_system/core.rs:39
↓ 1 callers
Method
get_theme_variant
Get the theme variant from CLI args, config file, or default Priority order: 1. CLI argument (--theme) 2. Config file setting (~/.config/bezy/setting
src/core/config/cli.rs:189
↓ 1 callers
Function
get_unicode_for_glyph
Get unicode value string for a glyph name
src/rendering/sort_renderer.rs:323
↓ 1 callers
Method
gizmo_line_width
(&self)
src/ui/theme_system/core.rs:528
↓ 1 callers
Function
glyph_has_components
Check if a glyph has components
src/rendering/glyph_renderer.rs:1587
↓ 1 callers
Function
glyph_name_to_char
Convert glyph name back to character for context building
src/systems/sorts/keyboard_input.rs:125
↓ 1 callers
Function
grid_to_world_position
Converts grid position to world position aligned to design space The grid is positioned so that (0,0) - the font baseline/left sidebearing intersectio
src/rendering/checkerboard.rs:622
↓ 1 callers
Method
grotesk_font_path
Font file paths
src/ui/theme_system/core.rs:160
↓ 1 callers
Method
grow_gap
Grow the gap when it gets too small
src/core/state/text_editor/buffer.rs:290
↓ 1 callers
Function
handle_arrow_down
Handle down arrow key press - move cursor to next line in the active buffer
src/systems/sorts/unicode_input.rs:1061
↓ 1 callers
Function
handle_arrow_left
Handle left arrow key press - move cursor left in the active buffer IMPORTANT: Arrow keys work consistently across LTR and RTL modes - Left arrow alw
src/systems/sorts/unicode_input.rs:918
↓ 1 callers
Function
handle_arrow_right
Handle right arrow key press - move cursor right in the active buffer IMPORTANT: Arrow keys work consistently across LTR and RTL modes - Right arrow
src/systems/sorts/unicode_input.rs:965
↓ 1 callers
Function
handle_arrow_up
Handle up arrow key press - move cursor to previous line in the active buffer
src/systems/sorts/unicode_input.rs:1012
↓ 1 callers
Function
handle_backspace
Handle backspace key
src/systems/sorts/unicode_input.rs:534
↓ 1 callers
Function
handle_delete
Handle delete key
src/systems/sorts/unicode_input.rs:577
↓ 1 callers
Function
handle_error
Handle application errors with platform-appropriate logging. - On native platforms: Prints to stderr and exits with code 1 - On WebAssembly: Logs to
src/core/platform.rs:21
↓ 1 callers
Function
handle_events
(tx: mpsc::UnboundedSender<InputEvent>)
src/tui/events.rs:11
← previous
next →
301–400 of 1,593, ranked by callers