MCPcopy Create free account

hub / github.com/GraphiteEditor/Graphite / functions

Functions5,973 in github.com/GraphiteEditor/Graphite

↓ 2 callersFunctionrestore_previous_handle_position
( handle: HandleId, original_c: DVec2, anchor_position: DVec2, vector: &Vector, layer: LayerNodeIdentifie
editor/src/messages/tool/common_functionality/utility_functions.rs:120
↓ 2 callersMethodretain_selected_nodes
(&mut self, f: impl FnMut(&NodeId) -> bool)
editor/src/messages/portfolio/document/utility_types/nodes.rs:135
↓ 2 callersMethodretire_pending_interaction
Retire every pending hot op into durable history as a single interaction (marking the batch's last delta as the interaction boundary), then re-snapsho
document/document-format/src/persist.rs:83
↓ 2 callersMethodretire_storage_interaction
Retire the pending staged hot ops into durable Gdd history as one undo unit. Called at each undo-step boundary (a new `StartTransaction`) and before u
editor/src/messages/portfolio/document/document_history.rs:90
↓ 2 callersFunctionroot_layer_for_chain_node
The layer that a chain node ultimately feeds, if any. Returns `None` in a nested network since the layer metadata structure is only loaded for the roo
editor/src/messages/portfolio/document/node_graph/node_properties.rs:2421
↓ 2 callersFunctionrotate_bounds
( document: &DocumentMessageHandler, responses: &mut VecDeque<Message>, bounds: &mut BoundingBoxManager, d
editor/src/messages/tool/common_functionality/utility_functions.rs:288
↓ 2 callersFunctionround_line_join
Returns two [`PathEl`] to create a round join with the provided center.
node-graph/libraries/vector-types/src/vector/algorithms/bezpath_algorithms.rs:524
↓ 2 callersMethodrun
(&'a self, executor: &'a WgpuExecutor, args: &'a Self::Args<'_>)
node-graph/nodes/gstd/src/render_background.rs:331
↓ 2 callersMethodrun
(&mut self)
editor/src/node_graph_executor/runtime.rs:160
↓ 2 callersFunctionrun_append
(container: C)
document/container/tests/round_trip.rs:111
↓ 2 callersFunctionrun_list_and_remove_semantics
(container: C)
document/container/tests/round_trip.rs:48
↓ 2 callersFunctionrun_node_graph
()
editor/src/node_graph_executor/runtime.rs:555
↓ 2 callersFunctionrun_round_trip
(container: C)
document/container/tests/round_trip.rs:5
↓ 2 callersFunctionscanCodeFromKeyText
(keyText: string)
frontend/src/utility-functions/keyboard-entry.ts:143
↓ 2 callersFunctionsegment_intersections
Calculates the intersection points the segment has with another given segment and returns a list of parametric `t`-values with given accuracy.
node-graph/libraries/vector-types/src/vector/algorithms/intersection.rs:53
↓ 2 callersFunctionsegment_intersections_inner
(segment1: PathSeg, min_t1: f64, max_t1: f64, segment2: PathSeg, min_t2: f64, max_t2: f64, accuracy: f64, inte
node-graph/libraries/vector-types/src/vector/algorithms/intersection.rs:118
↓ 2 callersMethodsegment_points_from_index
Tries to convert a segment with the specified index to the start and end points and a [`Bezier`].
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:950
↓ 2 callersMethodsegment_tangent_at_endpoint
Computes the direction-of-travel tangent at one endpoint of a segment. Uses the "first distinct control point" pattern: iterates through the Bezier co
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:462
↓ 2 callersMethodsegment_to_bezier_with_index
Construct a [`Bezier`] curve spanning from the resolved position of the start and end points with the specified handles.
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:933
↓ 2 callersFunctionsegment_to_handles
(segment: &PathSeg)
node-graph/libraries/vector-types/src/vector/misc.rs:160
↓ 2 callersMethodselect_all_anchors_in_selected_layers
Selects all anchors, and deselects all handles, for the selected layers.
editor/src/messages/tool/common_functionality/shape_editor.rs:806
↓ 2 callersMethodselect_point_by_layer_and_id
(&mut self, point: ManipulatorPointId, layer: LayerNodeIdentifier)
editor/src/messages/tool/common_functionality/shape_editor.rs:2042
↓ 2 callersFunctionselected_fill_state
Reads the fill state across all selected non-artboard layers, including whether their enabled states or colors differ. "Enabled" tracks node attachmen
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:692
↓ 2 callersMethodselected_layers_artwork_bounding_box_viewport
(&self)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:3181
↓ 2 callersMethodselected_manipulator_angles
Iterates over the selected manipulator groups excluding endpoints, returning whether their handles have mixed, colinear, or free angles. If there are
editor/src/messages/tool/common_functionality/shape_editor.rs:1015
↓ 2 callersMethodselected_nodes_bounding_box
Get the combined bounding box of the click targets of the selected nodes in the node graph in layer space
editor/src/messages/portfolio/document/utility_types/network_interface.rs:3200
↓ 2 callersMethodselected_points_count
(&self)
editor/src/messages/tool/common_functionality/shape_editor.rs:75
↓ 2 callersFunctionselected_segments
(network_interface: &NodeNetworkInterface, shape_editor: &ShapeState)
editor/src/messages/portfolio/document/overlays/utility_functions.rs:35
↓ 2 callersMethodselected_unlocked_layers_bounding_box_viewport
(&self)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:3190
↓ 2 callersMethodselection_box
(&self, metadata: &DocumentMetadata)
editor/src/messages/tool/tool_messages/path_tool.rs:643
↓ 2 callersMethodselection_box
(&self)
editor/src/messages/tool/tool_messages/select_tool.rs:562
↓ 2 callersFunctionselection_changed_since_last_sync
Updates the cache and returns `true` if the current selection differs from the last-synced one. Cache stays sorted to keep comparisons cheap.
editor/src/messages/tool/common_functionality/color_selector.rs:557
↓ 2 callersMethodselection_quad
(&self)
editor/src/messages/tool/tool_messages/select_tool.rs:540
↓ 2 callersMethodsend_diff
Send a diff to the frontend based on the layout target.
editor/src/messages/layout/layout_message_handler.rs:502
↓ 2 callersMethodsend_frontend_message_to_js_rust_proxy
(&self, message: FrontendMessage)
frontend/wrapper/src/editor_wrapper.rs:52
↓ 2 callersMethodsend_node_bar_layout
Send the cached layout to the frontend for the control bar at the top of the node panel
editor/src/messages/portfolio/document/node_graph/node_graph_message_handler.rs:2241
↓ 2 callersFunctionsend_panic_dialog_via_callback
(panic_info: String)
frontend/wrapper/src/lib.rs:84
↓ 2 callersMethodsend_web_message
(&self, message: Vec<u8>)
desktop/src/cef/context/multithreaded.rs:43
↓ 2 callersFunctionsequence
(expressions: I)
tools/cargo-run/src/cmd.rs:121
↓ 2 callersMethodserialize
(&self, serializer: S)
node-graph/libraries/resources/src/lib.rs:181
↓ 2 callersFunctionserialize_clipboard
Serialize the clipboard items, logging on failure.
editor/src/messages/clipboard/clipboard_message_handler.rs:477
↓ 2 callersFunctionsetRipples
()
website/static/js/navbar.js:180
↓ 2 callersMethodset_alpha
(&mut self, value: Self::AlphaChannel)
node-graph/libraries/no-std-types/src/color/color_types.rs:349
↓ 2 callersMethodset_blue
(&mut self, blue: Self::ColorChannel)
node-graph/libraries/no-std-types/src/color/color_types.rs:344
↓ 2 callersMethodset_call_argument
Keep metadata in sync with the new implementation if this is used by anything other than the upgrade scripts
editor/src/messages/portfolio/document/utility_types/network_interface.rs:4081
↓ 2 callersMethodset_closed
Set whether the subpath is closed.
node-graph/libraries/vector-types/src/subpath/manipulators.rs:12
↓ 2 callersMethodset_ghost_outline
(&mut self, shape_editor: &ShapeState, document: &DocumentMessageHandler)
editor/src/messages/tool/tool_messages/path_tool.rs:707
↓ 2 callersMethodset_green
(&mut self, green: Self::ColorChannel)
node-graph/libraries/no-std-types/src/color/color_types.rs:341
↓ 2 callersMethodset_layer_position_for_import
Sets a layer's position directly without triggering per-node cache invalidation. Used for bulk import operations where caches are invalidated once at
editor/src/messages/portfolio/document/utility_types/network_interface.rs:5810
↓ 2 callersMethodset_network_view_settings
Replace the per-network view settings and persist them to `session.json`. Per-peer, per-network; never enters the registry, history, or CRDT.
document/document-format/src/persist.rs:210
↓ 2 callersMethodset_normalized_position
Set the pivot using a normalized position.
editor/src/messages/tool/common_functionality/pivot.rs:299
↓ 2 callersFunctionset_paint_attribute_at
Stores a paint attribute at a list index in its canonical `List<Graphic>` form, the only representation paint readers accept.
node-graph/libraries/graphic-types/src/graphic.rs:219
↓ 2 callersMethodset_red
(&mut self, red: Self::ColorChannel)
node-graph/libraries/no-std-types/src/color/color_types.rs:338
↓ 2 callersMethodset_selected_layers
Set the shapes we consider for selection, we will choose draggable manipulators from these shapes.
editor/src/messages/tool/common_functionality/shape_editor.rs:890
↓ 2 callersMethodset_start_point
(&mut self, segment_index: usize, new: usize)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:308
↓ 2 callersFunctionset_timeout
Helper function for calling JS's `setTimeout` with the given closure and delay
frontend/wrapper/src/helpers.rs:27
↓ 2 callersFunctionset_uuid_seed
(random_seed: u64)
node-graph/libraries/core-types/src/uuid.rs:54
↓ 2 callersMethodset_viewport_size
Necessary for doing snapping since snaps outside of the viewport are discarded
editor/src/test_utils.rs:311
↓ 2 callersFunctionset_wgpu_available
(available: bool)
node-graph/graph-craft/src/application_io.rs:100
↓ 2 callersFunctionshape_text_list
Shapes each string item of a styled `List<String>` into vector geometry, reading its font and typesetting from the item's attributes (as set by the 'T
node-graph/nodes/text/src/to_path.rs:29
↓ 2 callersMethodshift_node_or_parent
(&mut self, node_id: &NodeId, shift_sign: i32, shifted_nodes: &mut HashSet<NodeId>, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:5697
↓ 2 callersMethodshift_selected_nodes
(&mut self, direction: Direction, shift_without_push: bool, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:5362
↓ 2 callersFunctionshouldRedirectKeyboardEventToBackend
(e: KeyboardEvent, dialogStore: DialogStore)
frontend/src/utility-functions/input.ts:26
↓ 2 callersFunctionshowPhase
(/** @type {string} */ name)
website/static/js/page/contributor-guide/bisect-tool.js:161
↓ 2 callersFunctionsimplify_identifier_name
(ty: &str)
node-graph/libraries/core-types/src/types.rs:354
↓ 2 callersFunctionskew_bounds
( document: &DocumentMessageHandler, responses: &mut VecDeque<Message>, bounds: &mut BoundingBoxManager, f
editor/src/messages/tool/common_functionality/utility_functions.rs:335
↓ 2 callersMethodsnap_anchors
(&mut self, snap_data: &mut SnapData, point: &SnapCandidatePoint, snap_results: &mut SnapResults, c: SnapConst
editor/src/messages/tool/common_functionality/snapping/layer_snapper.rs:240
↓ 2 callersMethodsnap_bbox_points
(&mut self, snap_data: &mut SnapData, point: &SnapCandidatePoint, snap_results: &mut SnapResults, constraint:
editor/src/messages/tool/common_functionality/snapping/alignment_snapper.rs:51
↓ 2 callersFunctionsnap_drag
Snaps a dragging event from the artboard or select tool. A nonzero `axis_constraint` is a unit vector constraining the drag to that direction.
editor/src/messages/tool/common_functionality/transformation_cage.rs:327
↓ 2 callersMethodsnapped_point
Get the snapped point while ignoring current layer
editor/src/messages/tool/tool_messages/spline_tool.rs:285
↓ 2 callersFunctionsocket_name
()
desktop/src/socket.rs:118
↓ 2 callersMethodsolve
(&self)
node-graph/nodes/raster/src/cubic_spline.rs:8
↓ 2 callersFunctionsolve_spline_first_handle_closed
Solve for the first handle of a closed spline. (The opposite handle can be found by mirroring the result about the anchor.) If called with fewer than
node-graph/libraries/vector-types/src/vector/algorithms/spline.rs:61
↓ 2 callersMethodspacing
(&self, spacing: DVec2, grid_type: GridType, angles: DVec2)
editor/src/messages/tool/common_functionality/gizmos/shape_gizmos/grid_rows_columns_gizmo.rs:400
↓ 2 callersFunctionspiral_tangent
Returns the tangent direction at angle `theta` for the given spiral type.
node-graph/libraries/vector-types/src/subpath/core.rs:409
↓ 2 callersFunctionsplit
Split so segments no longer have tangents on both sides of the direction vector.
node-graph/nodes/vector/src/vector_nodes.rs:623
↓ 2 callersFunctionsplit_distance
Splits a bézier curve based on a distance measurement
node-graph/nodes/vector/src/vector_nodes.rs:2824
↓ 2 callersFunctionsquare_not_covered_by_poisson_points
(point: DVec2, half_square_size: f64, diameter_squared: f64, points_grid: &AccelerationGrid)
node-graph/libraries/vector-types/src/vector/algorithms/poisson_disk.rs:165
↓ 2 callersMethodstack_dependents
(&mut self, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1642
↓ 2 callersMethodstage_ops
Apply each op as a hot op with a freshly-ticked timestamp, returning the staged frames in order. Each tick is strictly later than the last, so the fin
document/graph-storage/src/session.rs:139
↓ 2 callersMethodstart_previewing_without_restore
(&mut self, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:4720
↓ 2 callersMethodstart_snap_along_axis
(&mut self, shape_editor: &mut ShapeState, document: &DocumentMessageHandler, input: &InputPreprocessorMessage
editor/src/messages/tool/tool_messages/path_tool.rs:1162
↓ 2 callersFunctionstate_file_path
()
desktop/src/persist.rs:82
↓ 2 callersMethodstate_from_pivot_gizmo
(&self, mouse: DVec2)
editor/src/messages/tool/tool_messages/select_tool.rs:682
↓ 2 callersMethodstop_snap_along_axis
(&mut self, shape_editor: &mut ShapeState, document: &DocumentMessageHandler, input: &InputPreprocessorMessage
editor/src/messages/tool/tool_messages/path_tool.rs:1183
↓ 2 callersMethodstorage
The `Gdd` working copy, `None` until the mount future resolves.
editor/src/messages/portfolio/document/document_message_handler.rs:2003
↓ 2 callersMethodstore_brush
(&self, style: BrushStyle, brush: Raster<CPU>)
node-graph/nodes/brush/src/brush_cache.rs:112
↓ 2 callersFunctionstore_image
(path: &Path, suffix: &str, data: &mut [u8], width: usize, height: usize)
libraries/rawkit/tests/tests.rs:93
↓ 2 callersMethodstore_initial_parameters
( &mut self, layer: LayerNodeIdentifier, inner_radius: f64, outer_radius: f64, turns: f64, start_a
editor/src/messages/tool/common_functionality/gizmos/shape_gizmos/spiral_turns_handle.rs:72
↓ 2 callersMethodstore_node
(&mut self, node: SharedNodeContainer, id: NodeId, path: Path)
node-graph/interpreted-executor/src/dynamic_executor.rs:236
↓ 2 callersMethodstream_entries
Drive a sink through manifest → session → registry → history → resources, one entry at a time, keeping each payload's recorded codec.
document/document-format/src/export.rs:140
↓ 2 callersMethodstroke_inclusive_bounding_box_with_transform
Tight bounding box in the supplied transform space, including the actual rendered stroke geometry (caps, joins, miter extensions, dashes). Runs `kurbo
node-graph/libraries/vector-types/src/vector/vector_types.rs:242
↓ 2 callersMethodstroke_set
(&mut self, color: Option<Color>, stroke: Stroke)
editor/src/messages/portfolio/document/graph_operation/utility_types.rs:713
↓ 2 callersMethodsubdivide
(left: f64, right: f64, midpoint: f64, pos_a: f64, pos_b: f64, color_a_gamma: [f32; 4], color_b_gamma: [f32; 4
node-graph/libraries/vector-types/src/gradient.rs:393
↓ 2 callersFunctionsubdivide_last_manipulator_segment
Subdivides the last segment of a manipulator group list at its midpoint, adding one new manipulator. For closed paths, the "last segment" is the closi
node-graph/nodes/vector/src/vector_nodes.rs:2214
↓ 2 callersMethodsubmit_current_node_graph_evaluation
Adds an evaluate request for whatever current network is cached.
editor/src/node_graph_executor.rs:176
↓ 2 callersMethodsubmit_node_graph_evaluation
( &mut self, document: &mut DocumentMessageHandler, document_id: DocumentId, viewport_resolution: UVec
editor/src/node_graph_executor.rs:218
↓ 2 callersFunctionsubpath_anchor_snap_points
(layer: LayerNodeIdentifier, subpath: &Subpath<PointId>, snap_data: &SnapData, points: &mut Vec<SnapCandidateP
editor/src/messages/tool/common_functionality/snapping/layer_snapper.rs:551
↓ 2 callersFunctionsync_color_options
Syncs fill and stroke from the selection (or working colors when empty). With `selection_changed = false`, preserves display values for inactive state
editor/src/messages/tool/common_functionality/color_selector.rs:213
↓ 2 callersFunctiontable_node_id_path_layout_with_breadcrumb
Renders a `List<NodeId>` as a path: the standard table view, but each item's `NodeId` value is resolved against the network path made up of all preced
editor/src/messages/portfolio/document/data_panel/data_panel_message_handler.rs:970
← previousnext →1,901–2,000 of 5,973, ranked by callers