Carp/core/SDL_gfx.carp
2019-06-17 09:02:34 +02:00

8 lines
301 B
Plaintext

(system-include "SDL2/SDL2_gfxPrimitives.h")
(add-pkg "SDL2_gfx")
(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.")
(register thick-line-rgba (Fn [(Ptr SDL_Renderer) Int Int Int Int Int Int Int Int Int] ()) "thickLineRGBA")
)