MCPcopy Create free account

hub / github.com/GraphiteEditor/Graphite / functions

Functions5,973 in github.com/GraphiteEditor/Graphite

↓ 4 callersFunctionvector_node_from_bezpath
(bezpath: BezPath)
node-graph/nodes/repeat/src/repeat_nodes.rs:203
↓ 4 callersMethodvertical_shift_with_push
(&mut self, node_id: &NodeId, shift_sign: i32, shifted_nodes: &mut HashSet<NodeId>, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:5582
↓ 4 callersMethodvisual_targets
Outline targets if present, otherwise click targets. Used for bounding boxes and outline drawing so layers with an `editor:click_target` override repo
editor/src/messages/portfolio/document/utility_types/document_metadata.rs:173
↓ 4 callersFunctionvite
()
tools/cargo-run/src/frontend.rs:100
↓ 4 callersMethodweight
Get the current stroke weight.
node-graph/libraries/vector-types/src/vector/style.rs:281
↓ 4 callersMethodwith_animation_time
(mut self, animation_time: f64)
node-graph/libraries/core-types/src/context.rs:645
↓ 4 callersMethodwith_luminance
(&self, luminance: f32)
node-graph/libraries/no-std-types/src/color/color_types.rs:609
↓ 4 callersMethodwith_name
(mut self, input_name: &str)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6710
↓ 4 callersMethodwith_real_time
(mut self, real_time: f64)
node-graph/libraries/core-types/src/context.rs:641
↓ 3 callersMethodadd_import
Inserts a new input at insert index. If the insert index is -1 it is inserted at the end. The output_name is used by the encapsulating node.
editor/src/messages/portfolio/document/utility_types/network_interface.rs:3618
↓ 3 callersMethodadd_resource
Register a resource under `id` and store its bytes. Commits an `AddResource` delta (a single `DataSource::Embedded` source resolved to the content has
document/document-format/src/resource.rs:26
↓ 3 callersMethodadjusted_insert
(&self, responses: &mut VecDeque<Message>)
editor/src/messages/tool/common_functionality/shape_editor.rs:265
↓ 3 callersMethodadvance_gradient_migration
TODO: Eventually remove this document upgrade code Move to the next queued fill, or finish the migration and trigger a normal render once the queue is
editor/src/node_graph_executor.rs:631
↓ 3 callersFunctionapp_autosave_documents_dir
()
desktop/src/dirs.rs:48
↓ 3 callersMethodappend_hot_frame
(&mut self, op: &HotOp)
document/document-format/src/persist.rs:218
↓ 3 callersMethodappend_segment_and_close_path
(&mut self, point: Point, handle: BezierHandles)
node-graph/libraries/vector-types/src/vector/vector_modification.rs:659
↓ 3 callersMethodas_one
(&self)
editor/src/messages/tool/tool_messages/path_tool.rs:3244
↓ 3 callersMethodas_str
(&self)
tools/cargo-run/src/cmd.rs:98
↓ 3 callersFunctionassert_subpath_eq
(generated: &[Subpath<PointId>], expected: &[Subpath<PointId>])
node-graph/libraries/vector-types/src/vector/vector_types.rs:590
↓ 3 callersMethodaxis_constraint
(&self)
editor/src/messages/portfolio/document/utility_types/transformation.rs:350
↓ 3 callersFunctionbench_for_each_demo
(group: &mut BenchmarkGroup<M>, f: F)
node-graph/interpreted-executor/benches/benchmark_util.rs:21
↓ 3 callersFunctionbezpath_intersections
Calculates the intersection points the bezpath has with another given bezpath and returns a list of parametric `t`-values.
node-graph/libraries/vector-types/src/vector/algorithms/intersection.rs:42
↓ 3 callersMethodbounding_box
(&self)
node-graph/nodes/brush/src/brush_stroke.rs:61
↓ 3 callersMethodbounding_box_document_with_stroke
Get the bounding box of the specified layer in document space, expanded to include the actual rendered stroke geometry when the layer is a vector with
editor/src/messages/portfolio/document/utility_types/document_metadata.rs:235
↓ 3 callersMethodbounding_box_with_transform
Compute the bounding boxes of the subpaths with the specified transform
node-graph/libraries/vector-types/src/vector/vector_types.rs:217
↓ 3 callersMethodbounding_box_with_transform_rect
Compute the bounding boxes of the bezpaths with the specified transform
node-graph/libraries/vector-types/src/vector/vector_types.rs:223
↓ 3 callersMethodbuild_instance
(&self)
node-graph/libraries/wgpu-executor/src/context.rs:79
↓ 3 callersMethodbuild_layer_entry
Builds a single `LayerStructureEntry` for the given layer, including its `children_present` flag, `descendant_selected` flag, and (if expanded) its ch
editor/src/messages/portfolio/document/document_message_handler.rs:2230
↓ 3 callersFunctionbuild_shared_spectrum_section
Append a section of related percentage parameters as rows: a shared black-to-white spectrum (with one marker per non-exposed parameter) sits on the fi
editor/src/messages/portfolio/document/node_graph/node_properties.rs:1353
↓ 3 callersFunctionbuild_vector_wire
(output_position: DVec2, input_position: DVec2, vertical_out: bool, vertical_in: bool, graph_wire_style: Graph
editor/src/messages/portfolio/document/utility_types/wires.rs:58
↓ 3 callersMethodcache_hash_dyn
Hashes every value in this attribute into the given hasher (object-safe wrapper around `CacheHash`).
node-graph/libraries/core-types/src/list.rs:354
↓ 3 callersMethodcalculate_perp
(&self, document: &DocumentMessageHandler)
editor/src/messages/tool/common_functionality/shape_editor.rs:326
↓ 3 callersMethodcalculate_pivot
Calculate the pivot for the operation (the opposite point to the edge dragged)
editor/src/messages/tool/common_functionality/transformation_cage.rs:73
↓ 3 callersMethodcalculate_points_ignore_layer
Compute the drag start and end based on the current mouse position. Ignores the state of the layer. If you want to only draw whilst a layer exists, us
editor/src/messages/tool/common_functionality/resize.rs:57
↓ 3 callersMethodcalculate_selection_mode_from_direction
(&mut self, metadata: &DocumentMetadata)
editor/src/messages/tool/tool_messages/path_tool.rs:626
↓ 3 callersFunctioncalculate_spiral_endpoints
Calculates the position of a spiral endpoint at a given angle offset (0 = start, TAU = end).
editor/src/messages/tool/common_functionality/shapes/spiral_shape.rs:86
↓ 3 callersMethodcenter_zoom
(&self, viewport_bounds: DVec2, zoom_factor: f64, mouse: DVec2)
editor/src/messages/portfolio/document/navigation/navigation_message_handler.rs:557
↓ 3 callersMethodchain_width
(&self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:249
↓ 3 callersMethodcheck_collision_with_stack_dependents
(&mut self, node_id: &NodeId, shift_sign: i32, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:5644
↓ 3 callersMethodcheck_grs_end_handle
(&self, vector: &Vector)
editor/src/messages/tool/tool_messages/pen_tool.rs:526
↓ 3 callersMethodcheck_layer_area_target
Handles the checking of the layer where the target is a rect or path
editor/src/messages/portfolio/document/document_message_handler.rs:3855
↓ 3 callersMethodcheck_ref
(&self, ref_id: &NodeId, id: &NodeId)
node-graph/graph-craft/src/proto.rs:215
↓ 3 callersMethodcheck_rotate
Check if the user is rotating with the bounds
editor/src/messages/tool/common_functionality/transformation_cage.rs:746
↓ 3 callersMethodcheck_skew_handle
(&self, cursor: DVec2, edge: EdgeBool)
editor/src/messages/tool/common_functionality/transformation_cage.rs:433
↓ 3 callersFunctionclamp
( _: impl Ctx, /// The number to be clamped, which is restricted to the range between the minimum and maximu
node-graph/nodes/math/src/lib.rs:546
↓ 3 callersFunctionclamp01
(/** @type {number} **/ x)
website/static/js/navbar.js:182
↓ 3 callersFunctionclean_rust_type_syntax
(input: String)
proc-macros/src/helpers.rs:45
↓ 3 callersMethodclick_list
Find layers under the location in viewport space that was clicked, listed by their depth in the layer tree hierarchy.
editor/src/messages/portfolio/document/document_message_handler.rs:1935
↓ 3 callersMethodcloned_deltas
(&self)
document/graph-storage/src/session.rs:499
↓ 3 callersMethodclose
(&mut self)
node-graph/nodes/text/src/path_builder.rs:287
↓ 3 callersMethodcoefficients_mut
Return a mutable reference to the coefficients. The coefficient for nth degree is at the nth index in array. Therefore the order of coefficients are
node-graph/libraries/core-types/src/math/polynomial.rs:36
↓ 3 callersFunctioncollect_node_resources
Collects resource IDs referenced by a node and its nested networks.
editor/src/messages/portfolio/document/utility_types/network_interface.rs:7035
↓ 3 callersFunctioncommitToHtml
(/** @type {Commit} */ commit)
website/static/js/page/contributor-guide/bisect-tool.js:127
↓ 3 callersFunctioncompute_rev
Hash the identity-bearing fields of a `Delta` with blake3 and truncate to 128 bits. A [`RegistryDelta::Merge`] is addressed by its sorted parent set
document/graph-storage/src/ids.rs:115
↓ 3 callersMethodcompute_snapped_angle
Snap the angle of the line from relative to position if the key is pressed.
editor/src/messages/tool/tool_messages/pen_tool.rs:1211
↓ 3 callersMethodconnected_points
Gets all points connected to the current one but not including the current one.
node-graph/libraries/vector-types/src/vector/vector_types.rs:374
↓ 3 callersMethodconstrained_snap
(&mut self, snap_data: &mut SnapData, point: &SnapCandidatePoint, snap_results: &mut SnapResults, constraint:
editor/src/messages/tool/common_functionality/snapping/grid_snapper.rs:152
↓ 3 callersMethodconstraint_axis
(&self, axis_constraint: Axis)
editor/src/messages/tool/transform_layer/transform_layer_message_handler.rs:49
↓ 3 callersMethodcontains
(&self, hash: &ResourceHash)
node-graph/graph-craft/src/application_io/resource.rs:39
↓ 3 callersMethodcontains_group
Check if this subtree contains a panel group with the given ID.
editor/src/messages/portfolio/utility_types.rs:635
↓ 3 callersFunctioncontrast
(color: SRGBA8 | undefined)
frontend/src/utility-functions/colors.ts:157
↓ 3 callersFunctionconvert
(n: number)
frontend/src/utility-functions/colors.ts:15
↓ 3 callersFunctioncopy_layers_to_clipboard
Copies the layer selection and returns the written clipboard payload.
editor/src/messages/clipboard/clipboard_message_handler.rs:515
↓ 3 callersFunctioncreate_editor_with_three_layers
Create an editor with three layers 1. A red rectangle 2. A blue shape 3. A green ellipse
editor/src/messages/clipboard/clipboard_message_handler.rs:497
↓ 3 callersFunctioncreate_nested_network
Creates a network with a nested sub-network
document/graph-storage/src/tests/round_trip.rs:88
↓ 3 callersMethodcurrent_color
The picker's internal HSV state is HSV of sRGB display values
editor/src/messages/color_picker/color_picker_message_handler.rs:205
↓ 3 callersMethodcursor_change
(&self, cursor: Cursor)
desktop/src/cef.rs:206
↓ 3 callersMethoddashed_ellipse
( &mut self, center: DVec2, radius_x: f64, radius_y: f64, rotation: Option<f64>, start_angle: Opti
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:317
↓ 3 callersMethoddashed_polygon
(&mut self, polygon: &[DVec2], stroke_color: Option<&str>, color_fill: Option<&str>, dash_width: Option<f64>,
editor/src/messages/portfolio/document/overlays/utility_types_native.rs:258
↓ 3 callersMethoddashed_quad
(&mut self, quad: Quad, stroke_color: Option<&str>, color_fill: Option<&str>, dash_width: Option<f64>, dash_ga
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:198
↓ 3 callersMethoddecode
Create a [`RawImage`] from an input stream. Decodes the contents of `reader` and extracts raw pixel data and metadata.
libraries/rawkit/src/lib.rs:128
↓ 3 callersMethoddecode
(view_settings: &std::collections::BTreeMap<String, serde_json::Value>, key: &str)
editor/src/messages/portfolio/document/document_message_handler.rs:2054
↓ 3 callersMethoddefaults_to_fill
True if this shape mode's fill checkbox is ticked by default when nothing is selected. Spiral/Grid/Line are open paths and default to fill-off, the cl
editor/src/messages/tool/common_functionality/shapes/shape_utility.rs:60
↓ 3 callersMethoddelete
Delete layer and all children
editor/src/messages/portfolio/document/utility_types/document_metadata.rs:472
↓ 3 callersMethodderef
(&self)
libraries/math-parser/src/context.rs:38
↓ 3 callersMethoddocument_bounds_document_space
Calculates the document bounds in document space
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1233
↓ 3 callersMethoddocument_index
(&self, document_id: DocumentId)
editor/src/messages/portfolio/portfolio_message_handler.rs:1928
↓ 3 callersMethoddocument_network_metadata
(&self)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:142
↓ 3 callersMethoddownstream_transform_to_document
(&self, layer: LayerNodeIdentifier)
editor/src/messages/portfolio/document/utility_types/document_metadata.rs:149
↓ 3 callersFunctiondragEnd
* @param {boolean} dropWithoutVelocity
website/static/js/component/carousel.js:438
↓ 3 callersFunctiondrag_deepest_manipulation
(responses: &mut VecDeque<Message>, selected: Vec<LayerNodeIdentifier>, tool_data: &mut SelectToolData, docume
editor/src/messages/tool/tool_messages/select_tool.rs:2020
↓ 3 callersFunctiondrag_shallowest_manipulation
(responses: &mut VecDeque<Message>, selected: Vec<LayerNodeIdentifier>, tool_data: &mut SelectToolData, docume
editor/src/messages/tool/tool_messages/select_tool.rs:1918
↓ 3 callersFunctiondraw_layer_outline
Draws the hover/selection outline for a layer. When a Path node is upstream, mirrors the Path tool's view (e.g. the pre-solidified centerline for a So
editor/src/messages/tool/tool_messages/select_tool.rs:703
↓ 3 callersMethoddraw_spokes
(&self, center: DVec2, viewport: DAffine2, sides: u32, radius: f64, overlay_context: &mut OverlayContext)
editor/src/messages/tool/common_functionality/gizmos/shape_gizmos/number_of_points_dial.rs:166
↓ 3 callersMethodedge_endpoints_vector_from_edge_bool
(&self, edges: EdgeBool)
editor/src/messages/tool/common_functionality/transformation_cage.rs:455
↓ 3 callersMethodembed_resource_sources
Commit an `AddSource(Embedded)` retired delta for each given resource, making it the highest- precedence fallback. Skips resources that already have a
document/graph-storage/src/session.rs:107
↓ 3 callersFunctionemit_svg_fill_path
( render: &mut SvgRender, d: String, fill_graphic_list: Option<&List<Graphic>>, item_transform: DAffine2,
node-graph/libraries/rendering/src/renderer.rs:351
↓ 3 callersFunctionempty_image
(_: impl Ctx, transform: DAffine2, color: List<Color>)
node-graph/nodes/raster/src/std_nodes.rs:278
↓ 3 callersMethodensure_network_exists
(&mut self, target: RegistryTarget, network_id: NetworkId)
document/graph-storage/src/document.rs:330
↓ 3 callersFunctionentries
()
document/container/tests/archive.rs:8
↓ 3 callersFunctionenv_or_else
Get an environment variable, or if it is not set or empty, use the provided fallback function. Returns a string with trimmed whitespace.
editor/build.rs:36
↓ 3 callersMethodeq_dyn
Compares this attribute to another for value-by-value equality (object-safe wrapper around `PartialEq`).
node-graph/libraries/core-types/src/list.rs:359
↓ 3 callersMethodequivalent_to
(&self, operation: TransformOperation)
editor/src/messages/portfolio/document/utility_types/transformation.rs:324
↓ 3 callersFunctioneval_bezpath
Convert a [TValue] to a parametric `(segment_index, t)` tuple. - Asserts that `t` values contained within the `TValue` argument lie in the range [0, 1
node-graph/libraries/vector-types/src/vector/algorithms/bezpath_algorithms.rs:327
↓ 3 callersFunctioneval_pathseg
(segment: PathSeg, t_value: TValue)
node-graph/libraries/vector-types/src/vector/algorithms/bezpath_algorithms.rs:235
↓ 3 callersMethodevent_to_message_map
(&self)
editor/src/messages/tool/tool_messages/pen_tool.rs:313
↓ 3 callersMethodexecute
(mut self)
desktop/wrapper/src/message_dispatcher.rs:26
↓ 3 callersMethodexecute
(&self, input: I)
node-graph/interpreted-executor/src/dynamic_executor.rs:142
↓ 3 callersMethodexisting_proto_node_id_at
Like `existing_proto_node_id`, but walks/inserts at `target_input` instead of the layer's content input. Used when a chain lives on a non-layer input.
editor/src/messages/portfolio/document/graph_operation/utility_types.rs:352
↓ 3 callersMethodexport_to_bytes
(&self, format: ExportFormat, options: ExportOptions, byte_store: &dyn LoadResource, legacy_document: Option<&
document/document-format/src/export.rs:104
← previousnext →1,101–1,200 of 5,973, ranked by callers