Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GraphiteEditor/Graphite
/ functions
Functions
5,973 in github.com/GraphiteEditor/Graphite
⨍
Functions
5,973
◇
Types & classes
1,421
↓ 15 callers
Function
get_gradient_from_fill
(editor: &mut EditorTestUtils)
editor/src/messages/tool/tool_messages/gradient_tool.rs:2105
↓ 15 callers
Function
graphic_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 callers
Method
iter
(&self)
editor/src/messages/input_mapper/utility_types/input_keyboard.rs:516
↓ 15 callers
Method
left_mousedown
(&mut self, x: f64, y: f64, modifier_keys: ModifierKeys)
editor/src/test_utils.rs:206
↓ 15 callers
Method
node_click_targets
(&mut self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:2554
↓ 15 callers
Function
parse_node_fn
(attr: TokenStream2, item: TokenStream2)
node-graph/node-macro/src/parsing.rs:500
↓ 15 callers
Method
pivot_viewport
(&self, document: &DocumentMessageHandler)
editor/src/messages/tool/transform_layer/transform_layer_message_handler.rs:45
↓ 15 callers
Method
segment_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 callers
Method
shift_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 callers
Method
stroke_bezier_paths
Construct a [`Bezier`] curve for stroke.
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:1150
↓ 15 callers
Method
tooltip_description
(&self)
editor/src/messages/tool/common_functionality/shapes/shape_utility.rs:90
↓ 15 callers
Function
ts
(counter: u64, peer: u64)
document/graph-storage/src/tests/crdt.rs:442
↓ 14 callers
Method
active_panel_type
(&self)
editor/src/messages/portfolio/utility_types.rs:63
↓ 14 callers
Method
apply_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 callers
Method
as_anchor
(self)
node-graph/libraries/vector-types/src/vector/misc.rs:475
↓ 14 callers
Method
bottom_left
Get the bottom left corner of the quad.
node-graph/libraries/core-types/src/math/quad.rs:26
↓ 14 callers
Method
duplicate
(&self)
desktop/src/cef.rs:226
↓ 14 callers
Method
extension
(self)
document/document-format/src/codec.rs:40
↓ 14 callers
Method
into_graphic_list
(self)
node-graph/libraries/graphic-types/src/artboard.rs:30
↓ 14 callers
Method
load
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 callers
Method
mouseup
(&mut self, editor_mouse_state: EditorMouseState, modifier_keys: ModifierKeys)
editor/src/test_utils.rs:195
↓ 14 callers
Method
next
(&mut self)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6222
↓ 14 callers
Method
other_snap_better
(&self, other: &Self)
editor/src/messages/tool/common_functionality/snapping/snap_results.rs:77
↓ 14 callers
Method
quad_to
(&mut self, cx: f32, cy: f32, x: f32, y: f32)
node-graph/libraries/rendering/src/renderer.rs:2259
↓ 14 callers
Method
read
(&self, path: &str)
document/container/src/lib.rs:295
↓ 14 callers
Method
render_gradient
Update the layer fill to the current gradient
editor/src/messages/tool/tool_messages/gradient_tool.rs:797
↓ 14 callers
Function
resolve_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 callers
Method
target_type
(&self)
node-graph/libraries/vector-types/src/vector/click_target.rs:179
↓ 14 callers
Method
translate
(&self, offset: DVec2)
node-graph/libraries/core-types/src/math/rect.rs:90
↓ 14 callers
Method
unload_node_click_targets
(&mut self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:2852
↓ 13 callers
Method
as_handle
(self)
node-graph/libraries/vector-types/src/vector/misc.rs:465
↓ 13 callers
Method
as_node
(&self)
node-graph/graph-craft/src/document.rs:290
↓ 13 callers
Function
compute_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 callers
Method
concat
(&mut self, additional: &Self, transform_of_additional: DAffine2, collision_hash_seed: u64)
node-graph/libraries/vector-types/src/vector/vector_types.rs:497
↓ 13 callers
Method
constrained_snap
(&mut self, snap_data: &SnapData, point: &SnapCandidatePoint, constraint: SnapConstraint, config: SnapTypeConf
editor/src/messages/tool/common_functionality/snapping.rs:406
↓ 13 callers
Method
display_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 callers
Method
existing_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 callers
Method
get_handle_pair
(self, vector: &Vector)
node-graph/libraries/vector-types/src/vector/misc.rs:411
↓ 13 callers
Function
gradient_space_transform
Computes the transform from gradient space to viewport space.
editor/src/messages/tool/tool_messages/gradient_tool.rs:376
↓ 13 callers
Method
has_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 callers
Method
mode_range
(mut self)
editor/src/messages/layout/utility_types/widgets/input_widgets.rs:235
↓ 13 callers
Method
move_to
(&mut self, x: f32, y: f32)
node-graph/libraries/rendering/src/renderer.rs:2253
↓ 13 callers
Method
number_of_outputs
(&self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:362
↓ 13 callers
Method
open
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 callers
Function
parse
(parsed: Output)
tools/third-party-licenses/src/npm.rs:42
↓ 13 callers
Method
process_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 callers
Method
resolve
(&mut self, id: &ResourceId, hash: ResourceHash)
node-graph/libraries/resources/src/lib.rs:344
↓ 13 callers
Method
resolve
(&self, path: &str)
document/container/src/backends/folder.rs:34
↓ 13 callers
Method
run
(self)
tools/cargo-run/src/cmd.rs:63
↓ 13 callers
Method
select_segment
(&mut self, segment: SegmentId)
editor/src/messages/tool/common_functionality/shape_editor.rs:95
↓ 13 callers
Method
snap_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 callers
Function
solid
Builds a `FillChoice::Solid` from a color.
editor/src/messages/tool/common_functionality/color_selector.rs:195
↓ 13 callers
Method
target_handle_position
(&self, handle_type: TargetHandle, vector: &Vector)
editor/src/messages/tool/tool_messages/pen_tool.rs:589
↓ 13 callers
Method
to_css_hex
(self)
node-graph/libraries/no-std-types/src/color/color_types.rs:158
↓ 13 callers
Method
unload_import_export_ports
(&mut self, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1890
↓ 13 callers
Method
with_context
(context: WgpuContext)
node-graph/libraries/wgpu-executor/src/lib.rs:114
↓ 12 callers
Method
add
(&mut self, message: impl Into<Message>)
editor/src/messages/prelude.rs:78
↓ 12 callers
Function
add_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 callers
Method
all
()
editor/src/messages/tool/common_functionality/gizmos/shape_gizmos/grid_rows_columns_gizmo.rs:432
↓ 12 callers
Method
as_dvec2
(&self)
editor/src/messages/input_mapper/utility_types/input_mouse.rs:43
↓ 12 callers
Method
as_ref
(&self)
node-graph/graph-craft/src/application_io/resource/mmap.rs:150
↓ 12 callers
Function
assert_boxes_in_order
(rectangles: &VecDeque<Rect>, index: usize)
editor/src/messages/tool/common_functionality/snapping/distribution_snapper.rs:443
↓ 12 callers
Method
bounding_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 callers
Method
check_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 callers
Method
closed
Get whether the subpath is closed.
node-graph/libraries/vector-types/src/subpath/manipulators.rs:7
↓ 12 callers
Method
commit_storage_snapshot
Stages the runtime network into the `Gdd` working copy.
editor/src/messages/portfolio/document/document_message_handler.rs:2023
↓ 12 callers
Method
compiled_nested_type
(&self)
editor/src/messages/portfolio/document/utility_types/network_interface/resolved_types.rs:81
↓ 12 callers
Method
create_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 callers
Method
dashed_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 callers
Method
deselect_all_segments
Deselects all segments across every selected layer
editor/src/messages/tool/common_functionality/shape_editor.rs:847
↓ 12 callers
Method
drain
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 callers
Method
end
(&self)
editor/src/messages/tool/tool_messages/gradient_tool.rs:2042
↓ 12 callers
Function
format_transform_matrix
(transform: DAffine2)
node-graph/libraries/rendering/src/renderer.rs:258
↓ 12 callers
Method
has
(key: string)
frontend/src/global.d.ts:26
↓ 12 callers
Method
implementation
(&self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:964
↓ 12 callers
Method
input_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 callers
Method
into_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 callers
Method
is_locked
(&self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1048
↓ 12 callers
Method
iter
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 callers
Function
multiply_list_attribute
(list: &mut List<T>, key: &str, factor: f64)
node-graph/nodes/blending/src/lib.rs:19
↓ 12 callers
Method
normalize
(&self, font: Font)
editor/src/messages/portfolio/fonts/utility_types.rs:82
↓ 12 callers
Function
path_for
Compose a container path from `basename` and `codec.extension()`.
document/document-format/src/io.rs:12
↓ 12 callers
Function
path_overlays
(document: &DocumentMessageHandler, draw_handles: DrawHandles, shape_editor: &mut ShapeState, overlay_context:
editor/src/messages/portfolio/document/overlays/utility_functions.rs:130
↓ 12 callers
Function
query_noise_pattern_state
(node_id: NodeId, context: &NodePropertiesContext)
editor/src/messages/portfolio/document/node_graph/node_properties.rs:1217
↓ 12 callers
Method
remove
(&self, path: &str)
document/container/src/lib.rs:323
↓ 12 callers
Method
send_layouts
(&self, responses: &mut VecDeque<Message>)
editor/src/messages/color_picker/color_picker_message_handler.rs:285
↓ 12 callers
Method
stage_from_runtime
( &mut self, network: &graph_craft::document::NodeNetwork, metadata: &M, resources: &graphene_resource
document/graph-storage/src/session.rs:74
↓ 12 callers
Method
tilt
Get the tilt angle between -180° and 180° in radians.
editor/src/messages/portfolio/document/utility_types/misc.rs:687
↓ 12 callers
Function
vector_node_from_bezpath
(bezpath: BezPath)
node-graph/nodes/vector/src/vector_nodes.rs:3283
↓ 12 callers
Method
with_footprint
(mut self, footprint: Footprint)
node-graph/libraries/core-types/src/context.rs:637
↓ 11 callers
Method
as_ref
(&self)
document/container/src/lib.rs:66
↓ 11 callers
Method
as_solid
(&self)
node-graph/libraries/vector-types/src/vector/style.rs:61
↓ 11 callers
Function
commit_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 callers
Method
convert
(self, _: Footprint, _converter: ())
node-graph/libraries/core-types/src/ops.rs:53
↓ 11 callers
Method
declarations
(&self, byte_store: &dyn LoadResource)
document/document-format/src/lib.rs:301
↓ 11 callers
Method
decompose_rotation_scale_skew
(&self)
node-graph/libraries/core-types/src/transform.rs:38
↓ 11 callers
Method
eval
(&'i self, _input: Footprint)
node-graph/nodes/vector/src/vector_nodes.rs:3277
↓ 11 callers
Function
get
(target: T, propKey: string | symbol, receiver: unknown)
frontend/src/utility-functions/panic-proxy.ts:5
↓ 11 callers
Method
hash
(&self, state: &mut H)
node-graph/graph-craft/src/document.rs:106
↓ 11 callers
Method
input_index
(&self)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6282
← previous
next →
301–400 of 5,973, ranked by callers