f
This commit is contained in:
parent
dbe17be7cc
commit
6cb2491825
1 changed files with 1 additions and 6 deletions
|
@ -247,12 +247,7 @@ proc fillPolygon*(
|
|||
path.polygon(pos, size, sides)
|
||||
image.fillPath(path, color)
|
||||
|
||||
proc fillPolygon*(
|
||||
mask: Mask,
|
||||
pos: Vec2,
|
||||
size: float32,
|
||||
sides: int
|
||||
) =
|
||||
proc fillPolygon*(mask: Mask, pos: Vec2, size: float32, sides: int) =
|
||||
var path: Path
|
||||
path.polygon(pos, size, sides)
|
||||
mask.fillPath(path)
|
||||
|
|
Loading…
Reference in a new issue