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
↓ 4 callers
Method
attribute_mut_or_insert_default
Returns a mutable reference to the attribute value for the given key, inserting a default value if absent or of a different type.
node-graph/libraries/core-types/src/list.rs:1368
↓ 4 callers
Method
attributes_mut
Returns a mutable reference to all attributes of this item.
node-graph/libraries/core-types/src/list.rs:1338
↓ 4 callers
Function
attributes_value_equal
(a: &Attributes, b: &Attributes)
document/graph-storage/src/registry.rs:87
↓ 4 callers
Function
bezpath_and_segment_intersections
Calculates the intersection points the bezpath has with a given segment and returns a list of `(usize, f64)` tuples, where the `usize` represents the
node-graph/libraries/vector-types/src/vector/algorithms/intersection.rs:28
↓ 4 callers
Function
bezpath_is_inside_bezpath
Returns `true` if the `bezpath1` is completely inside the `bezpath2`. NOTE: `bezpath2` must be a closed path to get correct results.
node-graph/libraries/vector-types/src/vector/algorithms/bezpath_algorithms.rs:547
↓ 4 callers
Function
bounding_box
(text: &str, font: &Resource, typesetting: TypesettingConfig, for_clipping_test: bool)
node-graph/nodes/text/src/to_path.rs:18
↓ 4 callers
Method
bounding_box
Compute the bounding boxes of the subpaths without any transform
node-graph/libraries/vector-types/src/vector/vector_types.rs:211
↓ 4 callers
Method
build
(&self, current: Self::Value, updater_factory: impl Fn() -> U, committer_factory: impl Fn() -> C)
editor/src/messages/portfolio/document/node_graph/node_properties.rs:3002
↓ 4 callers
Function
build_bin
(package: &str, bin: Option<&str>)
desktop/bundle/src/common.rs:31
↓ 4 callers
Function
build_wasm
(release: bool, native: bool)
tools/cargo-run/src/frontend.rs:46
↓ 4 callers
Function
cacheFirst
(request, cacheName)
frontend/src/service-worker.js:27
↓ 4 callers
Function
calculate_growth_factor
(a: f64, turns: f64, outer_radius: f64, spiral_type: SpiralType)
node-graph/libraries/vector-types/src/subpath/core.rs:387
↓ 4 callers
Function
check
(task: &Task)
tools/cargo-run/src/requirements.rs:100
↓ 4 callers
Function
child_path
(parent_path: Option<&NodePath>, network_id: NetworkId, local_id: RuntimeNodeId)
document/graph-storage/src/from_runtime.rs:337
↓ 4 callers
Method
clicked_input_port_from_point
(&self, point: DVec2)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6426
↓ 4 callers
Method
clicked_output_port_from_point
(&self, point: DVec2)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6430
↓ 4 callers
Function
clone
(_: impl Ctx, #[implementations(&List<Raster<CPU>>)] value: &'i T)
node-graph/nodes/gcore/src/debug.rs:34
↓ 4 callers
Method
clone
(&self)
desktop/src/cef/internal/browser_process_client.rs:94
↓ 4 callers
Method
commit_ops
Wrap each op as a `Delta`, apply it, and chain it onto the local history. One tick per op. Operates on the *retired snapshot*: reverses are computed
document/graph-storage/src/session.rs:171
↓ 4 callers
Method
components
(&self)
node-graph/libraries/no-std-types/src/color/color_types.rs:844
↓ 4 callers
Function
compute_attribute_deltas
(from: &crate::Attributes, to: &crate::Attributes)
document/graph-storage/src/delta.rs:196
↓ 4 callers
Method
configure
(attributes: WindowAttributes, _event_loop: &dyn ActiveEventLoop)
desktop/src/window/mac.rs:20
↓ 4 callers
Method
contains
Does this quad contain a point Code from https://wrfranklin.org/Research/Short_Notes/pnpoly.html
node-graph/libraries/core-types/src/math/quad.rs:104
↓ 4 callers
Method
contains_document
Check if this subtree contains the document panel.
editor/src/messages/portfolio/utility_types.rs:730
↓ 4 callers
Method
current_hash
(&self)
editor/src/messages/portfolio/document/document_message_handler.rs:2477
↓ 4 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_native.rs:267
↓ 4 callers
Function
databaseOpen
()
frontend/src/utility-functions/persistence.ts:211
↓ 4 callers
Method
decompose_rotation
Extracts the rotation angle (in radians) from the transform. This is the angle of the x-axis and is correct regardless of skew, negative scale, or non
node-graph/libraries/core-types/src/transform.rs:64
↓ 4 callers
Method
deepest_common_ancestor
Ancestor that is shared by all layers and that is deepest (more nested). Default may be the root. Skips selected non-folder, non-artboard layers
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1366
↓ 4 callers
Function
diff_attributes
(out: &mut String, label: &str, stored: &graph_storage::Attributes, target: &graph_storage::Attributes)
editor/src/messages/portfolio/document/document_diff.rs:180
↓ 4 callers
Method
disable_colinear_handles_state_on_selected
Disable colinear handles colinear.
editor/src/messages/tool/common_functionality/shape_editor.rs:1695
↓ 4 callers
Function
disable_cursor_preview
(responses: &mut VecDeque<Message>, tool_data: &mut EyedropperToolData)
editor/src/messages/tool/tool_messages/eyedropper_tool.rs:191
↓ 4 callers
Method
dispatch_desktop_wrapper_message
(&mut self, message: DesktopWrapperMessage)
desktop/src/app.rs:426
↓ 4 callers
Method
display_string
Returns a debug-formatted string representation of this value.
node-graph/libraries/core-types/src/list.rs:154
↓ 4 callers
Method
displayed_input_name_and_description
Returns the input name to display in the properties panel. If the name is empty then the type is used.
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1004
↓ 4 callers
Method
document_bounds_viewport_space
(&self, include_artboards: bool)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1261
↓ 4 callers
Function
document_content_path
(id: &DocumentId)
desktop/src/persist.rs:88
↓ 4 callers
Method
document_details
(&self, document_id: DocumentId)
editor/src/messages/portfolio/portfolio_message_handler.rs:1956
↓ 4 callers
Function
draw_two_axis_one_one_two_zero_crossing
Draws measurements for partial overlaps with two vertical or horizontal edge intersections.
editor/src/messages/tool/common_functionality/measure.rs:252
↓ 4 callers
Method
end_connected
Enumerate all segments that end at the point.
node-graph/libraries/vector-types/src/vector/vector_types.rs:398
↓ 4 callers
Method
end_point
(&self)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:304
↓ 4 callers
Function
ensure_dir_exists
(path: &PathBuf)
desktop/src/dirs.rs:7
↓ 4 callers
Method
ensure_node_exists
(&mut self, target: RegistryTarget, node_id: NodeId)
document/graph-storage/src/document.rs:323
↓ 4 callers
Method
exit
(&mut self, reason: Option<ExitReason>)
desktop/src/app.rs:140
↓ 4 callers
Function
extend_targets_from_vector
Build one `CompoundPath` (non-zero fill rule, so holes like the inside of an "O" work correctly) plus one `FreePoint` per disconnected anchor, apply t
node-graph/libraries/rendering/src/renderer.rs:1668
↓ 4 callers
Function
fill
( _: impl Ctx, /// The content with vector paths to apply the fill style to. #[implementations( List<Vect
node-graph/nodes/vector/src/vector_nodes.rs:159
↓ 4 callers
Method
fill_color_set
(&mut self, color: Option<Color>)
editor/src/messages/portfolio/document/graph_operation/utility_types.rs:456
↓ 4 callers
Function
fill_working_color
The fill working color (the source for the fill swatch when nothing is selected). Defaults to secondary, swapped to primary when the per-tool [`Drawin
editor/src/messages/tool/common_functionality/color_selector.rs:201
↓ 4 callers
Method
find_nearest_point_indices
Find a [ManipulatorPoint] that is within the selection threshold and return the layer path, an index to the [ManipulatorGroup], and an enum index for
editor/src/messages/tool/common_functionality/shape_editor.rs:1718
↓ 4 callers
Method
flatten_with_fns
Remove all nodes that contain [`DocumentNodeImplementation::Network`] by moving the nested nodes into the parent network.
node-graph/graph-craft/src/document.rs:860
↓ 4 callers
Method
flush
(&self)
frontend/wrapper/src/lib.rs:202
↓ 4 callers
Method
force_set_upstream_to_chain
(&mut self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:5276
↓ 4 callers
Method
free_snap
(&mut self, snap_data: &mut SnapData, point: &SnapCandidatePoint, snap_results: &mut SnapResults)
editor/src/messages/tool/common_functionality/snapping/grid_snapper.rs:98
↓ 4 callers
Function
frontend_dir
()
tools/cargo-run/src/frontend.rs:9
↓ 4 callers
Method
get_any
Returns a shared reference to the value at the given index as a type-erased `Any`.
node-graph/libraries/core-types/src/list.rs:334
↓ 4 callers
Function
get_arc_id
(layer: LayerNodeIdentifier, network_interface: &NodeNetworkInterface)
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:448
↓ 4 callers
Function
get_corners
Get corners of the rectangular-grid. Returns a tuple of (topleft,topright,bottomright,bottomleft)
editor/src/messages/tool/common_functionality/gizmos/shape_gizmos/grid_rows_columns_gizmo.rs:188
↓ 4 callers
Function
get_fill_node_id_with_direct_fill_input
Get the closest Fill node's ID to the provided layer, if any.
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:275
↓ 4 callers
Function
get_gradient_from_chain
(editor: &mut EditorTestUtils)
editor/src/messages/tool/tool_messages/gradient_tool.rs:2112
↓ 4 callers
Function
get_layer_index
(editor: &mut EditorTestUtils, layer: LayerNodeIdentifier)
editor/src/messages/portfolio/document/document_message_handler.rs:4117
↓ 4 callers
Method
get_point
(&self, point: usize)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:860
↓ 4 callers
Function
get_spiral_id
(layer: LayerNodeIdentifier, network_interface: &NodeNetworkInterface)
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:456
↓ 4 callers
Function
get_stroke_id
Returns the node ID of a layer's upstream Stroke proto node, if one exists.
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:594
↓ 4 callers
Function
get_text
Gets properties from the Text node. Resolves the font selection by reading the resource id and lookup via the fonts message handler.
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:469
↓ 4 callers
Method
graph_bounds_viewport_space
Gets the bounding box in viewport coordinates for each node in the node graph
editor/src/messages/portfolio/document/utility_types/network_interface.rs:3218
↓ 4 callers
Function
grid
( _: impl Ctx, _primary: (), grid_type: GridType, #[unit(" px")] #[hard(0..)] #[default(10)] #[implemen
node-graph/nodes/vector/src/generator_nodes.rs:311
↓ 4 callers
Method
handle_end
Get the coordinates of the second handle point. This will return `None` for a quadratic segment.
node-graph/libraries/vector-types/src/subpath/structs.rs:288
↓ 4 callers
Function
handle_not_under
(to_document: DAffine2)
editor/src/messages/tool/common_functionality/snapping/layer_snapper.rs:547
↓ 4 callers
Function
has_attribute
Check if a specified `#[widget_builder target]` attribute can be found in the list
proc-macros/src/widget_builder.rs:7
↓ 4 callers
Function
has_skip_attr
(attrs: &[syn::Attribute])
node-graph/libraries/graphene-hash/derive/src/lib.rs:122
↓ 4 callers
Method
hover_manipulator_anchor
(&mut self, position: DVec2, selected: bool)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:585
↓ 4 callers
Method
id
(&mut self)
node-graph/libraries/canvas-utils/src/wasm.rs:43
↓ 4 callers
Method
indent
(&mut self)
node-graph/libraries/rendering/src/renderer.rs:89
↓ 4 callers
Method
inflate
Expand a quad by a certain amount on all sides. Not currently very optimized
node-graph/libraries/core-types/src/math/quad.rs:90
↓ 4 callers
Function
init
()
desktop/src/window/mac/app.rs:37
↓ 4 callers
Method
initial_dimension
(&self)
editor/src/messages/tool/common_functionality/gizmos/shape_gizmos/grid_rows_columns_gizmo.rs:59
↓ 4 callers
Method
input_persistent
(&self, network_path: &[NodeId], local_id: NodeId, input_index: usize)
editor/src/messages/portfolio/document/utility_types/network_interface/storage_metadata.rs:61
↓ 4 callers
Method
input_type_not_invalid
(&mut self, input_connector: &InputConnector, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface/resolved_types.rs:150
↓ 4 callers
Method
insert_custom_input_port
(&mut self, input_index: usize, click_target: ClickTarget)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6386
↓ 4 callers
Method
insert_custom_output_port
(&mut self, output_index: usize, click_target: ClickTarget)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6395
↓ 4 callers
Method
intersect
(&self, other: &AxisAlignedBbox)
node-graph/libraries/core-types/src/math/bbox.rs:48
↓ 4 callers
Method
intersect_quad_no_artboards
Runs an intersection test with all layers and a viewport space quad; ignoring artboards
editor/src/messages/portfolio/document/document_message_handler.rs:1843
↓ 4 callers
Method
into_data
(self)
node-graph/libraries/raster-types/src/raster_types.rs:103
↓ 4 callers
Method
into_iter
(self)
node-graph/libraries/raster-types/src/image.rs:231
↓ 4 callers
Method
is_ancestor_of
Is the layer an ancestor of the given layer?
editor/src/messages/portfolio/document/utility_types/document_metadata.rs:355
↓ 4 callers
Method
is_auto_installable
(&self)
tools/cargo-run/src/requirements.rs:321
↓ 4 callers
Method
is_base
(&self)
libraries/math-parser/src/ast.rs:35
↓ 4 callers
Method
is_fullscreen
(&self)
desktop/src/window.rs:132
↓ 4 callers
Function
is_paint_present
Whether a normalized paint graphic list actually carries renderable paint. A 0-item list, or a list whose first graphic is empty, is treated as no pai
node-graph/libraries/graphic-types/src/graphic.rs:195
↓ 4 callers
Method
is_pinned
(&self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1056
↓ 4 callers
Function
kick_worker
(inner: &Arc<Mutex<Inner>>, guard: &mut Inner)
document/container/src/backends/opfs.rs:198
↓ 4 callers
Method
kill
(&self)
tools/cargo-run/src/cmd.rs:173
↓ 4 callers
Method
layer_outline
(&self, layer: LayerNodeIdentifier)
editor/src/messages/portfolio/document/utility_types/document_metadata.rs:254
↓ 4 callers
Method
left_mouseup
(&mut self, x: f64, y: f64, modifier_keys: ModifierKeys)
editor/src/test_utils.rs:218
↓ 4 callers
Method
legacy_path
(&self)
document/document-format/src/layout.rs:48
↓ 4 callers
Method
line_number
(&self)
editor/src/utility_types.rs:26
↓ 4 callers
Method
list
(&self, prefix: &str)
document/container/src/lib.rs:311
↓ 4 callers
Function
list_entries
(root: &FileSystemDirectoryHandle, prefix: &str, want: EntryKind)
document/container/src/backends/opfs.rs:394
↓ 4 callers
Method
luminance_rec_601
(&self)
node-graph/libraries/no-std-types/src/color/color_types.rs:572
↓ 4 callers
Function
make_path_editable_is_allowed
(network_interface: &mut NodeNetworkInterface)
editor/src/messages/tool/common_functionality/utility_functions.rs:561
← previous
next →
901–1,000 of 5,973, ranked by callers