Carp/core/SDL_gfx.carp

8 lines
301 B
Plaintext
Raw Normal View History

2019-02-27 16:00:06 +03:00
(system-include "SDL2/SDL2_gfxPrimitives.h")
2019-06-14 11:46:15 +03:00
(add-pkg "SDL2_gfx")
2019-02-27 16:00:06 +03:00
(defmodule GFX
(doc thick-line-rgba "Draw a line from x1, y1 to x2, y2 with the width `width` and color r, g, b, a.")
2019-02-27 16:28:41 +03:00
(register thick-line-rgba (Fn [(Ptr SDL_Renderer) Int Int Int Int Int Int Int Int Int] ()) "thickLineRGBA")
2019-02-27 16:00:06 +03:00
)