mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-19 09:28:10 +03:00
8 lines
303 B
Plaintext
8 lines
303 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] ()) "thickLineRGBA")
|
|
)
|