Carp/core/SDL_gfx.carp
2019-02-27 14:02:20 +01:00

8 lines
304 B
Plaintext

(system-include "SDL2/SDL2_gfxPrimitives.h")
(add-lib "-lSDL2_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] Int) "thickLineRGBA")
)