MCPcopy Create free account

hub / github.com/GraphiteEditor/Graphite / functions

Functions5,973 in github.com/GraphiteEditor/Graphite

↓ 2 callersMethodcef_modifiers
(&self, location: &KeyLocation, is_repeat: bool)
desktop/src/cef/input/state.rs:48
↓ 2 callersMethodcef_mouse_modifiers
(&self)
desktop/src/cef/input/state.rs:52
↓ 2 callersFunctioncef_path
()
desktop/bundle/src/common.rs:27
↓ 2 callersMethodcenter
Gets the center of a quad
node-graph/libraries/core-types/src/math/quad.rs:70
↓ 2 callersMethodcheck_end_handle_type
Check whether target handle is primary, end, or `self.handle_end`
editor/src/messages/tool/tool_messages/pen_tool.rs:512
↓ 2 callersMethodcheck_snapping
(&self, new_sweep_angle: f64)
editor/src/messages/tool/common_functionality/gizmos/shape_gizmos/sweep_angle_gizmo.rs:347
↓ 2 callersFunctionchecked_entry_size
(total: &mut u64, size: u64)
document/container/src/archive.rs:22
↓ 2 callersMethodchroma_range
(&self)
node-graph/libraries/no-std-types/src/color/color_types.rs:616
↓ 2 callersMethodcircle
(&mut self, position: DVec2, radius: f64, color_fill: Option<&str>, color_stroke: Option<&str>)
editor/src/messages/portfolio/document/overlays/utility_types_native.rs:311
↓ 2 callersMethodcircle
(&mut self, position: DVec2, radius: f64, color_fill: Option<&str>, color_stroke: Option<&str>)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:453
↓ 2 callersFunctionclean_dir
(dir: &Path)
desktop/bundle/src/common.rs:54
↓ 2 callersMethodcleanup
(&mut self)
editor/src/messages/tool/tool_messages/spline_tool.rs:273
↓ 2 callersMethodclear_points
(&mut self)
editor/src/messages/tool/common_functionality/shape_editor.rs:115
↓ 2 callersMethodclick_list_no_parents
(&'a self, ipp: &InputPreprocessorMessageHandler, viewport: &ViewportMessageHandler)
editor/src/messages/portfolio/document/document_message_handler.rs:1963
↓ 2 callersFunctionclip_simple_bezpaths
TODO: If a segment curls back on itself tightly enough it could intersect again at the portion that should be trimmed. This could cause the Subpaths t
node-graph/libraries/vector-types/src/vector/algorithms/bezpath_algorithms.rs:435
↓ 2 callersMethodclone_value
Clones the value at the given index into a boxed scalar attribute value.
node-graph/libraries/core-types/src/list.rs:344
↓ 2 callersMethodclosest_point_to_viewport
(&self)
editor/src/messages/tool/common_functionality/shape_editor.rs:219
↓ 2 callersMethodclosest_style
Finds the closest style to the given weight and italic setting. Aims to find the nearest weight while maintaining the italic setting if possible, but
editor/src/messages/portfolio/fonts/utility_types.rs:116
↓ 2 callersMethodcollect_anchors
(&mut self, snap_data: &mut SnapData, first_point: bool)
editor/src/messages/tool/common_functionality/snapping/layer_snapper.rs:193
↓ 2 callersMethodcollect_bounding_box_points
(&mut self, snap_data: &mut SnapData, first_point: bool, bbox_to_snap: Rect)
editor/src/messages/tool/common_functionality/snapping/distribution_snapper.rs:67
↓ 2 callersMethodcollect_garbage
(&mut self, used: &[ResourceId])
editor/src/messages/portfolio/document/resource/resource_message_handler.rs:229
↓ 2 callersFunctioncollect_input_resource
(input: &GraphCraftNodeInput, referenced: &mut std::collections::HashSet<ResourceId>)
document/graph-storage/src/from_runtime.rs:236
↓ 2 callersFunctioncollect_network_resources
(network: &NodeNetwork, out: &mut HashSet<ResourceId>)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:7028
↓ 2 callersFunctioncollect_network_view_settings
Collect the per-network, per-peer view state (node-graph nav + previewing) from `interface` into a `session.json` map keyed by the stable storage [`Ne
editor/src/messages/portfolio/document/utility_types/network_interface/storage_metadata.rs:194
↓ 2 callersMethodcollect_paths
(&mut self, snap_data: &mut SnapData, first_point: bool)
editor/src/messages/tool/common_functionality/snapping/layer_snapper.rs:57
↓ 2 callersFunctioncollect_timestamps
(registry: &Registry)
document/graph-storage/src/registry.rs:122
↓ 2 callersMethodcollect_used_resources
Add the resources referenced by every snapshot in both history stacks into `resources`, so history-only resources stay alive for legacy undo/redo.
editor/src/messages/portfolio/document/document_history.rs:64
↓ 2 callersFunctioncolor_graphic
(alpha: f64)
node-graph/libraries/graphic-types/src/graphic.rs:686
↓ 2 callersMethodcompass_rose
(&self)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:106
↓ 2 callersMethodcompass_rose_state
(&self, mouse: DVec2, angle: f64)
editor/src/messages/tool/common_functionality/compass_rose.rs:49
↓ 2 callersMethodcompile
(&self, mut network: NodeNetwork)
node-graph/graph-craft/src/graphene_compiler.rs:8
↓ 2 callersFunctioncompute_checkbox_id
Computes a deterministic CheckboxId based on the same WidgetId algorithm.
editor/src/messages/layout/utility_types/layout_widget.rs:162
↓ 2 callersFunctioncompute_selected_target
(tool_data: &GradientToolData)
editor/src/messages/tool/tool_messages/gradient_tool.rs:1815
↓ 2 callersMethodcompute_snapped_resize_points
Calculates two points in viewport space from a drag, applying snapping, optional center mode, and aspect ratio locking.
editor/src/messages/tool/common_functionality/resize.rs:102
↓ 2 callersMethodconnected
(&self)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:1357
↓ 2 callersMethodconnected_linear_segments
Returns the number of linear segments connected to the given point.
node-graph/libraries/vector-types/src/vector/vector_types.rs:380
↓ 2 callersMethodconstrain_axis
(&mut self, axis: Axis, selected: &mut Selected, state: &TransformationState, document: &DocumentMessageHandle
editor/src/messages/portfolio/document/utility_types/transformation.rs:363
↓ 2 callersMethodconstruct_faces
(&self)
node-graph/libraries/vector-types/src/vector/vector_attributes.rs:1250
↓ 2 callersMethodcontains
(&self, hash: &ResourceHash)
node-graph/graph-craft/src/application_io/resource/mmap.rs:112
↓ 2 callersMethodcontains
(&self, hash: &ResourceHash)
document/document-format/src/resource.rs:125
↓ 2 callersFunctioncontentHash
(filePath: string)
frontend/vite.config.ts:159
↓ 2 callersMethodcontext
(&mut self)
node-graph/libraries/canvas-utils/src/wasm.rs:46
↓ 2 callersMethodcontrainted_to_axis
(self, target: Axis, local: bool)
editor/src/messages/portfolio/document/utility_types/transformation.rs:143
↓ 2 callersFunctioncontrasting_outline_factor
Returns a 0..1 outline strength for the comparison swatch, growing toward 1 as the color's luminance and saturation both approach the popover backgrou
editor/src/messages/color_picker/color_picker_message_handler.rs:668
↓ 2 callersMethodcontrol_points
(&self)
node-graph/libraries/vector-types/src/vector/misc.rs:309
↓ 2 callersFunctionconvert_input
(input: &GraphCraftNodeInput, parent_path: Option<&NodePath>, network_id: NetworkId, peer: PeerId)
document/graph-storage/src/from_runtime.rs:489
↓ 2 callersFunctionconvert_input
(registry: &Registry, network_id: NetworkId, input: &NodeInput, input_attributes: &crate::Attributes)
document/graph-storage/src/to_runtime.rs:319
↓ 2 callersFunctionconvert_menu_bar_entry_children_to_menu_items
(children: &[Vec<MenuListEntry>], root_widget_id: u64, path: Vec<String>)
desktop/wrapper/src/utils.rs:116
↓ 2 callersFunctionconvert_network
( node_network: &NodeNetwork, network_id: NetworkId, parent_path: Option<&NodePath>, metadata_path: &[Runt
document/graph-storage/src/from_runtime.rs:264
↓ 2 callersFunctionconvert_network
( context: &ConversionContext, network_id: NetworkId, metadata_path: &[RuntimeNodeId], node_collector: &mu
document/graph-storage/src/to_runtime.rs:161
↓ 2 callersFunctionconvert_spread_method
(spread_method: usvg::SpreadMethod)
editor/src/messages/portfolio/document/graph_operation/graph_operation_message_handler.rs:802
↓ 2 callersMethodcopy_all_navigation_metadata
(&mut self, other_interface: &NodeNetworkInterface)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:3483
↓ 2 callersFunctioncopy_dir
(src: &Path, dst: &Path)
desktop/bundle/src/common.rs:61
↓ 2 callersMethodcount_ones
(&self)
editor/src/messages/input_mapper/utility_types/input_keyboard.rs:506
↓ 2 callersMethodcreate
(self, event_handler: H, wgpu_context: WgpuContext, disable_gpu_acceleration: bool)
desktop/src/cef/context/builder.rs:71
↓ 2 callersFunctioncreateSRgba8
(red: number, green: number, blue: number, alpha: number)
frontend/src/utility-functions/colors.ts:9
↓ 2 callersFunctioncreate_app
(app_dir: &Path, id: &str, name: &str, bin: &Path, is_helper: bool)
desktop/bundle/src/mac.rs:65
↓ 2 callersFunctioncreate_bounding_box_transform
Bounding boxes are unfortunately not axis aligned. The bounding boxes are found after a transformation is applied to all of the layers. This uses some
editor/src/messages/tool/tool_messages/select_tool.rs:715
↓ 2 callersFunctioncreate_browser
(event_handler: H, wgpu_context: WgpuContext, instance_dir: TempDir, accelerated_paint: bool)
desktop/src/cef/context/builder.rs:153
↓ 2 callersFunctioncreate_brush_texture
(brush_style: &BrushStyle)
node-graph/nodes/brush/src/brush.rs:137
↓ 2 callersFunctioncreate_fill_gradient_chain_layer
(editor: &mut EditorTestUtils)
editor/src/messages/tool/tool_messages/gradient_tool.rs:2168
↓ 2 callersFunctioncreate_gradient_list_layer
(editor: &mut EditorTestUtils)
editor/src/messages/tool/tool_messages/gradient_tool.rs:2132
↓ 2 callersMethodcreate_node
Create a new node inside the layer
editor/src/messages/portfolio/document/graph_operation/utility_types.rs:429
↓ 2 callersMethodcreate_node_template
Create a node template from an existing node.
editor/src/messages/portfolio/document/utility_types/network_interface.rs:449
↓ 2 callersFunctioncreate_or_modify_point
Updates the index so that it points at a point with the position. If nobody else will look at the index, the original point is updated. Otherwise a ne
node-graph/nodes/vector/src/vector_nodes.rs:2847
↓ 2 callersFunctioncreate_peniko_gradient_brush
(gradient_list: &List<GradientStops>, multiplied_transform: &DAffine2)
node-graph/libraries/rendering/src/renderer.rs:399
↓ 2 callersMethodcreate_raster_image
(&mut self, image: graphene_std::raster::Image<Color>, mouse: Option<(f64, f64)>)
editor/src/test_utils.rs:251
↓ 2 callersMethodcreate_surface
(&self, instance: &wgpu::Instance)
desktop/src/window.rs:89
↓ 2 callersFunctioncubic_cubic_intersections_lyon
Fast cubic-cubic intersection using lyon_geom's analytical approach
node-graph/libraries/vector-types/src/vector/algorithms/intersection.rs:16
↓ 2 callersFunctioncurrentClosestImageIndex
* @param {Carousel} carousel
website/static/js/component/carousel.js:403
↓ 2 callersMethodcurrent_hash
(&self)
editor/src/messages/portfolio/document/utility_types/network_interface/memo_network.rs:48
↓ 2 callersMethodcursor_move
(&mut self, position: &PhysicalPosition<f64>)
desktop/src/cef/input/state.rs:34
↓ 2 callersMethoddeactivate
(&self, responses: &mut VecDeque<Message>)
editor/src/messages/tool/utility_types.rs:187
↓ 2 callersMethoddeclarations
Rebuild the [`Declarations`](crate::Declarations) map (`ResourceId` → [`ProtoNode`]) from the extracted bytes, for callers that keep the bytes in hand
document/graph-storage/src/from_runtime.rs:108
↓ 2 callersFunctiondecode_declaration
Decode a [`ProtoNode`] declaration from the bytes [`encode_declaration`] produced.
document/graph-storage/src/from_runtime.rs:128
↓ 2 callersMethoddecrease_or_increase_sides
(&self, document: &DocumentMessageHandler, shape_type: ShapeType, responses: &mut VecDeque<Message>, decrease:
editor/src/messages/tool/tool_messages/shape_tool.rs:828
↓ 2 callersMethoddelete_empty_layer
(&mut self, fonts: &FontsMessageHandler, responses: &mut VecDeque<Message>)
editor/src/messages/tool/tool_messages/text_tool.rs:474
↓ 2 callersMethoddelete_point_and_break_path
Delete point(s) and adjacent segments. Note: this also adds a history transaction if there is some change in state, and true is returned if so.
editor/src/messages/tool/common_functionality/shape_editor.rs:1666
↓ 2 callersFunctiondelete_preview
(tool_data: &mut SplineToolData, responses: &mut VecDeque<Message>)
editor/src/messages/tool/tool_messages/spline_tool.rs:614
↓ 2 callersMethoddelete_selected_segments
(&mut self, document: &DocumentMessageHandler, responses: &mut VecDeque<Message>, start_transaction: bool)
editor/src/messages/tool/common_functionality/shape_editor.rs:1567
↓ 2 callersMethodderivative
Computes the polynomial's derivative.
node-graph/libraries/core-types/src/math/polynomial.rs:81
↓ 2 callersFunctionderive_buffer_struct_struct
see [`BufferStruct`] docs This is also largely copied from my (@firestar99) project and adjusted [`BufferStruct`]: `no_std_types::shaders::buffer_st
node-graph/node-macro/src/buffer_struct.rs:66
↓ 2 callersMethoddeselect_segment
(&mut self, segment: SegmentId)
editor/src/messages/tool/common_functionality/shape_editor.rs:103
↓ 2 callersMethoddestroy
(&self)
desktop/src/window/win/native_handle.rs:144
↓ 2 callersMethoddiff_and_send_layout_to_frontend
Diff the update and send to the frontend where necessary
editor/src/messages/layout/layout_message_handler.rs:462
↓ 2 callersFunctiondismiss_color_stop_color_picker
(tool_data: &mut GradientToolData, responses: &mut VecDeque<Message>)
editor/src/messages/tool/tool_messages/gradient_tool.rs:1747
↓ 2 callersFunctiondispatch_gradient_chain_writes
Send the four per-attribute graph operations that mirror the in-memory `Gradient` onto the chain feeding the layer.
editor/src/messages/tool/tool_messages/gradient_tool.rs:823
↓ 2 callersMethoddispatch_gradient_measurement
( &mut self, document: &mut DocumentMessageHandler, document_id: DocumentId, network_path: Vec<NodeId>
editor/src/node_graph_executor.rs:516
↓ 2 callersMethoddissolve_segment
(&self, responses: &mut VecDeque<Message>, layer: LayerNodeIdentifier, vector: &Vector, segment: SegmentId, po
editor/src/messages/tool/common_functionality/shape_editor.rs:1404
↓ 2 callersFunctiondoBinaryStep
()
website/static/js/page/contributor-guide/bisect-tool.js:422
↓ 2 callersFunctiondocument_migration_string_preprocessing
(document_serialized_content: String)
editor/src/messages/portfolio/document_migration.rs:974
↓ 2 callersMethoddocument_network_mut
(&mut self)
editor/src/messages/portfolio/document/utility_types/network_interface.rs:106
↓ 2 callersFunctiondocument_split_share
The share of the slot that should go to the old side when splitting it with a new side.
editor/src/messages/portfolio/utility_types.rs:438
↓ 2 callersMethoddocument_transform_from_mouse
Translates a viewport mouse position to a document-space transform, or uses the viewport center if no mouse position is given.
editor/src/messages/portfolio/document/document_message_handler.rs:1828
↓ 2 callersMethoddowel_pin
(&mut self, position: DVec2, angle: f64, color: Option<&str>)
editor/src/messages/portfolio/document/overlays/utility_types_web.rs:820
↓ 2 callersFunctiondowncast
(i: Box<dyn DynAny<'a> + 'a>)
libraries/dyn-any/src/lib.rs:104
↓ 2 callersFunctiondownloadFile
(filename: string, content: Uint8Array)
frontend/src/utility-functions/files.ts:21
↓ 2 callersFunctiondownloadFileBlob
(filename: string, blob: Blob)
frontend/src/utility-functions/files.ts:13
↓ 2 callersMethoddownload_url
(&self, font: &Font)
editor/src/messages/portfolio/fonts/utility_types.rs:76
↓ 2 callersMethoddrag_tool_cancel_rmb
(&mut self, typ: ToolType)
editor/src/test_utils.rs:145
← previousnext →1,501–1,600 of 5,973, ranked by callers