MCPcopy Create free account

hub / github.com/GraphiteEditor/Graphite / functions

Functions5,973 in github.com/GraphiteEditor/Graphite

↓ 9 callersMethodoffset
(&self)
editor/src/messages/viewport/viewport_message_handler.rs:79
↓ 9 callersMethodpivot_gizmo
(&self)
editor/src/messages/tool/tool_messages/select_tool.rs:689
↓ 9 callersFunctionq
(p: Point)
node-graph/nodes/path-bool/src/lib.rs:334
↓ 9 callersMethodquad
(&mut self, quad: Quad, stroke_color: Option<&str>, color_fill: Option<&str>)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:170
↓ 9 callersMethodscale_magnitudes
Returns the unsigned scale as the lengths of each axis (always positive, includes skew contribution). Use this for magnitude-based queries like stroke
node-graph/libraries/core-types/src/transform.rs:79
↓ 9 callersMethodselect_primary_color
(&mut self, color: Color)
editor/src/test_utils.rs:243
↓ 9 callersMethodselected_nodes_mut
Mutably get the selected nodes for the network at the network_path. Every time they are mutated, the transient metadata for the top of the stack gets
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1586
↓ 9 callersFunctionset_proto_node_input_for_selected_layers
Writes a value to a specific input on the matching proto node of every selected non-artboard layer that has one. Used by tool control bars to push per
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:882
↓ 9 callersMethodset_zoom
Set a new scale factor.
editor/src/messages/portfolio/document/utility_types/misc.rs:706
↓ 9 callersMethodshallowest_unique_layers
Layers excluding ones that are children of other layers in the list. TODO: Cache this
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1325
↓ 9 callersMethodshift_node
Shifts a node by a certain offset without the auto layout system. If the node is a layer in a stack, the y_offset is shifted. If the node is a node in
editor/src/messages/portfolio/document/utility_types/network_interface.rs:5717
↓ 9 callersFunctionsorted
Collect a `HashSet` walk (difference/intersection) into ascending order. The sets iterate in random order, so sorting keeps `compute_deltas` emitting
document/graph-storage/src/delta.rs:7
↓ 9 callersMethodstop
(&mut self, messages: &[Message], responses: &mut VecDeque<Message>)
editor/src/messages/tool/common_functionality/auto_panning.rs:24
↓ 9 callersMethodtick
Mints a fresh local timestamp.
document/graph-storage/src/ids.rs:96
↓ 9 callersMethodto_axis_aligned_bbox
(&self)
node-graph/libraries/core-types/src/math/bbox.rs:98
↓ 9 callersMethodunion
(&self, other: &AxisAlignedBbox)
node-graph/libraries/core-types/src/math/bbox.rs:30
↓ 9 callersMethodunload
Set the current transient metadata to unloaded
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6566
↓ 9 callersMethodviewport_drag_start
Calculate the drag start position in viewport space.
editor/src/messages/tool/common_functionality/resize.rs:26
↓ 8 callersMethodalign
(&self)
editor/src/messages/tool/common_functionality/snapping/snap_results.rs:41
↓ 8 callersMethodall_parents
Every parent: the primary `parent` (absent for the root) plus a merge's `extra_parents`.
document/graph-storage/src/crdt.rs:62
↓ 8 callersMethodappend_subpath
Add a subpath to this vector path.
node-graph/libraries/vector-types/src/vector/vector_types.rs:76
↓ 8 callersMethodapply_arc_update
Applies the updated start and sweep angles to the arc.
editor/src/messages/tool/common_functionality/gizmos/shape_gizmos/sweep_angle_gizmo.rs:331
↓ 8 callersFunctionassert_scale
(a: &T, b: &T)
editor/src/messages/viewport/viewport_message_handler.rs:532
↓ 8 callersFunctionaverage
(data: &[u16], indexes: impl Iterator<Item = i64>)
libraries/rawkit/src/demosaicing/linear_demosaicing.rs:3
↓ 8 callersMethodcommit_op_for_test
(&mut self, op: RegistryDelta)
document/graph-storage/src/session.rs:506
↓ 8 callersMethodcontains_point
(&self, point: DVec2)
node-graph/libraries/vector-types/src/subpath/solvers.rs:8
↓ 8 callersMethodcurve_to
(&mut self, cx1: f32, cy1: f32, cx2: f32, cy2: f32, x: f32, y: f32)
node-graph/libraries/rendering/src/renderer.rs:2262
↓ 8 callersMethoddata
(&self)
node-graph/libraries/raster-types/src/raster_types.rs:95
↓ 8 callersMethoddelete
(&mut self, id: &ResourceId)
node-graph/libraries/resources/src/lib.rs:338
↓ 8 callersMethoddirectory
(&self)
document/container/src/backends/opfs.rs:66
↓ 8 callersFunctiondraw_dashed_line
Draws a dashed line between two points transformed by the given affine transformation.
editor/src/messages/tool/common_functionality/measure.rs:7
↓ 8 callersMethoddraw_ellipse
(&mut self, x1: f64, y1: f64, x2: f64, y2: f64)
editor/src/test_utils.rs:96
↓ 8 callersMethodemit_color
Compute the FillChoice and forward it via `FrontendMessage::ColorPickerColorChanged`. In gradient mode, the active stop's color is updated in place.
editor/src/messages/color_picker/color_picker_message_handler.rs:264
↓ 8 callersMethodexists
(&self, path: &str)
document/container/src/lib.rs:319
↓ 8 callersFunctionextract_polygon_parameters
Extract the node input values of Polygon. Returns an option of (sides, radius).
editor/src/messages/tool/common_functionality/shapes/shape_utility.rs:323
↓ 8 callersMethodfields
(&self)
editor/src/utility_types.rs:18
↓ 8 callersFunctionget
(/** @type {number} **/ index)
website/static/js/navbar.js:305
↓ 8 callersFunctionget_bbox_points
(quad: Quad, points: &mut Vec<SnapCandidatePoint>, values: BBoxSnapValues, document: &DocumentMessageHandler)
editor/src/messages/tool/common_functionality/snapping/layer_snapper.rs:530
↓ 8 callersMethodhas_renderable_stroke
(&self)
node-graph/libraries/vector-types/src/vector/style.rs:388
↓ 8 callersMethodheight
(&self)
editor/src/messages/viewport/viewport_message_handler.rs:289
↓ 8 callersMethodhot_log
(&self)
document/graph-storage/src/session.rs:476
↓ 8 callersMethodimport_export_ports
(&mut self, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1842
↓ 8 callersMethodinfo
(&self, id: &ResourceId)
node-graph/libraries/resources/src/lib.rs:322
↓ 8 callersMethodinsert_node_between
Insert a node onto a wire. Ensure insert_node_input_index is an exposed input
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6036
↓ 8 callersMethodinto_flattened_list
Deeply flattens any content of type `T` within a `List<Graphic>`, discarding all other content, and returning a flat `List<T>`.
node-graph/libraries/graphic-types/src/graphic.rs:294
↓ 8 callersMethodis_eligible_to_be_layer
(&self, node_id: &NodeId, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:2991
↓ 8 callersMethodnew_layer_parent
Finds the parent folder which, based on the current selections, should be the container of any newly added layers.
editor/src/messages/portfolio/document/document_message_handler.rs:2526
↓ 8 callersMethodoutput
(&self)
node-graph/interpreted-executor/src/dynamic_executor.rs:123
↓ 8 callersMethodpanel_group_mut
Find the panel group state for a given ID (mutable).
editor/src/messages/portfolio/utility_types.rs:149
↓ 8 callersMethodpush_default
Pushes a default `T` value onto the end of this attribute list.
node-graph/libraries/core-types/src/list.rs:288
↓ 8 callersMethodread_u16
(&mut self)
libraries/rawkit/src/tiff/file.rs:81
↓ 8 callersMethodsegment_start_from_id
(&self, segment: SegmentId)
node-graph/libraries/vector-types/src/vector/vector_types.rs:354
↓ 8 callersMethodselected_nodes
(&self)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:163
↓ 8 callersMethodset_stroke_transform
(&mut self, transform: DAffine2)
node-graph/libraries/vector-types/src/vector/vector_types.rs:539
↓ 8 callersMethodsource
The source body and timestamp stored under `key`, if any.
document/graph-storage/src/resources.rs:81
↓ 8 callersMethodtransaction_status
(&self)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:159
↓ 8 callersMethodtransform
(&self)
node-graph/libraries/core-types/src/transform.rs:116
↓ 8 callersMethodundo
(&mut self, viewport: &ViewportMessageHandler, responses: &mut VecDeque<Message>)
editor/src/messages/portfolio/document/document_message_handler.rs:2417
↓ 8 callersMethodunload_stack_dependents
(&mut self, network_path: &[NodeId])
editor/src/messages/portfolio/document/utility_types/network_interface.rs:1818
↓ 8 callersMethodupdate_node_graph_hints
(&self, responses: &mut VecDeque<Message>)
editor/src/messages/portfolio/document/node_graph/node_graph_message_handler.rs:2854
↓ 8 callersMethodupdate_states_of_modifier_keys
(&mut self, pressed_modifier_keys: ModifierKeys, responses: &mut VecDeque<Message>)
editor/src/messages/input_preprocessor/input_preprocessor_message_handler.rs:150
↓ 8 callersMethodupdate_target_handle_pos
(&mut self, handle_type: TargetHandle, anchor_pos: DVec2, responses: &mut VecDeque<Message>, delta: DVec2, lay
editor/src/messages/tool/tool_messages/pen_tool.rs:565
↓ 8 callersMethodupper_closest_segment
find closest to the position segment on selected layers. If there is more than one layers with close enough segment it return upper from them
editor/src/messages/tool/common_functionality/shape_editor.rs:1874
↓ 8 callersFunctionwindow_aligned_transform_set
[`TransformSet`](GraphOperationMessage::TransformSet) applying [`window_aligned_transform`] to a freshly drawn layer, via [`TransformIn::Viewport`] so
editor/src/messages/tool/common_functionality/resize.rs:200
↓ 8 callersMethodwrite_non_blocking
(&self, path: &str, bytes: &[u8])
document/container/src/lib.rs:327
↓ 8 callersFunctionwrite_single
Encode `value` with `codec` and write to `{basename}.{ext}`. Synchronous: the write goes through the container's sync write surface (durable on folder
document/document-format/src/io.rs:45
↓ 8 callersMethodwrite_single
Serialize a single value into a fresh buffer.
document/document-format/src/codec.rs:106
↓ 7 callersFunctionapp_data_dir
()
desktop/src/dirs.rs:32
↓ 7 callersMethodapply_opacity
(&self, opacity: f32)
node-graph/libraries/no-std-types/src/color/color_types.rs:972
↓ 7 callersMethodapply_transform_operation
(&self, selected: &mut Selected, state: &TransformationState, document: &DocumentMessageHandler)
editor/src/messages/portfolio/document/utility_types/transformation.rs:334
↓ 7 callersMethodas_any
Returns a shared reference to the underlying concrete type for downcasting.
node-graph/libraries/core-types/src/list.rs:139
↓ 7 callersFunctionassert_parsed_node_fn
(parsed: &ParsedNodeFn, expected: &ParsedNodeFn)
node-graph/node-macro/src/parsing.rs:979
↓ 7 callersFunctionbool_widget
(parameter_widgets_info: ParameterWidgetsInfo, checkbox_input: CheckboxInput)
editor/src/messages/portfolio/document/node_graph/node_properties.rs:377
↓ 7 callersMethodbounding_box
(&self)
node-graph/libraries/vector-types/src/vector/click_target.rs:183
↓ 7 callersMethodbounding_box
Calculate the bounding box of text using the specified font and typesetting configuration
node-graph/nodes/text/src/text_context.rs:165
↓ 7 callersFunctioncalculate_circle_point_position
(theta: f64, radius: f64)
editor/src/messages/tool/common_functionality/gizmos/shape_gizmos/circle_arc_radius_handle.rs:175
↓ 7 callersFunctioncalculate_segment_angle
(anchor: PointId, segment: SegmentId, vector: &Vector, prefer_handle_direction: bool)
editor/src/messages/tool/common_functionality/utility_functions.rs:80
↓ 7 callersFunctionclamp
* @param {number} value * @param {number} min * @param {number} max
website/static/js/component/carousel.js:521
↓ 7 callersMethodcleanup_target_selections
Remove the handles selected when swapping handles
editor/src/messages/tool/tool_messages/pen_tool.rs:600
↓ 7 callersMethodclick_targets
(&self)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:6366
↓ 7 callersMethodclone_item_attributes
Clones all attribute values at the given item index into a new [`ItemAttributeValues`], without cloning the element.
node-graph/libraries/core-types/src/list.rs:1140
↓ 7 callersFunctioncolor_track
3-stop black-to-color-to-white gradient track for spectrum sliders that map a value to a hue's full luminance range.
editor/src/messages/portfolio/document/node_graph/node_properties.rs:1270
↓ 7 callersMethodconnected_to_output
Check if the specified node id is connected to the output
editor/src/messages/portfolio/document/utility_types/network_interface.rs:275
↓ 7 callersMethodcontains
(&self, p: DVec2)
node-graph/libraries/core-types/src/math/rect.rs:75
↓ 7 callersFunctiondatabaseDelete
(key: string)
frontend/src/utility-functions/persistence.ts:247
↓ 7 callersMethoddirection
(&self, viewport: DAffine2)
editor/src/messages/tool/common_functionality/gizmos/shape_gizmos/grid_rows_columns_gizmo.rs:382
↓ 7 callersMethoddisplayed_type
The reduced set of frontend types for displaying color.
editor/src/messages/portfolio/document/utility_types/network_interface/resolved_types.rs:54
↓ 7 callersMethoddocument
(&self, document_id: DocumentId)
editor/src/messages/portfolio/portfolio_message_handler.rs:1712
↓ 7 callersMethodeffective_line_weight
The line weight to apply, falling back to the persistent default when [`Self::line_weight`] is `None` (mixed).
editor/src/messages/tool/common_functionality/color_selector.rs:162
↓ 7 callersFunctionempty_byte_store
A resource byte store for export calls. Empty unless a test pre-populates it; only consulted when `embed_all_resources` is set.
document/document-format/tests/open_create.rs:16
↓ 7 callersFunctionextract_arc_parameters
Extract the node input values of an arc. Returns an option of (radius, start angle, sweep angle, arc type).
editor/src/messages/tool/common_functionality/shapes/shape_utility.rs:336
↓ 7 callersMethodfind_panel
Find which panel group contains a given panel type, returning its ID.
editor/src/messages/portfolio/utility_types.rs:154
↓ 7 callersMethodfirst_child
Access the first child of this layer (top most in Layers panel)
editor/src/messages/portfolio/document/utility_types/document_metadata.rs:335
↓ 7 callersMethodfootprint
(&self)
node-graph/libraries/core-types/src/context.rs:239
↓ 7 callersFunctionget_current_transform
Get the current affine transform from the transform node's inputs
editor/src/messages/portfolio/document/graph_operation/transform_utils.rs:53
↓ 7 callersFunctionget_line_endpoints_document
Get the line's document-space start and end points by reading line_to from the node and computing the actual positions via the layer's transform.
editor/src/messages/tool/common_functionality/shapes/line_shape.rs:200
↓ 7 callersMethodget_or
Same as `get_typed`, falling back to `default`.
document/graph-storage/src/attributes.rs:57
↓ 7 callersMethodget_pixel_mut
(&mut self, x: u32, y: u32)
node-graph/libraries/raster-types/src/lib.rs:79
↓ 7 callersFunctionget_text_id
(layer: LayerNodeIdentifier, network_interface: &NodeNetworkInterface)
editor/src/messages/tool/common_functionality/graph_modification_utils.rs:460
↓ 7 callersMethodgpu_executor
(&self)
node-graph/graph-craft/src/application_io.rs:59
← previousnext →501–600 of 5,973, ranked by callers