MCPcopy Create free account

hub / github.com/GraphiteEditor/Graphite / functions

Functions5,973 in github.com/GraphiteEditor/Graphite

↓ 3 callersFunctionopen_url
(url: &str)
tools/cargo-run/src/cmd.rs:311
↓ 3 callersFunctionoptionally_update_value
(value: impl Fn(&T) -> Option<TaggedValue> + 'static + Send + Sync, node_id: NodeId, input_index: usize)
editor/src/messages/portfolio/document/node_graph/node_properties.rs:46
↓ 3 callersMethodother_point
Attempts to find another point in the segment that is not the one passed in.
node-graph/libraries/vector-types/src/vector/vector_types.rs:368
↓ 3 callersMethodoutput_ports
(&self)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6377
↓ 3 callersMethodover_extended_edge_midpoint
(&self, mouse: DVec2, hover_edge: EdgeBool)
editor/src/messages/tool/common_functionality/transformation_cage.rs:498
↓ 3 callersFunctionoverlay_bezier_handles
(bezier: Bezier, segment_id: SegmentId, transform: DAffine2, is_selected: impl Fn(ManipulatorPointId) -> bool,
editor/src/messages/portfolio/document/overlays/utility_functions.rs:72
↓ 3 callersMethodoverlays
( &self, document: &DocumentMessageHandler, selected_shape_layer: Option<LayerNodeIdentifier>, input:
editor/src/messages/tool/common_functionality/shapes/arc_shape.rs:84
↓ 3 callersFunctionparseCommits
(/** @type {any[]} */ apiCommits)
website/static/js/page/contributor-guide/bisect-tool.js:145
↓ 3 callersFunctionparse_css_color
Parse a CSS color string (named color, hex, `rgb(...)`, `hsl(...)`, etc.) into a linear-light [`Color`] using the `color` crate's CSS Color 4 parser.
node-graph/libraries/core-types/src/misc.rs:113
↓ 3 callersMethodpath_for
(&self, hash: &ResourceHash)
node-graph/graph-craft/src/application_io/resource/mmap.rs:24
↓ 3 callersMethodpercentage
(self)
editor/src/messages/layout/utility_types/widgets/input_widgets.rs:247
↓ 3 callersMethodpersist_registry_snapshot
Re-snapshot the materialized working registry to `registry.bin`. `Session::load` trusts the stored registry to match the persisted `head`, so any curs
document/document-format/src/persist.rs:189
↓ 3 callersFunctionpolygon_outline
Outlines the geometric shape made by polygon-node
editor/src/messages/tool/common_functionality/shapes/shape_utility.rs:455
↓ 3 callersMethodpotential_valid_input_types
A list of all valid input types for this specific node.
editor/src/messages/portfolio/document/utility_types/network_interface/resolved_types.rs:213
↓ 3 callersFunctionprofile_path
()
desktop/bundle/src/common.rs:23
↓ 3 callersFunctionpromote_handles_to_cubic
Promotes a segment's handle pair to cubic-equivalent Bézier control points. For linear segments (both None), handles are placed at their respective an
node-graph/nodes/vector/src/vector_nodes.rs:2200
↓ 3 callersFunctionpush_manipulators_to_vector
Pushes a subpath (list of manipulators) directly into a Vector's point, segment, and region domains, bypassing the BezPath intermediate representation
node-graph/nodes/vector/src/vector_nodes.rs:2262
↓ 3 callersMethodpush_node
Inserts a new node into the [`BorrowTree`], calling the constructor function from `node_registry.rs`. This method creates a new node container based
node-graph/interpreted-executor/src/dynamic_executor.rs:396
↓ 3 callersMethodpush_path
(&mut self, subpaths: impl Iterator<Item = impl Borrow<Subpath<PointId>>>, transform: DAffine2)
editor/src/messages/portfolio/document/overlays/utility_types_native.rs:980
↓ 3 callersMethodpush_path
(&mut self, subpaths: impl Iterator<Item = impl Borrow<Subpath<PointId>>>, transform: DAffine2)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:933
↓ 3 callersMethodquery
(permissionDesc: { name: "clipboard-read" })
frontend/src/global.d.ts:41
↓ 3 callersMethodqueue_desktop_wrapper_message
(&mut self, message: DesktopWrapperMessage)
desktop/wrapper/src/message_dispatcher.rs:31
↓ 3 callersMethodread
(&mut self, buf: &mut [u8])
desktop/src/cef.rs:110
↓ 3 callersFunctionread_artboard_attributes
Reads the artboard metadata for the item at `index` from a `List<Artboard>`.
node-graph/libraries/rendering/src/renderer.rs:695
↓ 3 callersFunctionread_file
(root: &FileSystemDirectoryHandle, path: &str)
document/container/src/backends/opfs.rs:300
↓ 3 callersMethodread_modifiers
Reads the modifier key states, applying the post-undo/redo angle-lock and angle-snap suppression.
editor/src/messages/tool/tool_messages/pen_tool.rs:467
↓ 3 callersMethodrealize_shortcut
(&mut self, action_input_mapping: &impl Fn(&MessageDiscriminant) -> Option<KeysGroup>)
editor/src/messages/input_mapper/utility_types/misc.rs:119
↓ 3 callersMethodrecalculate_default_sizes
Recalculate the default sizes for all splits in the tree based on document panel proximity.
editor/src/messages/portfolio/utility_types.rs:231
↓ 3 callersMethodrect
(&self, grid_type: GridType, columns: u32, rows: u32, spacing: DVec2, angles: DVec2, viewport: DAffine2)
editor/src/messages/tool/common_functionality/gizmos/shape_gizmos/grid_rows_columns_gizmo.rs:358
↓ 3 callersFunctionrefresh_slot_working_color
Refreshes a single swatch from the given working color, subject to the rules in [`apply_working_colors`].
editor/src/messages/tool/common_functionality/color_selector.rs:508
↓ 3 callersMethodregistry_ref
(&self, target: RegistryTarget)
document/graph-storage/src/document.rs:141
↓ 3 callersMethodremove
(&mut self, side: FaceSide)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:833
↓ 3 callersFunctionrepeat_array
( ctx: impl ExtractAll + CloneVarArgs + Ctx, #[implementations( Context -> List<Graphic>, Context -> Lis
node-graph/nodes/repeat/src/repeat_nodes.rs:48
↓ 3 callersMethodreplace_nested
(&mut self, f: impl Fn(&Type) -> Option<Type>)
node-graph/libraries/core-types/src/types.rs:332
↓ 3 callersFunctionrequestAnimate
()
website/static/js/navbar.js:149
↓ 3 callersMethodreserve
(&mut self, additional: usize)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:102
↓ 3 callersMethodresolved
(&self)
node-graph/libraries/resources/src/lib.rs:356
↓ 3 callersMethodretire
Working-copy checkpoint: promote hot ops with timestamp `≤ up_to` into retired deltas, append them to the history file, rewrite the hot log with remai
document/document-format/src/persist.rs:228
↓ 3 callersMethodretire_inner
`interaction_end`: mark the batch's last delta as an interaction boundary (one undo unit) before its history frame is written, so the marker persists
document/document-format/src/persist.rs:234
↓ 3 callersMethodrevert_delta
Apply a delta's `reverse` as the new forward op (silent-zone undo). Force-applied: structural ops are idempotent, and LWW arms assign the reverse valu
document/graph-storage/src/document.rs:92
↓ 3 callersFunctionrun
(Args { url, sha256, out, mode }: Args)
tools/cargo-run/internal/download/src/main.rs:44
↓ 3 callersFunctionrun
(app_event_scheduler: AppEventScheduler, shutdown_receiver: mpsc::Receiver<()>)
desktop/src/socket.rs:56
↓ 3 callersMethodsample
(&self, position: DVec2, area: DVec2)
node-graph/nodes/brush/src/brush.rs:39
↓ 3 callersMethodscale
(&self)
node-graph/libraries/core-types/src/transform.rs:205
↓ 3 callersMethodsegment_from_id
Tries to convert a segment with the specified id to a [`Bezier`], returning None if the id is invalid.
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:940
↓ 3 callersMethodselected_visible_and_unlocked_layers_mean_average_origin
(&'a self, network_interface: &'a NodeNetworkInterface)
editor/src/messages/portfolio/document/utility_types/nodes.rs:89
↓ 3 callersMethodselection_outline
(&self)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:126
↓ 3 callersMethodsend
(&self, message: NodeGraphUpdateMessage)
editor/src/node_graph_executor/runtime.rs:114
↓ 3 callersMethodsend_frontend_message_to_js
Sends a FrontendMessage to JavaScript
frontend/wrapper/src/editor_wrapper.rs:151
↓ 3 callersMethodsend_message
(&self, message_type: MessageType, message: &[u8])
desktop/src/cef/context/singlethreaded.rs:54
↓ 3 callersMethodserialized
(&self)
editor/src/messages/portfolio/document/node_graph/document_node_definitions.rs:86
↓ 3 callersMethodset_display_name
(&mut self, node_id: &NodeId, display_name: String, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:4763
↓ 3 callersMethodset_document_to_viewport_transform
(&mut self, transform: DAffine2)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:2987
↓ 3 callersFunctionset_fill_for_selected_layers
Sets the fill on all selected non-artboard layers, preserving gradient transform data when the layer already has a gradient fill.
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:781
↓ 3 callersMethodset_new_hsva
(&mut self, h: f64, s: f64, v: f64, a: f64, is_none: bool)
editor/src/messages/color_picker/color_picker_message_handler.rs:221
↓ 3 callersMethodset_position
(&mut self, index: usize, position: DVec2)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:155
↓ 3 callersMethodset_source
Insert or LWW-overwrite the entry at `key`. A re-set at an existing key wins only if `value`'s timestamp is strictly newer; a fresh key is inserted in
document/graph-storage/src/resources.rs:87
↓ 3 callersMethodset_storage
Attach (or clear) the `Gdd` working copy once the mount future resolves.
editor/src/messages/portfolio/document/document_history.rs:83
↓ 3 callersFunctionset_stroke_color_for_selected_layers
Sets the stroke color on all selected non-artboard layers. Layers without an existing Stroke node get one created using the provided `weight`, so pick
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:824
↓ 3 callersMethodset_transform
(&mut self, transform: DAffine2, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:3519
↓ 3 callersMethodset_view_settings
Replace the per-peer view settings and persist them to `session.json`. Called by the editor when the viewport or a document-level toggle changes; neve
document/document-format/src/persist.rs:196
↓ 3 callersFunctionshowMessage
(/** @type {string} */ html)
website/static/js/page/contributor-guide/bisect-tool.js:167
↓ 3 callersFunctionshowResult
()
website/static/js/page/contributor-guide/bisect-tool.js:446
↓ 3 callersFunctionsingular_values
`(max, min)` factors by which a unit vector is stretched under `transform`'s linear part — the principal and minor singular values, equal to the semi-
node-graph/libraries/rendering/src/renderer.rs:274
↓ 3 callersMethodsize
(&self)
node-graph/libraries/core-types/src/math/bbox.rs:14
↓ 3 callersMethodsize_hint
(&self)
node-graph/libraries/vector-types/src/gradient.rs:182
↓ 3 callersMethodskew_transform
(&self, mouse: DVec2, to_viewport_transform: DAffine2, free_movement: bool)
editor/src/messages/tool/common_functionality/transformation_cage.rs:270
↓ 3 callersMethodsnap_to_physical_pixel
(&self, p: DVec2)
editor/src/messages/portfolio/document/overlays/utility_types_native.rs:1216
↓ 3 callersFunctionsplit_bezpath_at_segment
Splits the [`BezPath`] at segment index at `t` value which lie in the range of [0, 1]. Returns [`None`] if the given [`BezPath`] has no segments or `t
node-graph/libraries/vector-types/src/vector/algorithms/bezpath_algorithms.rs:13
↓ 3 callersMethodsquare
(&mut self, position: DVec2, size: Option<f64>, color_fill: Option<&str>, color_stroke: Option<&str>)
editor/src/messages/portfolio/document/overlays/utility_types_native.rs:303
↓ 3 callersFunctionsrgb_u8_to_float
(c: u8)
node-graph/libraries/no-std-types/src/color/discrete_srgb.rs:128
↓ 3 callersMethodstage_runtime_snapshot
( &mut self, network: &graph_craft::document::NodeNetwork, metadata: &M, resources: &graphene_resource
document/document-format/src/persist.rs:57
↓ 3 callersMethodstart_connected
Enumerate all segments that start at the point.
node-graph/libraries/vector-types/src/vector/vector_types.rs:392
↓ 3 callersMethodstart_editing_layer
(&mut self, layer: LayerNodeIdentifier, tool_state: TextToolFsmState, document: &DocumentMessageHandler, fonts
editor/src/messages/tool/tool_messages/text_tool.rs:531
↓ 3 callersMethodstore_clicked_endpoint
Stores the segment and point ID of the clicked endpoint
editor/src/messages/tool/tool_messages/pen_tool.rs:1441
↓ 3 callersFunctionstring_properties
(text: &str)
editor/src/messages/portfolio/document/node_graph/node_properties.rs:41
↓ 3 callersFunctionstrip_trailing_commas
Strips trailing commas before `]` and `}` to accept JSON-with-trailing-commas input. Respects string literals so commas inside strings are left untouc
node-graph/nodes/text/src/json.rs:52
↓ 3 callersFunctionstroke
( _: impl Ctx, /// The content with vector paths to apply the stroke style to. #[implementations( List<Ve
node-graph/nodes/vector/src/vector_nodes.rs:254
↓ 3 callersMethodstroke_manipulator_groups
Construct and return an iterator of Vec of `(ManipulatorGroup<PointId>], bool)` for stroke. The boolean in the tuple indicates if the path is closed.
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:1156
↓ 3 callersFunctionsubstitute_lifetimes
(mut ty: Type, lifetime: &'static str)
node-graph/node-macro/src/codegen.rs:779
↓ 3 callersMethodsurface_size
(&self)
desktop/src/window.rs:101
↓ 3 callersMethodtagged_value_from_input
Gets the default tagged value for an input. If its not compiled, then it tries to get a valid type. If there are no valid types, then it picks a rando
editor/src/messages/portfolio/document/utility_types/network_interface/resolved_types.rs:187
↓ 3 callersFunctiontext_item_size_and_transform
Lays out text item `index` of a styled `List<String>` and returns its local size and transform. The `BoundingBox` trait can't do this since a bare `St
node-graph/libraries/rendering/src/renderer.rs:2306
↓ 3 callersMethodto_char_representation
(&self)
desktop/src/cef/input/keymap.rs:8
↓ 3 callersMethodto_css_linear_gradient
CSS `linear-gradient(...)` string. Stops are emitted as `#rrggbbaa` hex (already gamma-encoded bytes).
node-graph/libraries/vector-types/src/gradient.rs:64
↓ 3 callersMethodto_dvec
(self, state: &TransformationState, document: &DocumentMessageHandler)
editor/src/messages/portfolio/document/utility_types/transformation.rs:160
↓ 3 callersMethodto_global_id
(&self, peer: PeerId)
document/graph-storage/src/from_runtime.rs:42
↓ 3 callersMethodto_hsla
https://www.niwa.nu/2013/05/math-behind-colorspace-conversions-rgb-hsl/ Convert this color to HSL coordinates (all between 0 and 1). HSL is defined on
node-graph/libraries/no-std-types/src/color/color_types.rs:881
↓ 3 callersMethodto_lines
(&self)
node-graph/libraries/vector-types/src/math/mod.rs:18
↓ 3 callersMethodto_physical
(self)
editor/src/messages/viewport/viewport_message_handler.rs:213
↓ 3 callersMethodto_pivot_position
(&self)
editor/src/messages/tool/common_functionality/pivot.rs:284
↓ 3 callersMethodto_view_map
Serialize the per-peer view settings into the `ui::doc::*`-keyed map persisted in `session.json` (via `Gdd::set_view_settings`). A field that fails to
editor/src/messages/portfolio/document/utility_types/network_interface/storage_metadata.rs:126
↓ 3 callersMethodtoggle_dockable_panel
Toggle a dockable panel on or off. When toggling off, refresh the newly active tab in its panel group (if any).
editor/src/messages/portfolio/portfolio_message_handler.rs:2011
↓ 3 callersMethodtooltip_description
(&self)
editor/src/messages/tool/utility_types.rs:211
↓ 3 callersMethodtooltip_label
(&self)
editor/src/messages/tool/tool_messages/gradient_tool.rs:73
↓ 3 callersMethodtop_left_corner
(&self)
node-graph/libraries/vector-types/src/vector/algorithms/poisson_disk.rs:197
↓ 3 callersMethodtransform
(&mut self, transform: DAffine2)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:189
↓ 3 callersMethodtransform_mut
(&mut self)
node-graph/libraries/core-types/src/transform.rs:128
↓ 3 callersMethodtranslate_mouse_event
(&mut self, mut new_state: MouseState, allow_first_button_down: bool, responses: &mut VecDeque<Message>)
editor/src/messages/input_preprocessor/input_preprocessor_message_handler.rs:119
↓ 3 callersMethodtry_pointer_position
(&self)
node-graph/libraries/core-types/src/context.rs:257
← previousnext →1,301–1,400 of 5,973, ranked by callers