mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 23:08:05 +08:00
Fix spelling in several code comments (#1860)
Signed-off-by: renshuncui <renshun@111.com>
This commit is contained in:
@@ -419,7 +419,7 @@ impl super::VectorData {
|
||||
.filter_map(to_bezier)
|
||||
}
|
||||
|
||||
/// Construct a [`bezier_rs::Bezier`] curve from an iterator of segments with (handles, start point, end point). Returns None if any ids are invalid or if the semgents are not continuous.
|
||||
/// Construct a [`bezier_rs::Bezier`] curve from an iterator of segments with (handles, start point, end point). Returns None if any ids are invalid or if the segments are not continuous.
|
||||
fn subpath_from_segments(&self, segments: impl Iterator<Item = (bezier_rs::BezierHandles, PointId, PointId)>) -> Option<bezier_rs::Subpath<PointId>> {
|
||||
let mut first_point = None;
|
||||
let mut groups = Vec::new();
|
||||
|
||||
@@ -433,7 +433,7 @@ async fn morph(footprint: Footprint, source: impl Node<Footprint, Output = Vecto
|
||||
let mut source_paths = source.stroke_bezier_paths();
|
||||
let mut target_paths = target.stroke_bezier_paths();
|
||||
for (mut source_path, mut target_path) in (&mut source_paths).zip(&mut target_paths) {
|
||||
// Deal with mistmatched transforms
|
||||
// Deal with mismatched transforms
|
||||
source_path.apply_transform(source.transform);
|
||||
target_path.apply_transform(target.transform);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user