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
↓ 1 callers
Method
add_candidates
(&mut self, layer: LayerNodeIdentifier, snap_data: &SnapData, quad: Quad)
editor/src/messages/tool/common_functionality/snapping.rs:330
↓ 1 callers
Method
add_layer_bounds
(&mut self, document: &DocumentMessageHandler, layer: LayerNodeIdentifier, target: SnapTarget)
editor/src/messages/tool/common_functionality/snapping/layer_snapper.rs:24
↓ 1 callers
Method
add_node_string
Used when searching for nodes in the add Node popup.
editor/src/messages/portfolio/document/utility_types/network_interface/resolved_types.rs:90
↓ 1 callers
Method
add_point_layer_position
(&mut self, document: &DocumentMessageHandler, responses: &mut VecDeque<Message>, layer: LayerNodeIdentifier,
editor/src/messages/tool/tool_messages/pen_tool.rs:1501
↓ 1 callers
Method
add_resource_from_path
(&mut self, id: graph_storage::ResourceId, hash: ResourceHash, src: &Path)
document/document-format/src/resource.rs:40
↓ 1 callers
Method
add_side
(&mut self, side: FaceSide)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:906
↓ 1 callers
Method
add_squares
(&mut self, new_squares: impl Iterator<Item = ActiveSquare>)
node-graph/libraries/vector-types/src/vector/algorithms/poisson_disk.rs:305
↓ 1 callers
Method
add_target_selections
Selects the handle which is currently dragged by the user.
editor/src/messages/tool/tool_messages/pen_tool.rs:618
↓ 1 callers
Method
add_upstream_outline_targets
(&self, outlines: &mut Vec<ClickTarget>)
node-graph/libraries/rendering/src/renderer.rs:657
↓ 1 callers
Method
adjust_handle_length
Makes the opposite handle equidistant or locks its length.
editor/src/messages/tool/tool_messages/pen_tool.rs:1121
↓ 1 callers
Method
adjusted_insert_and_select
(&self, shape_editor: &mut ShapeState, responses: &mut VecDeque<Message>, extend_selection: bool, point_mode:
editor/src/messages/tool/common_functionality/shape_editor.rs:314
↓ 1 callers
Method
advance_timestamp
(&mut self, next_timestamp: Duration)
editor/src/messages/input_mapper/utility_types/misc.rs:141
↓ 1 callers
Method
align
(&self)
node-graph/libraries/core-types/src/types.rs:314
↓ 1 callers
Method
alignment_widgets
(&self, disabled: bool)
editor/src/messages/tool/tool_messages/select_tool.rs:186
↓ 1 callers
Method
all_input_connectors
(&self, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:2392
↓ 1 callers
Method
all_referenced_resource_hashes
Every resource hash referenced by the current registry or anywhere in history, so resource GC keeps redoable/re-undoable interactions' resources (nota
document/document-format/src/lib.rs:283
↓ 1 callers
Function
all_required_modifiers_pressed
(keyboard_state: &KeyStates, modifiers: &KeyStates)
editor/src/messages/input_mapper/utility_types/input_keyboard.rs:25
↓ 1 callers
Method
all_self_intersections
Returns a list of `t` values that correspond to all the self intersection points of the subpath always considering it as a closed subpath. The index a
node-graph/libraries/vector-types/src/subpath/lookup.rs:17
↓ 1 callers
Method
alpha_add
(&self, other: Color)
node-graph/libraries/no-std-types/src/color/color_types.rs:1017
↓ 1 callers
Method
alpha_blend
(&self, other: Color)
node-graph/libraries/no-std-types/src/color/color_types.rs:1005
↓ 1 callers
Method
alpha_multiply
(&self, other: Color)
node-graph/libraries/no-std-types/src/color/color_types.rs:1035
↓ 1 callers
Method
alpha_subtract
(&self, other: Color)
node-graph/libraries/no-std-types/src/color/color_types.rs:1026
↓ 1 callers
Method
alternate_selected_handles
Alternate selected handles to mirrors
editor/src/messages/tool/common_functionality/shape_editor.rs:1918
↓ 1 callers
Function
anchor_overlays
(document: &DocumentMessageHandler, overlay_context: &mut OverlayContext)
editor/src/messages/tool/common_functionality/shapes/shape_utility.rs:294
↓ 1 callers
Method
annotate
Set a local annotation attribute (e.g. a commit message) on a retired delta in place. Excluded from the delta's `Rev`, so identity and the index are u
document/graph-storage/src/history.rs:145
↓ 1 callers
Function
app_resources_dir
()
desktop/src/dirs.rs:54
↓ 1 callers
Function
app_tmp_dir_cleanup
()
desktop/src/dirs.rs:44
↓ 1 callers
Method
append
(&self, path: &str, bytes: &[u8])
document/container/src/backends/opfs.rs:109
↓ 1 callers
Method
append_first_point
(&mut self, point: Point)
node-graph/libraries/vector-types/src/vector/vector_modification.rs:705
↓ 1 callers
Method
append_free_point
(&mut self, point: &FreePoint, preserve_id: bool)
node-graph/libraries/vector-types/src/vector/vector_types.rs:135
↓ 1 callers
Method
append_history_deltas
Encode the history deltas identified by `revs` and append them to the history file. `revs` comes from `Session::retire` in append order, which is a va
document/document-format/src/persist.rs:136
↓ 1 callers
Method
append_items
(&self, items: &[&dyn IsMenuItem])
desktop/src/window/mac/menu.rs:130
↓ 1 callers
Method
apply_colinear_constraint
(&mut self, responses: &mut VecDeque<Message>, layer: LayerNodeIdentifier, anchor_pos: DVec2, vector: &Vector)
editor/src/messages/tool/tool_messages/pen_tool.rs:1158
↓ 1 callers
Function
apply_dash_lengths
(drawing: &mut DrawingToolState, lengths: Vec<f64>, document: &DocumentMessageHandler, responses: &mut VecDequ
editor/src/messages/tool/common_functionality/stroke_options.rs:216
↓ 1 callers
Function
apply_dash_offset
(drawing: &mut DrawingToolState, offset: f64, document: &DocumentMessageHandler, responses: &mut VecDeque<Mess
editor/src/messages/tool/common_functionality/stroke_options.rs:221
↓ 1 callers
Method
apply_delta
Apply a retired commit. Idempotent on structural ops (AddNode/AddNetwork on existing targets, Remove on missing ones) since hot ops already produced t
document/graph-storage/src/document.rs:122
↓ 1 callers
Function
apply_entries_into_tree
Patches entries onto the metadata tree previously seeded by [`seed_metadata_tree`]. Entries with stale `(network_path, local_id)` are skipped with a w
editor/src/messages/portfolio/document/utility_types/network_interface/storage_metadata.rs:309
↓ 1 callers
Method
apply_gdd_cursor_rebuild
Swap in the interface rebuilt from the `Gdd` cursor. Always overwrites the interface.
editor/src/messages/portfolio/document/document_message_handler.rs:2095
↓ 1 callers
Method
apply_gradient_update
Apply an incoming `SpectrumInput` intent to the gradient state and broadcast the result.
editor/src/messages/color_picker/color_picker_message_handler.rs:297
↓ 1 callers
Method
apply_keyboard_shortcut
Append the keyboard shortcut to the tooltip where applicable
editor/src/messages/layout/utility_types/layout_widget.rs:845
↓ 1 callers
Function
apply_line_weight
Applies a user-edited stroke weight to the selection, also persisting it as the no-selection default.
editor/src/messages/tool/common_functionality/color_selector.rs:493
↓ 1 callers
Function
apply_miter_limit
(drawing: &mut DrawingToolState, limit: f64, document: &DocumentMessageHandler, responses: &mut VecDeque<Messa
editor/src/messages/tool/common_functionality/stroke_options.rs:206
↓ 1 callers
Function
apply_network_entries_into_tree
Entries whose `network_path` doesn't resolve are skipped with a warning (per-network drift is more often a stale path than corruption).
editor/src/messages/portfolio/document/utility_types/network_interface/storage_metadata.rs:281
↓ 1 callers
Function
apply_paint_order
(drawing: &mut DrawingToolState, order: PaintOrder, document: &DocumentMessageHandler, responses: &mut VecDequ
editor/src/messages/tool/common_functionality/stroke_options.rs:211
↓ 1 callers
Method
apply_snapping
( &mut self, handle_direction: DVec2, new_handle_position: DVec2, anchor_position: DVec2, using_angl
editor/src/messages/tool/tool_messages/path_tool.rs:1131
↓ 1 callers
Function
apply_stops_update
Set new gradient stops on every selected layer's gradient. Unlike `apply_gradient_update`, this doesn't open its own transaction so it can be called r
editor/src/messages/tool/tool_messages/gradient_tool.rs:1891
↓ 1 callers
Function
apply_stroke_align
(drawing: &mut DrawingToolState, align: StrokeAlign, document: &DocumentMessageHandler, responses: &mut VecDeq
editor/src/messages/tool/common_functionality/stroke_options.rs:191
↓ 1 callers
Function
apply_stroke_cap
(drawing: &mut DrawingToolState, cap: StrokeCap, document: &DocumentMessageHandler, responses: &mut VecDeque<M
editor/src/messages/tool/common_functionality/stroke_options.rs:196
↓ 1 callers
Function
apply_stroke_join
(drawing: &mut DrawingToolState, join: StrokeJoin, document: &DocumentMessageHandler, responses: &mut VecDeque
editor/src/messages/tool/common_functionality/stroke_options.rs:201
↓ 1 callers
Method
apply_transform_pen
(&mut self, transformation: DAffine2)
editor/src/messages/portfolio/document/utility_types/transformation.rs:619
↓ 1 callers
Method
apply_update
(&mut self, update: ViewInfoUpdate)
desktop/src/cef.rs:64
↓ 1 callers
Function
apply_usvg_fill
(fill: &usvg::Fill, modify_inputs: &mut ModifyInputsContext, graphite_gradient_stops: &HashMap<String, Gradien
editor/src/messages/portfolio/document/graph_operation/graph_operation_message_handler.rs:810
↓ 1 callers
Function
apply_usvg_stroke
(stroke: &usvg::Stroke, modify_inputs: &mut ModifyInputsContext, transform: DAffine2)
editor/src/messages/portfolio/document/graph_operation/graph_operation_message_handler.rs:774
↓ 1 callers
Method
approx_nearest_point
Calculates the point on the curve which lies closest to `point`. ## Algorithm: 1. We first perform a coarse scan of the path segment to find the most
editor/src/messages/tool/common_functionality/snapping/layer_snapper.rs:381
↓ 1 callers
Method
arc_clone
(&self)
node-graph/libraries/core-types/src/context.rs:290
↓ 1 callers
Function
arc_end_points_ignore_layer
(radius: f64, start_angle: f64, sweep_angle: f64, viewport: Option<DAffine2>)
editor/src/messages/tool/common_functionality/shapes/shape_utility.rs:389
↓ 1 callers
Method
arc_sweep_angle
(&mut self, offset_angle: f64, angle: f64, end_point_position: DVec2, bold_radius: f64, pivot: DVec2, text: &s
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:850
↓ 1 callers
Function
archimedean_spiral_arc_length
Computes arc length along an Archimedean spiral between two angles.
node-graph/libraries/vector-types/src/subpath/core.rs:460
↓ 1 callers
Function
archimedean_spiral_point
Returns a point on an Archimedean spiral at angle `theta`.
node-graph/libraries/vector-types/src/subpath/core.rs:446
↓ 1 callers
Function
archimedean_spiral_tangent
Returns the tangent direction of an Archimedean spiral at angle `theta`.
node-graph/libraries/vector-types/src/subpath/core.rs:452
↓ 1 callers
Function
are_manipulator_handles_colinear
(manipulators: &ManipulatorGroup<PointId>, to_document: DAffine2, subpath: &Subpath<PointId>, index: usize)
editor/src/messages/tool/common_functionality/snapping/layer_snapper.rs:611
↓ 1 callers
Method
arg_if
(self, cond: bool, arg: impl Into<OsString>)
tools/cargo-run/src/cmd.rs:51
↓ 1 callers
Method
args_if
(self, cond: bool, args: I)
tools/cargo-run/src/cmd.rs:55
↓ 1 callers
Function
artboard_clip_bounds
Returns the union of the artboards' clipping rectangles, used as the thumbnail bounds for an artboard layer so the framing matches what's actually vis
editor/src/node_graph_executor/runtime.rs:514
↓ 1 callers
Method
artboard_name
(&self)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:102
↓ 1 callers
Method
as_real
(&self)
libraries/math-parser/src/value.rs:17
↓ 1 callers
Function
as_u16
(buffer: &[u8], endian: Endian)
libraries/rawkit/src/decoder/arw2.rs:67
↓ 1 callers
Function
as_u32
(buffer: &[u8], endian: Endian)
libraries/rawkit/src/decoder/arw2.rs:60
↓ 1 callers
Method
as_value_mut
(&mut self)
node-graph/graph-craft/src/document.rs:283
↓ 1 callers
Method
as_vector
(&self)
node-graph/libraries/graphic-types/src/graphic.rs:392
↓ 1 callers
Function
assign_font_message
(node_id: NodeId, font: Font)
editor/src/messages/portfolio/document/node_graph/node_properties.rs:858
↓ 1 callers
Method
associated_entries
(&self, message: &InputMapperMessage)
editor/src/messages/input_mapper/utility_types/misc.rs:32
↓ 1 callers
Function
async_wake_callback
()
frontend/wrapper/src/helpers.rs:113
↓ 1 callers
Method
at_index_from_end
(&self, index: usize)
node-graph/libraries/graphic-types/src/graphic.rs:588
↓ 1 callers
Method
attribute_display_value
Returns a debug-formatted display string for the attribute at the given item index and key.
node-graph/libraries/core-types/src/list.rs:1102
↓ 1 callers
Method
attribute_keys
Returns an iterator over all attribute keys in this list, in insertion order.
node-graph/libraries/core-types/src/list.rs:990
↓ 1 callers
Method
attributes
Returns a shared reference to all attributes of this item.
node-graph/libraries/core-types/src/list.rs:1333
↓ 1 callers
Method
auto_join_paths
(&self)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:983
↓ 1 callers
Function
auto_save_all_documents
()
frontend/wrapper/src/helpers.rs:122
↓ 1 callers
Function
axis_align_drag
Aligns the mouse position to the closest axis. The `axis_constraint`, if nonzero, is a unit vector along which dragging is constrained (e.g. the compa
editor/src/messages/tool/common_functionality/transformation_cage.rs:305
↓ 1 callers
Method
backtrack
(&mut self)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:912
↓ 1 callers
Function
bake_graphic_paint_transform
(graphics: &mut List<Graphic>, transform: DAffine2)
node-graph/libraries/graphic-types/src/graphic.rs:232
↓ 1 callers
Method
bend_from_previous_point
If the user places the anchor on top of the previous anchor, it becomes sharp and the outgoing handle may be dragged.
editor/src/messages/tool/tool_messages/pen_tool.rs:650
↓ 1 callers
Function
bevel_algorithm
(mut vector: Vector, transform: DAffine2, distance: f64)
node-graph/nodes/vector/src/vector_nodes.rs:2822
↓ 1 callers
Function
bezier_to_path_seg
Convert [`vector_types::subpath::Bezier`] to [`kurbo::PathSeg`].
node-graph/nodes/vector/src/vector_nodes.rs:590
↓ 1 callers
Function
bezpath_to_manipulator_groups
(bezpath: &BezPath)
node-graph/libraries/vector-types/src/vector/misc.rs:224
↓ 1 callers
Method
binary_op
(self, op: BinaryOp, other: Number)
libraries/math-parser/src/value.rs:55
↓ 1 callers
Method
bind_ui_texture
(&mut self, ui_texture: wgpu::Texture)
desktop/src/render/state.rs:209
↓ 1 callers
Method
bind_viewport_texture
(&mut self, viewport_texture: std::sync::Arc<wgpu::Texture>)
desktop/src/render/state.rs:204
↓ 1 callers
Function
black_or_white_for_best_contrast
(background: Option<Color>)
node-graph/libraries/rendering/src/renderer.rs:289
↓ 1 callers
Method
blend
(&self, under: &Self, blend_fn: impl Fn(Color, Color) -> Color)
node-graph/nodes/raster/src/blending_nodes.rs:17
↓ 1 callers
Method
blend_color
Whole-color "Color" blend: source hue/saturation with this color's luma.
node-graph/libraries/no-std-types/src/color/color_types.rs:829
↓ 1 callers
Method
blend_darker_color
(&self, other: Color)
node-graph/libraries/no-std-types/src/color/color_types.rs:708
↓ 1 callers
Method
blend_hue
Whole-color "Hue" blend: source hue with this color's saturation and Rec.601 luma.
node-graph/libraries/no-std-types/src/color/color_types.rs:814
↓ 1 callers
Method
blend_lighter_color
(&self, other: Color)
node-graph/libraries/no-std-types/src/color/color_types.rs:738
↓ 1 callers
Method
blend_luminosity
Whole-color "Luminosity" blend: this color's hue/saturation with source luma.
node-graph/libraries/no-std-types/src/color/color_types.rs:836
↓ 1 callers
Method
blend_mode_set
(&mut self, blend_mode: BlendMode)
editor/src/messages/portfolio/document/graph_operation/utility_types.rs:511
↓ 1 callers
Function
blend_mode_widget
TODO: Auto-generate this enum dropdown menu widget
editor/src/messages/portfolio/document/node_graph/node_properties.rs:1119
↓ 1 callers
Method
blend_saturation
Whole-color "Saturation" blend: this color's hue/luma with source saturation.
node-graph/libraries/no-std-types/src/color/color_types.rs:821
↓ 1 callers
Function
blend_stamp_closure
(foreground: BrushStampGenerator<Color>, mut background: Item<Raster<CPU>>, map_fn: impl Fn(Color, Color) -> C
node-graph/nodes/brush/src/brush.rs:372
← previous
next →
2,101–2,200 of 5,973, ranked by callers