summaryrefslogtreecommitdiff
path: root/sdl2/bindings/ttf.scm
diff options
context:
space:
mode:
Diffstat (limited to 'sdl2/bindings/ttf.scm')
-rw-r--r--sdl2/bindings/ttf.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/sdl2/bindings/ttf.scm b/sdl2/bindings/ttf.scm
index 9808fd4..fb3b717 100644
--- a/sdl2/bindings/ttf.scm
+++ b/sdl2/bindings/ttf.scm
@@ -57,6 +57,9 @@ RETURN-TYPE and accept arguments of ARG-TYPES."
(define-foreign ttf-font-height
int "TTF_FontHeight" '(*))
+(define-foreign ttf-glyph-metrics
+ int "TTF_GlyphMetrics" (list '* uint16 '* '* '* '* '*))
+
(define-foreign ttf-render-text-solid
'* "TTF_RenderText_Solid" (list '* '* sdl-color))