mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 14:31:12 +08:00
1 parent
5dcd7a4e8d
commit
6c14eef1ee
39 files changed
+1926
-420
No files matched your search
@@ -42,6 +42,9 @@ func (p GeometryPath) Transform(matrix Matrix) (GeometryPath, error) {
|
||||
return Point{x, y}
|
||||
}
|
||||
var result GeometryPath
|
||||
if len(p) > 0 {
|
||||
result = make(GeometryPath, 0, len(p))
|
||||
}
|
||||
var current, start Point
|
||||
for _, s := range p {
|
||||
originalSegment := s
|
||||
|
||||
Reference in new issue
Block a user