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)
|
path.polygon(pos, size, sides)
|
||||||
image.fillPath(path, color)
|
image.fillPath(path, color)
|
||||||
|
|
||||||
proc fillPolygon*(
|
proc fillPolygon*(mask: Mask, pos: Vec2, size: float32, sides: int) =
|
||||||
mask: Mask,
|
|
||||||
pos: Vec2,
|
|
||||||
size: float32,
|
|
||||||
sides: int
|
|
||||||
) =
|
|
||||||
var path: Path
|
var path: Path
|
||||||
path.polygon(pos, size, sides)
|
path.polygon(pos, size, sides)
|
||||||
mask.fillPath(path)
|
mask.fillPath(path)
|
||||||
|
|
Loading…
Reference in a new issue