MCPcopy Create free account

hub / github.com/GraphiteEditor/Graphite / functions

Functions5,973 in github.com/GraphiteEditor/Graphite

↓ 6 callersMethodnested_metadata_mut
Get the mutable nested network given by the path of node ids
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6515
↓ 6 callersFunctionnew_custom
(id: NodeId, nodes: Vec<(NodeId, NodeTemplate)>, parent: LayerNodeIdentifier, responses: &mut VecDeque<Message
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:241
↓ 6 callersMethodnonzero_bounding_box
Calculate the corners of the bounding box but with a nonzero size. If the layer bounds are `0` in either axis then they are changed to be `1`.
editor/src/messages/portfolio/document/utility_types/document_metadata.rs:209
↓ 6 callersMethodnumber_of_imports
(&self, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:327
↓ 6 callersMethodother_colinear_handle
(&self, handle: HandleId)
node-graph/libraries/vector-types/src/vector/vector_types.rs:459
↓ 6 callersFunctionpatchLayoutStore
(layoutStore: Writable<Layout>, data: Parameters<typeof patchLayout>[1])
frontend/src/stores/portfolio.ts:54
↓ 6 callersMethodpersist_session_state
(&mut self)
document/document-format/src/persist.rs:171
↓ 6 callersMethodpivot_from_bounds
(&self, min: DVec2, max: DVec2)
editor/src/messages/tool/common_functionality/transformation_cage.rs:77
↓ 6 callersMethodplace_anchor
(&mut self, snap_data: SnapData, transform: DAffine2, mouse: DVec2, responses: &mut VecDeque<Message>)
editor/src/messages/tool/tool_messages/pen_tool.rs:1178
↓ 6 callersMethodposition
(&self, network_path: &[NodeId], local_id: NodeId)
document/graph-storage/src/tests/round_trip.rs:418
↓ 6 callersMethodpreviewing
(&self, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:905
↓ 6 callersMethodprune
Remove empty panel groups and collapse unnecessary single-child splits.
editor/src/messages/portfolio/utility_types.rs:169
↓ 6 callersMethodpush_child
Add a child towards the bottom of the Layers panel
editor/src/messages/portfolio/document/utility_types/document_metadata.rs:423
↓ 6 callersMethodregistry_basename
(&self)
document/document-format/src/layout.rs:33
↓ 6 callersMethodselect_secondary_color
(&mut self, color: Color)
editor/src/test_utils.rs:247
↓ 6 callersMethodselected_layers_contains
(&self, layer: LayerNodeIdentifier, metadata: &DocumentMetadata)
editor/src/messages/portfolio/document/utility_types/nodes.rs:114
↓ 6 callersMethodset_absolute_position
Sets the position of a node to an absolute position
editor/src/messages/portfolio/document/utility_types/network_interface.rs:5073
↓ 6 callersMethodset_input_for_import
Lightweight version of `set_input` for bulk import operations. Directly sets the input without `is_acyclic` checks, `load_structure`, position convers
editor/src/messages/portfolio/document/utility_types/network_interface.rs:4109
↓ 6 callersFunctionset_list_blend_mode
(list: &mut List<T>, blend_mode: BlendMode)
node-graph/nodes/blending/src/lib.rs:105
↓ 6 callersFunctionset_list_clip
(list: &mut List<T>, clip: bool)
node-graph/nodes/blending/src/lib.rs:146
↓ 6 callersFunctionset_paint_attribute
Stores a paint attribute in its canonical `List<Graphic>` form, the only representation paint readers accept.
node-graph/libraries/graphic-types/src/graphic.rs:214
↓ 6 callersMethodset_stack_position_calculated_offset
Sets the position of a node to a stack position without changing its y offset
editor/src/messages/portfolio/document/utility_types/network_interface.rs:5116
↓ 6 callersMethodset_upstream_chain_to_absolute
node_id is the first chain node, not the layer
editor/src/messages/portfolio/document/utility_types/network_interface.rs:5293
↓ 6 callersFunctionsetup_network
(name: &str)
node-graph/interpreted-executor/benches/benchmark_util.rs:10
↓ 6 callersFunctionsource_key
(priority: f64, peer: u64)
document/graph-storage/src/tests/crdt.rs:435
↓ 6 callersMethodsquare
(&mut self, position: DVec2, size: Option<f64>, color_fill: Option<&str>, color_stroke: Option<&str>)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:622
↓ 6 callersMethodto_f64
(&self)
node-graph/node-macro/src/parsing.rs:144
↓ 6 callersMethodto_flat_u8
Flattens each channel cast to a u8
node-graph/libraries/raster-types/src/image.rs:180
↓ 6 callersMethodto_mouse_state
(&self, viewport: &ViewportMessageHandler)
editor/src/messages/input_mapper/utility_types/input_mouse.rs:89
↓ 6 callersMethodtoggle
(&mut self, bitvector_index: usize)
editor/src/messages/input_mapper/utility_types/input_keyboard.rs:482
↓ 6 callersMethodtry_footprint
(&self)
node-graph/libraries/core-types/src/context.rs:235
↓ 6 callersMethodty
(&self)
node-graph/graph-craft/src/document.rs:221
↓ 6 callersMethodunload_wire
(&mut self, input: &InputConnector, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:2449
↓ 6 callersMethodupdate_layout
(&mut self, responses: &mut VecDeque<Message>, context: DataPanelMessageContext<'_>)
editor/src/messages/portfolio/document/data_panel/data_panel_message_handler.rs:83
↓ 6 callersMethodupdate_state
(&mut self, state: PointRadiusHandleState)
editor/src/messages/tool/common_functionality/gizmos/shape_gizmos/point_radius_handle.rs:54
↓ 6 callersMethodupstream_nodes_below_layer
All chain nodes and branches from the chain which are sole dependents of the layer
editor/src/messages/portfolio/document/utility_types/network_interface.rs:777
↓ 6 callersFunctionworkspace_dir
()
tools/cargo-run/src/lib.rs:70
↓ 6 callersFunctionwrapper
Provides access to the `EditorWrapper` by calling the given closure with them as arguments.
frontend/wrapper/src/helpers.rs:60
↓ 5 callersMethodaffine_transform
(self, transform: DAffine2)
node-graph/libraries/core-types/src/math/bbox.rs:89
↓ 5 callersMethodall_edges
Get all the edges in the quad.
node-graph/libraries/core-types/src/math/quad.rs:47
↓ 5 callersMethodanchors
(&self)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:146
↓ 5 callersMethodappend
(&self, path: &str, bytes: &[u8])
document/container/src/lib.rs:303
↓ 5 callersMethodapply
Apply this modification to the specified [`PointDomain`].
node-graph/libraries/vector-types/src/vector/vector_modification.rs:29
↓ 5 callersFunctionapplyTransform
()
website/static/js/page/contributor-guide/crate-hierarchy.js:79
↓ 5 callersMethodapply_fill
(&self, layer: LayerNodeIdentifier, responses: &mut VecDeque<Message>)
editor/src/messages/tool/common_functionality/color_selector.rs:58
↓ 5 callersFunctionapply_fill_color_pick
Applies a user-picked fill (gradient or solid). With a selection, writes to the layers; with none, pushes a solid to the swap-routed working color slo
editor/src/messages/tool/common_functionality/color_selector.rs:404
↓ 5 callersFunctionapply_fill_enabled
Toggles the fill checkbox: re-applies the preserved color when enabled, removes the fill node when disabled.
editor/src/messages/tool/common_functionality/color_selector.rs:442
↓ 5 callersMethodapply_hot_op
Apply a hot op from the broadcast stream, appending one frame to the hot log. # Errors Returns [`Error::Crdt`] if the op is rejected by the session,
document/document-format/src/persist.rs:113
↓ 5 callersMethodapply_op_idempotent
Replay/retire against the working registry: structural ops skip duplicate/missing targets (the state is already present from hot ops or a prior snapsh
document/graph-storage/src/document.rs:157
↓ 5 callersMethodapply_op_with
(&mut self, target: RegistryTarget, op: RegistryDelta, timestamp: TimeStamp, mode: ApplyMode)
document/graph-storage/src/document.rs:168
↓ 5 callersFunctionapply_stroke_color_pick
Applies a user-picked stroke color. With a selection, writes to the layers; with none, pushes to the swap-routed working color slot.
editor/src/messages/tool/common_functionality/color_selector.rs:424
↓ 5 callersFunctionapply_stroke_enabled
Toggles the stroke checkbox: mirrors [`apply_fill_enabled`].
editor/src/messages/tool/common_functionality/color_selector.rs:471
↓ 5 callersFunctionapply_stroke_option
Dispatches a [`StrokeOptionsUpdate`] to the matching apply helper and updates `drawing` in lockstep.
editor/src/messages/tool/common_functionality/stroke_options.rs:39
↓ 5 callersFunctionapply_working_colors
Propagates working colors to the tool's swatches. With no selection both slots refresh; with a selection, only slots tracking the working color.
editor/src/messages/tool/common_functionality/color_selector.rs:502
↓ 5 callersFunctionarc_end_points
Calculate the viewport positions of arc endpoints
editor/src/messages/tool/common_functionality/shapes/shape_utility.rs:381
↓ 5 callersFunctionassert_stops_at_positions
(actual_positions: &[f64], expected_positions: &[f64], tolerance: f64)
editor/src/messages/tool/tool_messages/gradient_tool.rs:2118
↓ 5 callersMethodattributes
(&self)
document/graph-storage/src/model.rs:20
↓ 5 callersFunctionbevel
(_: impl Ctx, source: List<Vector>, #[default(10.)] distance: Length)
node-graph/nodes/vector/src/vector_nodes.rs:3093
↓ 5 callersMethodbezier_command
(&self, bezier: PathSeg, transform: DAffine2, move_to: bool)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:916
↓ 5 callersMethodbezier_to_path
(&self, bezier: PathSeg, transform: DAffine2, move_to: bool, path: &mut BezPath)
editor/src/messages/portfolio/document/overlays/utility_types_native.rs:972
↓ 5 callersMethodbounding_box_with_transform
Return the min and max corners that represent the bounding box of the subpath, after a given affine transform.
node-graph/libraries/vector-types/src/subpath/solvers.rs:56
↓ 5 callersMethodbuild
(self)
node-graph/libraries/wgpu-executor/src/context.rs:46
↓ 5 callersMethodbuild_stroke_path_iter
(&self)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:1134
↓ 5 callersFunctionbuild_transform_with_y_preservation
Build a new affine that maps canonical (0,0) -> (1,0) to (new_start, new_end), preserving the y-axis shape of `old` proportionally to the x-axis lengt
node-graph/libraries/vector-types/src/gradient.rs:522
↓ 5 callersFunctionbw_track
2-stop black-to-white gradient track for spectrum sliders that map a value to a grayscale axis.
editor/src/messages/portfolio/document/node_graph/node_properties.rs:1261
↓ 5 callersMethodcache_hash
(&self, state: &mut H)
node-graph/nodes/text/src/font.rs:23
↓ 5 callersFunctioncall_site_ident
Creates an ident at the call site
proc-macros/src/helpers.rs:26
↓ 5 callersMethodcast_linear_channel
(self)
node-graph/libraries/no-std-types/src/color/color_traits.rs:38
↓ 5 callersMethodcleanup_queues
If the deepest queues (higher index in queues list) are now empty (after being popped from) then remove them
editor/src/dispatcher.rs:106
↓ 5 callersMethodclone_box
Clones this value into a new boxed trait object.
node-graph/libraries/core-types/src/list.rs:134
↓ 5 callersMethodcmp
(&self, other: &Self)
node-graph/libraries/core-types/src/memo.rs:37
↓ 5 callersMethodcolinear
Computes if all the connected handles are colinear for an anchor, or if that handle is colinear for a handle.
node-graph/libraries/vector-types/src/vector/vector_types.rs:448
↓ 5 callersFunctioncolor_widget
(parameter_widgets_info: ParameterWidgetsInfo, color_button: ColorInput)
editor/src/messages/portfolio/document/node_graph/node_properties.rs:1154
↓ 5 callersFunctioncompile
(network: NodeNetwork)
node-graph/graph-craft/src/util.rs:11
↓ 5 callersMethodcompile_single
(&self, network: NodeNetwork)
node-graph/graph-craft/src/graphene_compiler.rs:26
↓ 5 callersMethodcompute_blit_points
(&self)
node-graph/nodes/brush/src/brush_stroke.rs:73
↓ 5 callersMethodcompute_reverse_delta
Compute the inverse of `delta` against the registry named by `target`. Retirement passes [`RegistryTarget::Snapshot`] so LWW reverses (export target,
document/graph-storage/src/document.rs:340
↓ 5 callersMethodcompute_viewport_threshold
Compute the threshold in viewport space. This only works with affine transforms as it assumes lines remain parallel.
editor/src/messages/tool/common_functionality/transformation_cage.rs:657
↓ 5 callersMethodconnected_count
Enumerate the number of segments connected to a point. If a segment starts and ends at a point then it is counted twice.
node-graph/libraries/vector-types/src/vector/vector_types.rs:410
↓ 5 callersFunctioncontains_generic_param
(ty: &Type, fn_generics: &[GenericParam])
node-graph/node-macro/src/validation.rs:199
↓ 5 callersMethodconvert_selected_manipulators_to_colinear_handles
Converts all selected points to colinear while moving the handles to ensure their 180° angle separation. If only one handle is selected, the other han
editor/src/messages/tool/common_functionality/shape_editor.rs:1132
↓ 5 callersFunctioncreate_stroke_options_popover_widget
Builds the control-bar popover button that opens the stroke options panel (weight, align, caps, joins, miter limit, paint order, dash). `to_message` a
editor/src/messages/tool/common_functionality/stroke_options.rs:27
↓ 5 callersFunctioncurrentTransform
* @param {Carousel} carousel
website/static/js/component/carousel.js:330
↓ 5 callersMethoddashed_polygon
(&mut self, polygon: &[DVec2], stroke_color: Option<&str>, color_fill: Option<&str>, dash_width: Option<f64>,
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:206
↓ 5 callersFunctiondatabaseSet
(key: string, value: unknown)
frontend/src/utility-functions/persistence.ts:237
↓ 5 callersFunctiondescend
Descend the `/`-separated path against `root` and return the directory handle plus the final segment.
document/container/src/backends/opfs.rs:287
↓ 5 callersMethodfind_deepest
Find the deepest layer given in the sorted array (by returning the one which is not a folder from the list of layers under the click location).
editor/src/messages/portfolio/document/document_message_handler.rs:1920
↓ 5 callersMethodfind_nearest_visible_point_indices
( &mut self, network_interface: &NodeNetworkInterface, mouse_position: DVec2, select_threshold: f64,
editor/src/messages/tool/common_functionality/shape_editor.rs:1739
↓ 5 callersMethodfirst_mut
(&mut self)
document/graph-storage/src/history.rs:157
↓ 5 callersFunctionflatten_path
(_: impl Ctx, #[implementations(List<Graphic>, List<Vector>)] content: T)
node-graph/nodes/vector/src/vector_nodes.rs:1433
↓ 5 callersMethodget_cursor
Gets the required mouse cursor to show resizing bounds or optionally rotation
editor/src/messages/tool/common_functionality/transformation_cage.rs:766
↓ 5 callersFunctionget_ellipse
(editor: &mut EditorTestUtils)
editor/src/messages/tool/common_functionality/shapes/ellipse_shape.rs:65
↓ 5 callersFunctionget_polygon_id
(layer: LayerNodeIdentifier, network_interface: &NodeNetworkInterface)
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:436
↓ 5 callersMethodget_resource_or_queue_load
(&self, font: &Font, responses: &mut VecDeque<Message>)
editor/src/messages/portfolio/fonts/fonts_message_handler.rs:84
↓ 5 callersMethodget_selection_mode
(&self)
editor/src/messages/preferences/preferences_message_handler.rs:46
↓ 5 callersMethodget_snap_candidates
(&mut self, document: &DocumentMessageHandler, input: &InputPreprocessorMessageHandler, viewport: &ViewportMes
editor/src/messages/tool/tool_messages/select_tool.rs:518
↓ 5 callersFunctionget_star_id
(layer: LayerNodeIdentifier, network_interface: &NodeNetworkInterface)
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:444
↓ 5 callersFunctionget_stroke_width
(layer: LayerNodeIdentifier, network_interface: &NodeNetworkInterface)
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:524
↓ 5 callersFunctionget_upstream_gradient_value_node_id
Try to find a "Gradient Value" node that is connected to a "Fill" node, or to a layer directly.
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:292
↓ 5 callersFunctionget_vector_and_transform_list
(editor: &mut EditorTestUtils)
editor/src/messages/tool/tool_messages/freehand_tool.rs:432
← previousnext →701–800 of 5,973, ranked by callers