mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
1 parent
64f9ec4241
commit
0be872691d
76 files changed
+1926
-1307
No files matched your search
@@ -242,7 +242,7 @@ func geometryFromRaster(path []RasterSegment) GeometryPath {
|
||||
if s.Verb == RasterClose {
|
||||
verb = GeometryClose
|
||||
}
|
||||
result = append(result, GeometrySegment{Verb: verb, End: Point{s.End.X, s.End.Y}, Control1: Point{s.Control1.X, s.Control1.Y}, Control2: Point{s.Control2.X, s.Control2.Y}})
|
||||
result = append(result, GeometrySegment{Verb: verb, End: Point{X: s.End.X, Y: s.End.Y}, Control1: Point{X: s.Control1.X, Y: s.Control1.Y}, Control2: Point{X: s.Control2.X, Y: s.Control2.Y}})
|
||||
}
|
||||
return result
|
||||
}
|
||||
Reference in new issue
Block a user