mirror of
https://github.com/carp-lang/Carp.git
synced 2024-11-05 04:44:12 +03:00
8 lines
301 B
Plaintext
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")
|
|
)
|