do not export path.commands
This commit is contained in:
parent
c124b64eea
commit
046556fdef
2 changed files with 2 additions and 2 deletions
|
@ -1445,7 +1445,7 @@ proc parseCompositeGlyph(opentype: OpenType, offset: int): Path =
|
||||||
component.dx, component.dy, 1.0
|
component.dx, component.dy, 1.0
|
||||||
))
|
))
|
||||||
|
|
||||||
result.commands.add(subPath.commands)
|
result.addPath(subPath)
|
||||||
|
|
||||||
moreComponents = (flags and 0b100000) != 0
|
moreComponents = (flags and 0b100000) != 0
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ type
|
||||||
|
|
||||||
Path* = object
|
Path* = object
|
||||||
## Used to hold paths and create paths.
|
## Used to hold paths and create paths.
|
||||||
commands*: seq[PathCommand]
|
commands: seq[PathCommand]
|
||||||
start, at: Vec2 # Maintained by moveTo, lineTo, etc. Used by arcTo.
|
start, at: Vec2 # Maintained by moveTo, lineTo, etc. Used by arcTo.
|
||||||
|
|
||||||
SomePath* = Path | string
|
SomePath* = Path | string
|
||||||
|
|
Loading…
Reference in a new issue