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
↓ 3 callers
Function
extend_path_with_next_segment
(tool_data: &mut FreehandToolData, position: DVec2, extend: bool, responses: &mut VecDeque<Message>)
editor/src/messages/tool/tool_messages/freehand_tool.rs:390
↓ 3 callers
Function
extend_spline
(tool_data: &mut SplineToolData, show_preview: bool, responses: &mut VecDeque<Message>)
editor/src/messages/tool/tool_messages/spline_tool.rs:583
↓ 3 callers
Function
extract_circle_radius
Calculate the viewport position of a star vertex given its index Extract the node input values of Circle. Returns an option of (radius).
editor/src/messages/tool/common_functionality/shapes/shape_utility.rs:405
↓ 3 callers
Function
extract_grid_parameters
Extract the node input values of Grid. Returns an option of (grid_type, spacing, columns, rows, angles).
editor/src/messages/tool/common_functionality/shapes/shape_utility.rs:599
↓ 3 callers
Function
fetchCommitList
(/** @type {string | undefined} */ since, /** @type {string | undefined} */ until, /** @type {number | undefin
website/static/js/page/contributor-guide/bisect-tool.js:46
↓ 3 callers
Function
fetchJSON
(/** @type {string} */ url)
website/static/js/page/contributor-guide/bisect-tool.js:13
↓ 3 callers
Function
file_name
(hash: &ResourceHash)
node-graph/graph-craft/src/application_io/resource/opfs.rs:318
↓ 3 callers
Method
fill_gradient_set
(&mut self, gradient: GradientStops, gradient_type: GradientType, spread_method: GradientSpreadMethod, transfo
editor/src/messages/portfolio/document/graph_operation/utility_types.rs:467
↓ 3 callers
Method
find_font_style_in_catalog
(&self, font: &Font)
editor/src/messages/portfolio/fonts/utility_types.rs:61
↓ 3 callers
Method
finish
(&self)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:59
↓ 3 callers
Method
finish_transaction
(&mut self)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1581
↓ 3 callers
Method
focus
(&self)
desktop/src/window.rs:143
↓ 3 callers
Method
for_alignment
(&self, transform: DAffine2)
node-graph/libraries/rendering/src/renderer.rs:242
↓ 3 callers
Function
for_each_styled_glyph_run
Iterates the glyph runs of a laid-out text in reading order, computing each line's last-line alignment correction (`x_offset` and per-space `space_ext
node-graph/nodes/text/src/text_context.rs:19
↓ 3 callers
Method
for_each_vector_list_mut
(&mut self, mut f: impl FnMut(&mut List<Vector>))
node-graph/nodes/vector/src/vector_nodes.rs:59
↓ 3 callers
Function
format_dvec2
(value: DVec2)
editor/src/messages/portfolio/document/data_panel/data_panel_message_handler.rs:1056
↓ 3 callers
Function
format_inline
Formats a JSON value as a single unbroken line.
node-graph/nodes/text/src/json.rs:97
↓ 3 callers
Method
frontend_input_from_connector
Returns None if there is an error, it is a hidden primary export, or a hidden input
editor/src/messages/portfolio/document/utility_types/network_interface.rs:634
↓ 3 callers
Method
frontend_output_from_connector
Returns None if there is an error, it is the document network, a hidden primary output or import
editor/src/messages/portfolio/document/utility_types/network_interface.rs:697
↓ 3 callers
Method
gcore_shaders
(&self)
node-graph/node-macro/src/crate_ident.rs:17
↓ 3 callers
Function
generate_node_properties
(node_id: NodeId, context: &mut NodePropertiesContext)
editor/src/messages/portfolio/document/node_graph/node_properties.rs:2301
↓ 3 callers
Function
getLocalizedScanCode
(e: KeyboardEvent)
frontend/src/utility-functions/keyboard-entry.ts:41
↓ 3 callers
Function
get_arrow_id
(layer: LayerNodeIdentifier, network_interface: &NodeNetworkInterface)
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:452
↓ 3 callers
Function
get_circle_id
(layer: LayerNodeIdentifier, network_interface: &NodeNetworkInterface)
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:424
↓ 3 callers
Method
get_closest_edge
(&self, edges: EdgeBool, cursor: DVec2)
editor/src/messages/tool/common_functionality/transformation_cage.rs:404
↓ 3 callers
Function
get_grid_id
(layer: LayerNodeIdentifier, network_interface: &NodeNetworkInterface)
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:464
↓ 3 callers
Method
get_input_center
(&mut self, input: &InputConnector, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:2265
↓ 3 callers
Method
get_inside_points_and_segments
( &mut self, network_interface: &NodeNetworkInterface, selection_shape: SelectionShape, path_overlay_m
editor/src/messages/tool/common_functionality/shape_editor.rs:2193
↓ 3 callers
Function
get_layer_snap_points
(layer: LayerNodeIdentifier, snap_data: &SnapData, points: &mut Vec<SnapCandidatePoint>)
editor/src/messages/tool/common_functionality/snapping/layer_snapper.rs:621
↓ 3 callers
Function
get_outline_styles
(render_params: &RenderParams)
node-graph/libraries/rendering/src/renderer.rs:319
↓ 3 callers
Method
get_output_center
(&mut self, output: &OutputConnector, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:2282
↓ 3 callers
Function
get_viewport_origin
(layer: LayerNodeIdentifier, network_interface: &NodeNetworkInterface)
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:263
↓ 3 callers
Function
github_link
(path: &str, line: usize)
tools/editor-message-tree/src/main.rs:131
↓ 3 callers
Method
gradient_color_stop
(&mut self, position: DVec2, emphasis: GizmoEmphasis, color: &str, small: bool)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:482
↓ 3 callers
Function
gradient_placement
Maps a gradient's `transform` into the frame handed to the renderer: radial keeps the full matrix (so a non-uniform transform makes an ellipse), while
node-graph/libraries/rendering/src/renderer.rs:384
↓ 3 callers
Method
graph_view_overlay_open
(&self)
editor/src/messages/portfolio/document/document_message_handler.rs:3770
↓ 3 callers
Method
group_selected_layers
(&mut self, group_folder_type: GroupFolderType, responses: &mut VecDeque<Message>)
editor/src/messages/portfolio/document/document_message_handler.rs:2701
↓ 3 callers
Method
handle_start
Get the coordinates of the bezier segment's first handle point. This represents the only handle in a quadratic segment.
node-graph/libraries/vector-types/src/subpath/structs.rs:283
↓ 3 callers
Method
handles
(&self)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:320
↓ 3 callers
Method
handles
(&self)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:150
↓ 3 callers
Method
handles_mut
(&mut self)
node-graph/libraries/vector-types/src/vector/vector_types.rs:348
↓ 3 callers
Method
has_embedded_source
True if the chain already carries a `DataSource::Embedded` source. Decodes each source body into `DataSource` so a shape change in the serialized form
document/graph-storage/src/resources.rs:132
↓ 3 callers
Method
hash
(&self)
node-graph/libraries/resources/src/lib.rs:26
↓ 3 callers
Function
hex_to_rgba_u8
(hex: &str)
editor/src/messages/portfolio/document/overlays/utility_functions.rs:243
↓ 3 callers
Function
hideMessage
()
website/static/js/page/contributor-guide/bisect-tool.js:172
↓ 3 callers
Method
identifier
(&self)
editor/src/messages/portfolio/document/data_panel/data_panel_message_handler.rs:253
↓ 3 callers
Method
ignore_bounds
(&self, layer: LayerNodeIdentifier)
editor/src/messages/tool/common_functionality/snapping.rs:239
↓ 3 callers
Method
increment_amount
(self, delta: DVec2)
editor/src/messages/portfolio/document/utility_types/transformation.rs:182
↓ 3 callers
Method
index
(&self, side: FaceSide)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:825
↓ 3 callers
Function
initial_gradient_transform_for_bounding_box
Build the default transform for a gradient not yet given one: a horizontal gradient spanning the bounding box's width, running through its vertical mi
node-graph/libraries/vector-types/src/gradient.rs:533
↓ 3 callers
Method
inject_resource_proxy
(&mut self, resources: Box<dyn resource::LoadResource>)
node-graph/graph-craft/src/application_io.rs:47
↓ 3 callers
Method
input_connector_from_click
(&mut self, click: DVec2, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:3086
↓ 3 callers
Method
input_ports
(&self)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6373
↓ 3 callers
Method
insert
(&mut self, point: DVec2)
node-graph/libraries/vector-types/src/vector/algorithms/poisson_disk.rs:385
↓ 3 callers
Method
insert_input_port_at_center
(&mut self, input_index: usize, center: DVec2)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6381
↓ 3 callers
Method
insert_output_port_at_center
(&mut self, output_index: usize, center: DVec2)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6390
↓ 3 callers
Method
insert_text
(&mut self, text: String, font: Font, typesetting: TypesettingConfig, layer: LayerNodeIdentifier)
editor/src/messages/portfolio/document/graph_operation/utility_types.rs:252
↓ 3 callers
Function
install
()
tools/cargo-run/src/cmd.rs:339
↓ 3 callers
Function
internal
(name: &str)
tools/cargo-run/src/cmd.rs:293
↓ 3 callers
Method
intersect_path
Does the click target intersect the path
node-graph/libraries/vector-types/src/vector/click_target.rs:262
↓ 3 callers
Method
into_any
Consumes the box and returns the underlying concrete type for downcasting.
node-graph/libraries/core-types/src/list.rs:149
↓ 3 callers
Method
into_graphic_list
(self)
node-graph/libraries/graphic-types/src/graphic.rs:303
↓ 3 callers
Function
inverse_orientation_index
(orientation: OrientationValue, mut row: usize, mut column: usize, width: usize, height: usize)
libraries/rawkit/src/postprocessing/transform.rs:45
↓ 3 callers
Function
isDisabled
(/** @type {Element | null} */ element)
website/static/js/page/contributor-guide/bisect-tool.js:157
↓ 3 callers
Method
is_branching
(&self)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:1225
↓ 3 callers
Method
is_child_of
Is the layer a child of the given layer?
editor/src/messages/portfolio/document/utility_types/document_metadata.rs:350
↓ 3 callers
Method
is_empty
Returns true if the `Subpath` contains no [ManipulatorGroup].
node-graph/libraries/vector-types/src/subpath/core.rs:89
↓ 3 callers
Method
is_hovered
(&self)
editor/src/messages/tool/common_functionality/gizmos/shape_gizmos/grid_rows_columns_gizmo.rs:51
↓ 3 callers
Method
is_not_centered
(self)
node-graph/libraries/vector-types/src/vector/style.rs:176
↓ 3 callers
Function
is_not_found
(error: &JsValue)
document/container/src/backends/opfs.rs:458
↓ 3 callers
Method
is_playing
(&self)
editor/src/messages/animation/animation_message_handler.rs:55
↓ 3 callers
Function
is_visible_point
Check whether a point is visible in the current overlay mode.
editor/src/messages/tool/common_functionality/utility_functions.rs:159
↓ 3 callers
Function
lerp
(/** @type {number} **/ a, /** @type {number} **/ b, /** @type {number} **/ t)
website/static/js/component/image-comparison.js:51
↓ 3 callers
Method
load
(&self, hash: ResourceHash)
editor/src/messages/resource_storage/resource_storage_message_handler.rs:11
↓ 3 callers
Function
load_demo
Load a demo `.graphite` straight into a `DocumentMessageHandler` for inspection.
editor/src/messages/portfolio/document/storage_tests/test_support.rs:17
↓ 3 callers
Method
load_document
( &mut self, mut new_document: DocumentMessageHandler, document_id: DocumentId, resource_storage: &Res
editor/src/messages/portfolio/portfolio_message_handler.rs:1829
↓ 3 callers
Method
manifest
The in-memory manifest. `Gdd` is its sole writer, so this is authoritative without re-reading disk.
document/document-format/src/lib.rs:249
↓ 3 callers
Method
map_gamma_rgb
(&self, f: F)
node-graph/libraries/no-std-types/src/color/color_types.rs:953
↓ 3 callers
Method
map_ids
(&mut self, id_map: &IdMap)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:185
↓ 3 callers
Method
max_aabb_inflation
Worst-case upper bound on the perpendicular extent (per side) of the visible stroke from the path centerline, accounting for stroke alignment, miter j
node-graph/libraries/vector-types/src/vector/style.rs:309
↓ 3 callers
Method
merge
Build a merge delta joining `tips` into one node. See [`RegistryDelta::Merge`] for the semantics.
document/graph-storage/src/crdt.rs:42
↓ 3 callers
Function
merge_layers
Merge `second_layer` to the `first_layer`.
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:38
↓ 3 callers
Method
message_handler_fields
(&self)
editor/src/utility_types.rs:107
↓ 3 callers
Function
midpoint_is_resettable
(value: f64)
editor/src/messages/tool/tool_messages/gradient_tool.rs:1958
↓ 3 callers
Function
migrate_to_optional_vector
TODO: Eventually remove this migration document upgrade code Returns the first `Vector` recovered from any of the legacy on-disk shapes (the legacy `V
node-graph/libraries/graphic-types/src/lib.rs:118
↓ 3 callers
Method
modify
Add a [`VectorModificationType`] to this modification.
node-graph/libraries/vector-types/src/vector/vector_modification.rs:457
↓ 3 callers
Method
move_anchor
(&self, point: PointId, vector: &Vector, delta: DVec2, layer: LayerNodeIdentifier, selected: Option<&SelectedL
editor/src/messages/tool/common_functionality/shape_editor.rs:944
↓ 3 callers
Method
move_end
(&mut self, delta: DVec2)
node-graph/libraries/vector-types/src/subpath/structs.rs:167
↓ 3 callers
Method
move_start
(&mut self, delta: DVec2)
node-graph/libraries/vector-types/src/subpath/structs.rs:161
↓ 3 callers
Method
nested_metadata
(&self, nested_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6503
↓ 3 callers
Method
network
(&self)
editor/src/messages/portfolio/document/utility_types/network_interface/memo_network.rs:35
↓ 3 callers
Function
network_referencing_resource
A one-node network referencing `id` via a `TaggedValue::Resource` input. Conversion only snapshots resources the network references, so a resource nee
document/document-format/tests/open_create.rs:22
↓ 3 callers
Method
new_size
Computes the new bounds with the given mouse move and modifier keys
editor/src/messages/tool/common_functionality/transformation_cage.rs:98
↓ 3 callers
Method
next_id
Generate a new unique panel group ID.
editor/src/messages/portfolio/utility_types.rs:137
↓ 3 callers
Method
next_node_id
Mint a fresh `NodeId` scoped to this document's peer. The 64-bit ID is `blake3(peer, counter)` truncated; the counter is shared across peers and persi
document/graph-storage/src/document.rs:44
↓ 3 callers
Method
node_graph_ptz
(&self, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:3003
↓ 3 callers
Function
node_inputs
(fields: &[registry::FieldMetadata], first_node_io: &NodeIOTypes)
node-graph/preprocessor/src/lib.rs:259
↓ 3 callers
Method
number_of_displayed_inputs
(&self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:340
↓ 3 callers
Method
offset
(&self)
node-graph/libraries/core-types/src/transform.rs:209
↓ 3 callers
Method
omit_index
(&self, index: usize)
node-graph/libraries/graphic-types/src/graphic.rs:613
← previous
next →
1,201–1,300 of 5,973, ranked by callers