MCPcopy Create free account

hub / github.com/GraphiteEditor/Graphite / functions

Functions5,973 in github.com/GraphiteEditor/Graphite

↓ 15 callersFunctionget_gradient_from_fill
(editor: &mut EditorTestUtils)
editor/src/messages/tool/tool_messages/gradient_tool.rs:2105
↓ 15 callersFunctiongraphic_list_at
Look up the paint graphics stored under attribute for a vector item, in the canonical `List<Graphic>` form.
node-graph/libraries/graphic-types/src/graphic.rs:200
↓ 15 callersMethoditer
(&self)
editor/src/messages/input_mapper/utility_types/input_keyboard.rs:516
↓ 15 callersMethodleft_mousedown
(&mut self, x: f64, y: f64, modifier_keys: ModifierKeys)
editor/src/test_utils.rs:206
↓ 15 callersMethodnode_click_targets
(&mut self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:2554
↓ 15 callersFunctionparse_node_fn
(attr: TokenStream2, item: TokenStream2)
node-graph/node-macro/src/parsing.rs:500
↓ 15 callersMethodpivot_viewport
(&self, document: &DocumentMessageHandler)
editor/src/messages/tool/transform_layer/transform_layer_message_handler.rs:45
↓ 15 callersMethodsegment_iter
Iterator over all of the [`Bezier`] following the order that they are stored in the segment domain, skipping invalid segments.
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:959
↓ 15 callersMethodshift_absolute_node_position
Used when moving layer by the layer panel, does not run any pushing logic. Moves all sole dependents of the layer as well. Ensure that the layer is ab
editor/src/messages/portfolio/document/utility_types/network_interface.rs:5333
↓ 15 callersMethodstroke_bezier_paths
Construct a [`Bezier`] curve for stroke.
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:1150
↓ 15 callersMethodtooltip_description
(&self)
editor/src/messages/tool/common_functionality/shapes/shape_utility.rs:90
↓ 15 callersFunctionts
(counter: u64, peer: u64)
document/graph-storage/src/tests/crdt.rs:442
↓ 14 callersMethodactive_panel_type
(&self)
editor/src/messages/portfolio/utility_types.rs:63
↓ 14 callersMethodapply_op
New local/remote op against the working registry: add ops error on duplicate targets and `Change*` ops error on a missing target, while remove ops no-
document/graph-storage/src/document.rs:151
↓ 14 callersMethodas_anchor
(self)
node-graph/libraries/vector-types/src/vector/misc.rs:475
↓ 14 callersMethodbottom_left
Get the bottom left corner of the quad.
node-graph/libraries/core-types/src/math/quad.rs:26
↓ 14 callersMethodduplicate
(&self)
desktop/src/cef.rs:226
↓ 14 callersMethodextension
(self)
document/document-format/src/codec.rs:40
↓ 14 callersMethodinto_graphic_list
(self)
node-graph/libraries/graphic-types/src/artboard.rs:30
↓ 14 callersMethodload
Wrap an already-materialized snapshot. Trusts `registry` to match `history`; advances the clock past every observed timestamp but does not re-apply op
document/graph-storage/src/session.rs:211
↓ 14 callersMethodmouseup
(&mut self, editor_mouse_state: EditorMouseState, modifier_keys: ModifierKeys)
editor/src/test_utils.rs:195
↓ 14 callersMethodnext
(&mut self)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6222
↓ 14 callersMethodother_snap_better
(&self, other: &Self)
editor/src/messages/tool/common_functionality/snapping/snap_results.rs:77
↓ 14 callersMethodquad_to
(&mut self, cx: f32, cy: f32, x: f32, y: f32)
node-graph/libraries/rendering/src/renderer.rs:2259
↓ 14 callersMethodread
(&self, path: &str)
document/container/src/lib.rs:295
↓ 14 callersMethodrender_gradient
Update the layer fill to the current gradient
editor/src/messages/tool/tool_messages/gradient_tool.rs:797
↓ 14 callersFunctionresolve_gradient
Get the gradient with appearance information from Fill node values, or the chain connected to Fill node / layer.
editor/src/messages/tool/tool_messages/gradient_tool.rs:392
↓ 14 callersMethodtarget_type
(&self)
node-graph/libraries/vector-types/src/vector/click_target.rs:179
↓ 14 callersMethodtranslate
(&self, offset: DVec2)
node-graph/libraries/core-types/src/math/rect.rs:90
↓ 14 callersMethodunload_node_click_targets
(&mut self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:2852
↓ 13 callersMethodas_handle
(self)
node-graph/libraries/vector-types/src/vector/misc.rs:465
↓ 13 callersMethodas_node
(&self)
node-graph/graph-craft/src/document.rs:290
↓ 13 callersFunctioncompute_deltas
Minimal set of deltas to transform `from` into `to`. Emits timestamp-less op shapes; the caller (`Document::commit_local` or equivalent) wraps each i
document/graph-storage/src/delta.rs:17
↓ 13 callersMethodconcat
(&mut self, additional: &Self, transform_of_additional: DAffine2, collision_hash_seed: u64)
node-graph/libraries/vector-types/src/vector/vector_types.rs:497
↓ 13 callersMethodconstrained_snap
(&mut self, snap_data: &SnapData, point: &SnapCandidatePoint, constraint: SnapConstraint, config: SnapTypeConf
editor/src/messages/tool/common_functionality/snapping.rs:406
↓ 13 callersMethoddisplay_name
Returns the display name of the node. If the display name is empty, it will return "Untitled Node" or "Untitled Layer" depending on the node type.
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1019
↓ 13 callersMethodexisting_proto_node_id
Gets the node id of a proto node with a specific reference that is upstream from the layer node, and optionally creates it if it does not exist.
editor/src/messages/portfolio/document/graph_operation/utility_types.rs:382
↓ 13 callersMethodget_handle_pair
(self, vector: &Vector)
node-graph/libraries/vector-types/src/vector/misc.rs:411
↓ 13 callersFunctiongradient_space_transform
Computes the transform from gradient space to viewport space.
editor/src/messages/tool/tool_messages/gradient_tool.rs:376
↓ 13 callersMethodhas_children
Does the layer have children? If so, then it is a folder.
editor/src/messages/portfolio/document/utility_types/document_metadata.rs:345
↓ 13 callersMethodmode_range
(mut self)
editor/src/messages/layout/utility_types/widgets/input_widgets.rs:235
↓ 13 callersMethodmove_to
(&mut self, x: f32, y: f32)
node-graph/libraries/rendering/src/renderer.rs:2253
↓ 13 callersMethodnumber_of_outputs
(&self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:362
↓ 13 callersMethodopen
Open an existing working copy at `path`. Validates the manifest, materializes the session from `registry.bin` (fast path) or by replaying `history.jso
document/document-format/src/lib.rs:96
↓ 13 callersFunctionparse
(parsed: Output)
tools/third-party-licenses/src/npm.rs:42
↓ 13 callersMethodprocess_event
When an event makes the tool change or do something, it is processed here to perform a step (transition) on the tool's finite state machine (FSM). Thi
editor/src/messages/tool/utility_types.rs:92
↓ 13 callersMethodresolve
(&mut self, id: &ResourceId, hash: ResourceHash)
node-graph/libraries/resources/src/lib.rs:344
↓ 13 callersMethodresolve
(&self, path: &str)
document/container/src/backends/folder.rs:34
↓ 13 callersMethodrun
(self)
tools/cargo-run/src/cmd.rs:63
↓ 13 callersMethodselect_segment
(&mut self, segment: SegmentId)
editor/src/messages/tool/common_functionality/shape_editor.rs:95
↓ 13 callersMethodsnap_bbox_points
(&self, tolerance: f64, point: &SnapCandidatePoint, snap_results: &mut SnapResults, constraint: SnapConstraint
editor/src/messages/tool/common_functionality/snapping/distribution_snapper.rs:187
↓ 13 callersFunctionsolid
Builds a `FillChoice::Solid` from a color.
editor/src/messages/tool/common_functionality/color_selector.rs:195
↓ 13 callersMethodtarget_handle_position
(&self, handle_type: TargetHandle, vector: &Vector)
editor/src/messages/tool/tool_messages/pen_tool.rs:589
↓ 13 callersMethodto_css_hex
(self)
node-graph/libraries/no-std-types/src/color/color_types.rs:158
↓ 13 callersMethodunload_import_export_ports
(&mut self, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1890
↓ 13 callersMethodwith_context
(context: WgpuContext)
node-graph/libraries/wgpu-executor/src/lib.rs:114
↓ 12 callersMethodadd
(&mut self, message: impl Into<Message>)
editor/src/messages/prelude.rs:78
↓ 12 callersFunctionadd_blank_assist
TODO: Remove this when we have proper entry row formatting that includes room for Assists.
editor/src/messages/portfolio/document/node_graph/node_properties.rs:82
↓ 12 callersMethodall
()
editor/src/messages/tool/common_functionality/gizmos/shape_gizmos/grid_rows_columns_gizmo.rs:432
↓ 12 callersMethodas_dvec2
(&self)
editor/src/messages/input_mapper/utility_types/input_mouse.rs:43
↓ 12 callersMethodas_ref
(&self)
node-graph/graph-craft/src/application_io/resource/mmap.rs:150
↓ 12 callersFunctionassert_boxes_in_order
(rectangles: &VecDeque<Rect>, index: usize)
editor/src/messages/tool/common_functionality/snapping/distribution_snapper.rs:443
↓ 12 callersMethodbounding_box_viewport
Get the bounding box of the click target of the specified layer in viewport space
editor/src/messages/portfolio/document/utility_types/document_metadata.rs:245
↓ 12 callersMethodcheck_selected_edges
Check if the user has selected the edge for dragging. Returns which edge in the order: `top, bottom, left, right`
editor/src/messages/tool/common_functionality/transformation_cage.rs:674
↓ 12 callersMethodclosed
Get whether the subpath is closed.
node-graph/libraries/vector-types/src/subpath/manipulators.rs:7
↓ 12 callersMethodcommit_storage_snapshot
Stages the runtime network into the `Gdd` working copy.
editor/src/messages/portfolio/document/document_message_handler.rs:2023
↓ 12 callersMethodcompiled_nested_type
(&self)
editor/src/messages/portfolio/document/utility_types/network_interface/resolved_types.rs:81
↓ 12 callersMethodcreate_layer
Creates a new layer and adds it to the document network. network_interface.move_layer_to_stack should be called after
editor/src/messages/portfolio/document/graph_operation/utility_types.rs:128
↓ 12 callersMethoddashed_line
(&mut self, start: DVec2, end: DVec2, color: Option<&str>, thickness: Option<f64>, dash_width: Option<f64>, da
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:269
↓ 12 callersMethoddeselect_all_segments
Deselects all segments across every selected layer
editor/src/messages/tool/common_functionality/shape_editor.rs:847
↓ 12 callersMethoddrain
Consumes this attribute and returns all values as a Vec of boxed scalar attribute values.
node-graph/libraries/core-types/src/list.rs:349
↓ 12 callersMethodend
(&self)
editor/src/messages/tool/tool_messages/gradient_tool.rs:2042
↓ 12 callersFunctionformat_transform_matrix
(transform: DAffine2)
node-graph/libraries/rendering/src/renderer.rs:258
↓ 12 callersMethodhas
(key: string)
frontend/src/global.d.ts:26
↓ 12 callersMethodimplementation
(&self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:964
↓ 12 callersMethodinput_type
Get the [`TypeSource`] for any InputConnector. If the input is not compiled, then an Unknown or default from the definition is returned.
editor/src/messages/portfolio/document/utility_types/network_interface/resolved_types.rs:178
↓ 12 callersMethodinto_storage
Drop the session and return the working-copy container + layout. Intended for test code that needs to reopen against the same container; panics if the
document/document-format/src/lib.rs:290
↓ 12 callersMethodis_locked
(&self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1048
↓ 12 callersMethoditer
Iterate values from `bytes`. Single-value codecs yield exactly one item; stream codecs yield however many were written.
document/document-format/src/codec.rs:84
↓ 12 callersFunctionmultiply_list_attribute
(list: &mut List<T>, key: &str, factor: f64)
node-graph/nodes/blending/src/lib.rs:19
↓ 12 callersMethodnormalize
(&self, font: Font)
editor/src/messages/portfolio/fonts/utility_types.rs:82
↓ 12 callersFunctionpath_for
Compose a container path from `basename` and `codec.extension()`.
document/document-format/src/io.rs:12
↓ 12 callersFunctionpath_overlays
(document: &DocumentMessageHandler, draw_handles: DrawHandles, shape_editor: &mut ShapeState, overlay_context:
editor/src/messages/portfolio/document/overlays/utility_functions.rs:130
↓ 12 callersFunctionquery_noise_pattern_state
(node_id: NodeId, context: &NodePropertiesContext)
editor/src/messages/portfolio/document/node_graph/node_properties.rs:1217
↓ 12 callersMethodremove
(&self, path: &str)
document/container/src/lib.rs:323
↓ 12 callersMethodsend_layouts
(&self, responses: &mut VecDeque<Message>)
editor/src/messages/color_picker/color_picker_message_handler.rs:285
↓ 12 callersMethodstage_from_runtime
( &mut self, network: &graph_craft::document::NodeNetwork, metadata: &M, resources: &graphene_resource
document/graph-storage/src/session.rs:74
↓ 12 callersMethodtilt
Get the tilt angle between -180° and 180° in radians.
editor/src/messages/portfolio/document/utility_types/misc.rs:687
↓ 12 callersFunctionvector_node_from_bezpath
(bezpath: BezPath)
node-graph/nodes/vector/src/vector_nodes.rs:3283
↓ 12 callersMethodwith_footprint
(mut self, footprint: Footprint)
node-graph/libraries/core-types/src/context.rs:637
↓ 11 callersMethodas_ref
(&self)
document/container/src/lib.rs:66
↓ 11 callersMethodas_solid
(&self)
node-graph/libraries/vector-types/src/vector/style.rs:61
↓ 11 callersFunctioncommit_op
Commit a single op to a document as a retired delta. Mints a fresh timestamp, links to current head, applies, records in history, advances head.
document/graph-storage/src/tests/crdt.rs:22
↓ 11 callersMethodconvert
(self, _: Footprint, _converter: ())
node-graph/libraries/core-types/src/ops.rs:53
↓ 11 callersMethoddeclarations
(&self, byte_store: &dyn LoadResource)
document/document-format/src/lib.rs:301
↓ 11 callersMethoddecompose_rotation_scale_skew
(&self)
node-graph/libraries/core-types/src/transform.rs:38
↓ 11 callersMethodeval
(&'i self, _input: Footprint)
node-graph/nodes/vector/src/vector_nodes.rs:3277
↓ 11 callersFunctionget
(target: T, propKey: string | symbol, receiver: unknown)
frontend/src/utility-functions/panic-proxy.ts:5
↓ 11 callersMethodhash
(&self, state: &mut H)
node-graph/graph-craft/src/document.rs:106
↓ 11 callersMethodinput_index
(&self)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6282
← previousnext →301–400 of 5,973, ranked by callers