feedback
This commit is contained in:
parent
e95846f449
commit
f6dd0e1f77
3 changed files with 20 additions and 6 deletions
|
@ -34,12 +34,26 @@ proc drawImage3*(
|
|||
) {.raises: [PixieError].} =
|
||||
ctx.drawImage(image, sx, sy, sWidth, sHeight, dx, dy, dWidth, dHeight)
|
||||
|
||||
exportEnums [
|
||||
FileFormat, BlendMode, PaintKind, WindingRule, LineCap, LineJoin,
|
||||
HorizontalAlignment, VerticalAlignment, TextCase
|
||||
]
|
||||
exportEnums:
|
||||
export
|
||||
FileFormat,
|
||||
BlendMode,
|
||||
PaintKind,
|
||||
WindingRule,
|
||||
LineCap,
|
||||
LineJoin,
|
||||
HorizontalAlignment,
|
||||
VerticalAlignment,
|
||||
TextCase
|
||||
|
||||
exportObjects [Vector2, Matrix3, Rect, Color, ColorStop, TextMetrics]
|
||||
exportObjects:
|
||||
export
|
||||
Vector2,
|
||||
Matrix3,
|
||||
Rect,
|
||||
Color,
|
||||
ColorStop,
|
||||
TextMetrics
|
||||
|
||||
exportProcs:
|
||||
export
|
||||
|
|
|
@ -16,5 +16,5 @@ requires "bumpy >= 1.0.3"
|
|||
task docs, "Generate API documents":
|
||||
exec "nim doc --index:on --project --out:docs --hints:off src/pixie.nim"
|
||||
|
||||
task dll, "Generate DLL and bindings":
|
||||
task bindings, "Generate bindings":
|
||||
exec "nim c -f -d:release --app:lib --gc:arc --tlsEmulation:off --out:pixie --outdir:bindings/generated bindings/bindings.nim"
|
||||
|
|
Loading…
Reference in a new issue