summaryrefslogtreecommitdiff
path: root/obrender/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'obrender/render.h')
-rw-r--r--obrender/render.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/obrender/render.h b/obrender/render.h
index 64c2f6a1..cf9883a9 100644
--- a/obrender/render.h
+++ b/obrender/render.h
@@ -316,6 +316,8 @@ RrFont *RrFontOpen (const RrInstance *inst, const gchar *name,
gint size, RrFontWeight weight, RrFontSlant slant);
RrFont *RrFontOpenDefault (const RrInstance *inst);
void RrFontClose (RrFont *f);
+/*! Returns an RrSize, that was allocated with g_slice_new(). Use g_slice_free() to
+ free it. */
RrSize *RrFontMeasureString (const RrFont *f, const gchar *str,
gint shadow_offset_x, gint shadow_offset_y,
gboolean flow, gint maxwidth);