4.2.0 updated deps + bindings
This commit is contained in:
parent
328116893a
commit
cb33a4076f
3 changed files with 7 additions and 6 deletions
|
@ -99,7 +99,7 @@ exportSeq seq[float32]:
|
||||||
exportSeq seq[Span]:
|
exportSeq seq[Span]:
|
||||||
procs:
|
procs:
|
||||||
typeset(seq[Span], Vec2, HorizontalAlignment, VerticalAlignment, bool)
|
typeset(seq[Span], Vec2, HorizontalAlignment, VerticalAlignment, bool)
|
||||||
computeBounds(seq[Span])
|
layoutBounds(seq[Span])
|
||||||
|
|
||||||
exportRefObject Image:
|
exportRefObject Image:
|
||||||
fields:
|
fields:
|
||||||
|
@ -232,7 +232,7 @@ exportRefObject Font:
|
||||||
scale(Font)
|
scale(Font)
|
||||||
defaultLineHeight
|
defaultLineHeight
|
||||||
typeset(Font, string, Vec2, HorizontalAlignment, VerticalAlignment, bool)
|
typeset(Font, string, Vec2, HorizontalAlignment, VerticalAlignment, bool)
|
||||||
computeBounds(Font, string)
|
layoutBounds(Font, string)
|
||||||
|
|
||||||
exportRefObject Span:
|
exportRefObject Span:
|
||||||
fields:
|
fields:
|
||||||
|
@ -243,7 +243,8 @@ exportRefObject Span:
|
||||||
|
|
||||||
exportRefObject Arrangement:
|
exportRefObject Arrangement:
|
||||||
procs:
|
procs:
|
||||||
computeBounds(Arrangement)
|
layoutBounds(Arrangement)
|
||||||
|
computeBounds(Arrangement, Mat3)
|
||||||
|
|
||||||
exportRefObject Context:
|
exportRefObject Context:
|
||||||
fields:
|
fields:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
version = "4.1.0"
|
version = "4.2.0"
|
||||||
author = "Andre von Houck and Ryan Oldenburg"
|
author = "Andre von Houck and Ryan Oldenburg"
|
||||||
description = "Full-featured 2d graphics library for Nim."
|
description = "Full-featured 2d graphics library for Nim."
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
@ -6,7 +6,7 @@ license = "MIT"
|
||||||
srcDir = "src"
|
srcDir = "src"
|
||||||
|
|
||||||
requires "nim >= 1.4.8"
|
requires "nim >= 1.4.8"
|
||||||
requires "vmath >= 1.1.0"
|
requires "vmath >= 1.1.4"
|
||||||
requires "chroma >= 0.2.5"
|
requires "chroma >= 0.2.5"
|
||||||
requires "zippy >= 0.9.7"
|
requires "zippy >= 0.9.7"
|
||||||
requires "flatty >= 0.2.4"
|
requires "flatty >= 0.2.4"
|
||||||
|
|
|
@ -598,7 +598,7 @@ proc textUber(
|
||||||
proc computeBounds*(
|
proc computeBounds*(
|
||||||
arrangement: Arrangement,
|
arrangement: Arrangement,
|
||||||
transform = mat3()
|
transform = mat3()
|
||||||
): Rect =
|
): Rect {.raises: [PixieError].} =
|
||||||
let fullPath = newPath()
|
let fullPath = newPath()
|
||||||
for path in arrangement.computePaths():
|
for path in arrangement.computePaths():
|
||||||
fullPath.addPath(path)
|
fullPath.addPath(path)
|
||||||
|
|
Loading…
Reference in a new issue