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
↓ 5 callers
Function
gradient_handle_positions
Viewport positions of the gradient's start (unit param 0) and end (unit param 1) handles.
editor/src/messages/tool/tool_messages/gradient_tool.rs:381
↓ 5 callers
Function
handles_to_segment
(start: DVec2, handles: BezierHandles, end: DVec2)
node-graph/libraries/vector-types/src/vector/misc.rs:171
↓ 5 callers
Method
hidden_primary_output
(&self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1140
↓ 5 callers
Method
horizontal_layer_flow
Return an iterator up the horizontal flow of the layer
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:927
↓ 5 callers
Method
hot_log_basename
(&self)
document/document-format/src/layout.rs:39
↓ 5 callers
Method
id_to_index
Get index from ID by linear search. Takes `O(n)` time.
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:397
↓ 5 callers
Method
ignore_manipulator
(&self, layer: LayerNodeIdentifier, target: PointId)
editor/src/messages/tool/common_functionality/snapping.rs:242
↓ 5 callers
Method
implementation_name
The uneditable name in the Properties panel which represents the function name of the node implementation.
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1042
↓ 5 callers
Method
inputs
(&self)
document/graph-storage/src/model.rs:17
↓ 5 callers
Function
instance
()
desktop/src/window/mac/app.rs:31
↓ 5 callers
Method
into_diff_update
(self)
editor/src/messages/layout/utility_types/layout_widget.rs:197
↓ 5 callers
Method
into_vec
(self)
node-graph/nodes/vector/src/vector_nodes.rs:237
↓ 5 callers
Method
introspect
Calls the `Node::serialize` for that specific node, returning for example the cached value for a monitor node. The node path must match the document n
node-graph/interpreted-executor/src/dynamic_executor.rs:111
↓ 5 callers
Method
is_constraint
(&self)
editor/src/messages/tool/common_functionality/compass_rose.rs:109
↓ 5 callers
Method
is_empty
Returns true if this graphic's inner list is empty.
node-graph/libraries/graphic-types/src/graphic.rs:505
↓ 5 callers
Method
is_fully_transparent
(&self)
node-graph/libraries/graphic-types/src/graphic.rs:475
↓ 5 callers
Method
is_panel_present
Check if a panel type is present (as any tab) in any panel group, whether or not it's the active tab.
editor/src/messages/portfolio/utility_types.rs:164
↓ 5 callers
Method
is_pivot
(&self)
editor/src/messages/tool/common_functionality/pivot.rs:178
↓ 5 callers
Method
is_stack
(&self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1177
↓ 5 callers
Method
is_visible
(&self, panel_type: PanelType)
editor/src/messages/portfolio/utility_types.rs:71
↓ 5 callers
Method
items
(&self)
desktop/src/window/mac/menu.rs:118
↓ 5 callers
Method
l
(&self)
node-graph/libraries/no-std-types/src/color/color_traits.rs:163
↓ 5 callers
Method
layer_click_target_from_click
(&mut self, click: DVec2, click_target_type: LayerClickTargetTypes, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:3054
↓ 5 callers
Method
layer_with_free_points_outline
(&self, layer: LayerNodeIdentifier)
editor/src/messages/portfolio/document/utility_types/document_metadata.rs:262
↓ 5 callers
Method
layout_text
Create a text layout from the given font resource and typesetting configuration.
node-graph/nodes/text/src/text_context.rs:109
↓ 5 callers
Method
len
Returns the number of [ManipulatorGroup]s contained within the `Subpath`.
node-graph/libraries/vector-types/src/subpath/core.rs:94
↓ 5 callers
Method
line
(&mut self, start: DVec2, end: DVec2, color: Option<&str>, thickness: Option<f64>)
editor/src/messages/portfolio/document/overlays/utility_types_native.rs:262
↓ 5 callers
Function
load_from_name
(name: &str)
node-graph/graph-craft/src/util.rs:16
↓ 5 callers
Method
map_pixels
(&mut self, map_fn: F)
node-graph/libraries/raster-types/src/lib.rs:68
↓ 5 callers
Method
mark_interaction_end
Mark this delta as the last op of a user interaction, so the undo cursor treats it as a checkpoint.
document/graph-storage/src/crdt.rs:71
↓ 5 callers
Function
mount_in_memory_storage
Mount a fresh in-memory `Gdd` onto the active document so `commit_storage_snapshot` (the real autosave path) runs against it. Returns the byte store t
editor/src/messages/portfolio/document/storage_tests/round_trip_tests.rs:658
↓ 5 callers
Method
mousedown
(&mut self, editor_mouse_state: EditorMouseState, modifier_keys: ModifierKeys)
editor/src/test_utils.rs:191
↓ 5 callers
Method
next_sibling
Access the next sibling of this layer (down the Layers panel)
editor/src/messages/portfolio/document/utility_types/document_metadata.rs:330
↓ 5 callers
Function
node_paths
Walk every node in every nested network and collect `(network_path, local_id)` pairs, so a test can iterate every node addressable from the metadata s
editor/src/messages/portfolio/document/storage_tests/test_support.rs:25
↓ 5 callers
Method
observe
Advances past an incoming op so future local ticks are causally later.
document/graph-storage/src/ids.rs:105
↓ 5 callers
Function
operatingSystem
()
frontend/src/utility-functions/platform.ts:28
↓ 5 callers
Method
path_aware_outline_targets
Outline targets for the Select tool's hover/selection overlay, mirroring the Path tool's view. Returns `Some` when an upstream Path node exists so the
editor/src/messages/portfolio/document/utility_types/network_interface.rs:3294
↓ 5 callers
Function
pathseg_tangent
(segment: PathSeg, t: f64)
node-graph/libraries/vector-types/src/vector/algorithms/util.rs:4
↓ 5 callers
Method
peer
(&self)
document/graph-storage/src/session.rs:50
↓ 5 callers
Method
preview_draw
(&mut self, snap_data: &SnapData, mouse: DVec2)
editor/src/messages/tool/common_functionality/snapping.rs:259
↓ 5 callers
Method
process_message
(&mut self, message: InputPreprocessorMessage, responses: &mut VecDeque<Message>, context: InputPreprocessorMe
editor/src/messages/input_preprocessor/input_preprocessor_message_handler.rs:23
↓ 5 callers
Function
registry_with_resources
(resources: ResourceStore)
document/graph-storage/src/tests/crdt.rs:632
↓ 5 callers
Method
reorder_ids
Sort the nodes vec so it is in a topological order. This ensures that no node takes an input from a node that is found later in the list.
node-graph/graph-craft/src/proto.rs:505
↓ 5 callers
Method
request_redraw
(&self)
desktop/src/window.rs:85
↓ 5 callers
Function
reset_colors_on_deactivation
Resets the tool's swatches to the working colors. Called on tool deactivation and shape-mode changes.
editor/src/messages/tool/common_functionality/color_selector.rs:515
↓ 5 callers
Method
resize_handle
(&mut self, position: DVec2, rotation: f64)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:591
↓ 5 callers
Method
resources_mut
(&self)
editor/src/messages/resource_storage/resource_storage_message_handler.rs:46
↓ 5 callers
Method
rotate
Returns a subpath that results from rotating this subpath around the origin by the given angle (in radians).
node-graph/libraries/vector-types/src/subpath/transform.rs:42
↓ 5 callers
Function
round_trip_through_gdd
Push `document`'s current runtime state through a fresh in-memory `Gdd` and reopen it. The commit goes through `commit_from_runtime` (the real autosav
editor/src/messages/portfolio/document/storage_tests/test_support.rs:56
↓ 5 callers
Function
run_on_ui_thread
(closure: F)
desktop/src/cef/context/multithreaded.rs:66
↓ 5 callers
Method
segment_end_from_id
(&self, segment: SegmentId)
node-graph/libraries/vector-types/src/vector/vector_types.rs:358
↓ 5 callers
Method
selected_unlocked_layers
(&'a self, network_interface: &'a NodeNetworkInterface)
editor/src/messages/portfolio/document/utility_types/nodes.rs:79
↓ 5 callers
Method
session
(&self)
document/document-format/src/lib.rs:231
↓ 5 callers
Method
session_basename
(&self)
document/document-format/src/layout.rs:30
↓ 5 callers
Function
setDisabled
(/** @type {Element | null} */ element, /** @type {boolean} */ disabled)
website/static/js/page/contributor-guide/bisect-tool.js:153
↓ 5 callers
Method
set_chain_position
Sets the position of a node to a chain position
editor/src/messages/portfolio/document/utility_types/network_interface.rs:5130
↓ 5 callers
Function
set_document_attribute
(key: &str, value: u32)
document/graph-storage/src/tests/crdt.rs:160
↓ 5 callers
Method
set_editing
Set the editing state of the currently modifying layer
editor/src/messages/tool/tool_messages/text_tool.rs:489
↓ 5 callers
Method
set_tilt
Set a new tilt angle in radians.
editor/src/messages/portfolio/document/utility_types/misc.rs:696
↓ 5 callers
Function
setup
()
tools/cargo-run/src/frontend.rs:17
↓ 5 callers
Function
slideTo
* @param {Carousel} carousel * @param {number} index * @param {boolean} smooth
website/static/js/component/carousel.js:149
↓ 5 callers
Method
spawn
(&self, future: InnerMessageFuture, results: UnboundedSender<Message>, wake: Wake)
editor/src/messages/future/future_message_handler.rs:182
↓ 5 callers
Function
spectrum_slider_row
Build a row with a single-marker `SpectrumInput` and a 60px `NumberInput`. The marker maps `value_min..value_max` to position 0..1, and double-click r
editor/src/messages/portfolio/document/node_graph/node_properties.rs:1548
↓ 5 callers
Function
spiral_point
Returns a point on the given spiral type at angle `theta`.
node-graph/libraries/vector-types/src/subpath/core.rs:401
↓ 5 callers
Method
stage_embedded_resource
Register a content-addressed resource as a single `DataSource::Embedded` source resolved to `hash`, staged as one `AddResource` hot op. The caller own
document/graph-storage/src/session.rs:98
↓ 5 callers
Function
stripIndents
(stringPieces: TemplateStringsArray, ...substitutions: unknown[])
frontend/src/utility-functions/strip-indents.ts:1
↓ 5 callers
Function
stroke_working_color
The stroke working color (the source for the stroke swatch when nothing is selected). Defaults to primary, swapped to secondary when the per-tool [`Dr
editor/src/messages/tool/common_functionality/color_selector.rs:207
↓ 5 callers
Function
swap_fill_and_stroke
Handles the "Swap Fill/Stroke" button. Stroke can only hold a solid color, so a gradient fill collapses to `None` when moved.
editor/src/messages/tool/common_functionality/color_selector.rs:523
↓ 5 callers
Function
sync_drawing_state
Full SelectionChanged update for a drawing tool: syncs fill/stroke colors and the stroke weight. Returns `true` if the layout needs refreshing.
editor/src/messages/tool/common_functionality/color_selector.rs:277
↓ 5 callers
Function
targetIsTextField
(target: EventTarget | HTMLElement | undefined)
frontend/src/utility-functions/input.ts:345
↓ 5 callers
Function
target_dir
()
tools/cargo-run/src/lib.rs:74
↓ 5 callers
Method
to_named_style
(&self)
editor/src/messages/portfolio/fonts/utility_types.rs:141
↓ 5 callers
Method
to_rgba_hex
(self)
node-graph/libraries/no-std-types/src/color/color_types.rs:152
↓ 5 callers
Method
tool_type
(&self)
editor/src/messages/tool/common_functionality/shapes/shape_utility.rs:108
↓ 5 callers
Method
tooltip_label
(&self)
editor/src/messages/tool/tool_messages/path_tool.rs:194
↓ 5 callers
Method
tooltip_label
(&self)
editor/src/messages/tool/tool_messages/select_tool.rs:154
↓ 5 callers
Method
topological_sort
Based on https://en.wikipedia.org/wiki/Topological_sorting#Depth-first_search This approach excludes nodes that are not connected
node-graph/graph-craft/src/proto.rs:450
↓ 5 callers
Method
transform
(&self)
node-graph/nodes/brush/src/brush.rs:30
↓ 5 callers
Method
tree
(&self)
node-graph/interpreted-executor/src/dynamic_executor.rs:119
↓ 5 callers
Function
unescape_string
Converts escape sequence representations (`\n`, `\r`, `\t`, `\0`, `\\`) into their corresponding control characters. Unrecognized escape sequences (e.
node-graph/nodes/text/src/lib.rs:120
↓ 5 callers
Method
update_handle_type
(&mut self, handle_type: TargetHandle)
editor/src/messages/tool/tool_messages/pen_tool.rs:561
↓ 5 callers
Method
update_modifier_key
(&mut self, key: Key, key_is_down: bool, responses: &mut VecDeque<Message>)
editor/src/messages/input_preprocessor/input_preprocessor_message_handler.rs:173
↓ 5 callers
Method
update_outward_wires
Incrementally updates the outward_wires cache when a single input connector changes, avoiding a full rebuild. If the cache is not loaded, this is a no
editor/src/messages/portfolio/document/utility_types/network_interface.rs:2161
↓ 5 callers
Method
update_working_colors
(&self, responses: &mut VecDeque<Message>)
editor/src/messages/tool/utility_types.rs:129
↓ 5 callers
Function
validate_prefix
Validate a listing prefix. Same rules as [`validate_path`], except the container root is also a valid prefix, named by either the empty string or `.`.
document/container/src/lib.rs:199
↓ 5 callers
Method
viewport_bounds_in_local_space
(&self)
node-graph/libraries/core-types/src/transform.rs:192
↓ 5 callers
Method
viewport_handle_positions
(&self)
editor/src/messages/tool/tool_messages/gradient_tool.rs:817
↓ 5 callers
Method
winding
(&self, point: DVec2)
node-graph/libraries/vector-types/src/subpath/structs.rs:380
↓ 4 callers
Method
active_document
(&self)
editor/src/test_utils.rs:165
↓ 4 callers
Method
add_point
(&mut self, point: LastPoint)
editor/src/messages/tool/tool_messages/pen_tool.rs:451
↓ 4 callers
Method
add_to_cache
Computes and caches bounding box for the given rotation, then applies scale/translation. Returns the final transformed bounds.
node-graph/libraries/vector-types/src/vector/click_target.rs:96
↓ 4 callers
Method
all_artboards
(&self)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1193
↓ 4 callers
Method
all_nodes_bounding_box
(&mut self, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:2022
↓ 4 callers
Method
anchor_endpoints
Anchor points at the ends of open subpaths. These are points with exactly one connection by a segment to another anchor.
node-graph/libraries/vector-types/src/vector/vector_types.rs:443
↓ 4 callers
Method
antiderivative_mut
Computes the antiderivative at `C = 0` in place. Returns `None` if the polynomial is not big enough to accommodate the extra degree.
node-graph/libraries/core-types/src/math/polynomial.rs:71
↓ 4 callers
Method
append_segment
(&mut self, end_point: Point, handle: BezierHandles)
node-graph/libraries/vector-types/src/vector/vector_modification.rs:684
↓ 4 callers
Function
apply_attribute_delta
(delta: AttributeDelta, timestamp: TimeStamp, force: bool, attributes: &mut Attributes)
document/graph-storage/src/crdt.rs:206
↓ 4 callers
Function
apply_gradient_update
( data: &mut GradientToolData, context: &mut ToolActionMessageContext, responses: &mut VecDeque<Message>,
editor/src/messages/tool/tool_messages/gradient_tool.rs:1830
↓ 4 callers
Function
apply_midpoint
Apply the midpoint curve to a normalized parameter `t` (0 to 1) given a `midpoint` (0 to 1, where 0.5 is linear).
node-graph/libraries/vector-types/src/gradient.rs:137
↓ 4 callers
Function
assert_documents_match
Every node addressable in `original` resolves identically through the round-tripped interface: the compute graph itself, then per-node positions, laye
editor/src/messages/portfolio/document/storage_tests/round_trip_tests.rs:23
← previous
next →
801–900 of 5,973, ranked by callers