Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PatWie/drafft-ink
/ functions
Functions
1,090 in github.com/PatWie/drafft-ink
⨍
Functions
1,090
◇
Types & classes
146
Function
test_rectangle_creation
()
crates/drafftink-core/src/shapes/rectangle.rs:154
Function
test_rectangle_from_corners
()
crates/drafftink-core/src/shapes/rectangle.rs:163
Function
test_rectangle_handles
()
crates/drafftink-core/src/selection.rs:929
Function
test_remove_shape
()
crates/drafftink-core/src/canvas.rs:709
Function
test_remove_shape
()
crates/drafftink-core/src/crdt/mod.rs:96
Function
test_remove_shape_with_sync
()
crates/drafftink-core/src/collaboration.rs:483
Function
test_renderer_creation
()
crates/drafftink-render/src/vello_impl.rs:2531
Function
test_roundtrip_conversion
()
crates/drafftink-core/src/camera.rs:171
Function
test_roundtrip_rectangle
()
crates/drafftink-core/src/crdt/mod.rs:56
Function
test_save_and_load
()
crates/drafftink-core/src/storage/memory.rs:110
Function
test_screen_to_world_identity
()
crates/drafftink-core/src/camera.rs:136
Function
test_screen_to_world_with_offset
()
crates/drafftink-core/src/camera.rs:148
Function
test_screen_to_world_with_zoom
()
crates/drafftink-core/src/camera.rs:161
Function
test_select_tool_no_shape
()
crates/drafftink-core/src/tools/mod.rs:419
Function
test_server_message_deserialize
()
crates/drafftink-core/src/sync.rs:719
Function
test_shapes_at_point
()
crates/drafftink-core/src/canvas.rs:742
Function
test_simplify
()
crates/drafftink-core/src/shapes/freehand.rs:336
Function
test_snap_angle
()
crates/drafftink-core/src/snap.rs:1166
Function
test_snap_line_endpoint_45_degrees
()
crates/drafftink-core/src/snap.rs:1193
Function
test_snap_line_endpoint_disabled
()
crates/drafftink-core/src/snap.rs:1204
Function
test_snap_line_endpoint_horizontal
()
crates/drafftink-core/src/snap.rs:1181
Function
test_snap_line_endpoint_isometric
()
crates/drafftink-core/src/snap.rs:1268
Function
test_snap_line_endpoint_isometric_45_degrees
()
crates/drafftink-core/src/snap.rs:1286
Function
test_snap_line_preserves_distance
()
crates/drafftink-core/src/snap.rs:1215
Function
test_snap_ray_to_grid_lines_30_degrees
()
crates/drafftink-core/src/snap.rs:1255
Function
test_snap_ray_to_grid_lines_45_degrees
()
crates/drafftink-core/src/snap.rs:1239
Function
test_snap_ray_to_grid_lines_horizontal
()
crates/drafftink-core/src/snap.rs:1226
Function
test_snap_to_grid
()
crates/drafftink-core/src/snap.rs:1146
Function
test_snap_to_grid_exact
()
crates/drafftink-core/src/snap.rs:1154
Function
test_snap_to_grid_round_up
()
crates/drafftink-core/src/snap.rs:1160
Function
test_sync_from_crdt
()
crates/drafftink-core/src/collaboration.rs:427
Function
test_sync_to_crdt
()
crates/drafftink-core/src/collaboration.rs:413
Function
test_text_creation
()
crates/drafftink-core/src/shapes/text.rs:401
Function
test_text_with_font_size
()
crates/drafftink-core/src/shapes/text.rs:408
Function
test_tool_interaction
()
crates/drafftink-core/src/tools/mod.rs:387
Function
test_tool_selection
()
crates/drafftink-core/src/tools/mod.rs:378
Function
test_undo_add_shape
()
crates/drafftink-core/src/canvas.rs:797
Function
test_undo_clears_redo
()
crates/drafftink-core/src/canvas.rs:840
Function
test_undo_empty_stack
()
crates/drafftink-core/src/canvas.rs:862
Function
test_undo_remove_shape
()
crates/drafftink-core/src/canvas.rs:821
Function
test_ungroup
()
crates/drafftink-core/src/shapes/group.rs:220
Function
test_z_order
()
crates/drafftink-core/src/canvas.rs:722
Function
test_z_order_manipulation
()
crates/drafftink-core/src/crdt/mod.rs:111
Function
test_zoom_clamp
()
crates/drafftink-core/src/camera.rs:185
Method
to_path
(&self)
crates/drafftink-core/src/shapes/ellipse.rs:109
Method
to_path
(&self)
crates/drafftink-core/src/shapes/group.rs:129
Method
to_path
(&self)
crates/drafftink-core/src/shapes/arrow.rs:198
Method
to_path
(&self)
crates/drafftink-core/src/shapes/text.rs:360
Method
to_path
(&self)
crates/drafftink-core/src/shapes/freehand.rs:265
Method
to_path
(&self)
crates/drafftink-core/src/shapes/image.rs:212
Method
to_path
(&self)
crates/drafftink-core/src/shapes/line.rs:156
Method
to_path
(&self)
crates/drafftink-core/src/shapes/rectangle.rs:119
Method
to_path
(&self)
crates/drafftink-core/src/shapes/math.rs:152
Function
toolbar_frame
Create a toolbar panel frame (slightly different padding).
crates/drafftink-widgets/src/menu.rs:114
Method
touch_just_ended
Check if touch just ended.
crates/drafftink-core/src/input.rs:315
Method
touch_just_started
Check if touch just started (first finger down).
crates/drafftink-core/src/input.rs:308
Method
transform
(&mut self, affine: Affine)
crates/drafftink-core/src/shapes/ellipse.rs:121
Method
transform
(&mut self, affine: Affine)
crates/drafftink-core/src/shapes/mod.rs:442
Method
transform
(&mut self, affine: Affine)
crates/drafftink-core/src/shapes/group.rs:147
Method
transform
(&mut self, affine: Affine)
crates/drafftink-core/src/shapes/arrow.rs:299
Method
transform
(&mut self, affine: Affine)
crates/drafftink-core/src/shapes/text.rs:381
Method
transform
(&mut self, affine: Affine)
crates/drafftink-core/src/shapes/freehand.rs:291
Method
transform
(&mut self, affine: Affine)
crates/drafftink-core/src/shapes/image.rs:225
Method
transform
(&mut self, affine: Affine)
crates/drafftink-core/src/shapes/line.rs:227
Method
transform
(&mut self, affine: Affine)
crates/drafftink-core/src/shapes/rectangle.rs:136
Method
transform
(&mut self, affine: Affine)
crates/drafftink-core/src/shapes/math.rs:171
Method
transparent
()
crates/drafftink-core/src/shapes/mod.rs:50
Method
undo
Undo the last local change.
crates/drafftink-core/src/collaboration.rs:198
Method
undo
Undo the last change made by this peer. Returns true if undo was performed, false if nothing to undo.
crates/drafftink-core/src/crdt/schema.rs:368
Method
undo_count
Get the number of available undo steps.
crates/drafftink-core/src/crdt/schema.rs:389
Function
unnamed_items_get_a_fallback_name
()
crates/drafftink-core/src/excalidraw.rs:555
Function
unrecognized_input_returns_none
()
crates/drafftink-core/src/mermaid/mod.rs:287
Method
update_shape
Update a shape, syncing to CRDT if enabled.
crates/drafftink-core/src/collaboration.rs:161
Method
update_shape
Update a shape in the document.
crates/drafftink-core/src/crdt/schema.rs:144
Method
update_sync
Update room's last sync data
crates/drafftink-server/src/main.rs:173
Function
user_diagram_builds_without_panic_as_single_group
()
crates/drafftink-core/src/mermaid/flowchart.rs:1543
Function
user_diagram_parses_chains_clusters_and_hexagon
()
crates/drafftink-core/src/mermaid/flowchart.rs:1506
Function
v1_array_of_arrays_layout_is_supported
()
crates/drafftink-core/src/excalidraw.rs:564
Method
version
Get the current version vector.
crates/drafftink-core/src/collaboration.rs:191
Function
vertical_separator
Draw a vertical separator line (small height).
crates/drafftink-widgets/src/layout.rs:22
Method
white
()
crates/drafftink-core/src/shapes/mod.rs:46
Method
widget_state
Get widget state for a shape.
crates/drafftink-core/src/canvas.rs:510
Method
window_event
( &mut self, event_loop: &ActiveEventLoop, _window_id: WindowId, event: Window
crates/drafftink-app/src/app.rs:2168
Method
with_config
Create a new application with custom configuration.
crates/drafftink-app/src/app.rs:1790
Method
with_document
Create a canvas with an existing document.
crates/drafftink-core/src/canvas.rs:429
Method
with_font_family
Set the font family.
crates/drafftink-core/src/shapes/text.rs:257
Method
with_font_weight
Set the font weight.
crates/drafftink-core/src/shapes/text.rs:263
Method
with_shape
Set the handle shape.
crates/drafftink-core/src/widget/handles.rs:61
Method
with_size
Create an image shape with specific display dimensions.
crates/drafftink-core/src/shapes/image.rs:151
Function
ws_handler
WebSocket upgrade handler
crates/drafftink-server/src/main.rs:225
← previous
1,001–1,090 of 1,090, ranked by callers