NAME
image_draw_wrapped_text_top_left - Like image_draw_text_top_left but text is wrapped.
SYNOPSIS
#include "i2/i2_draw_text.h"
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-I/home/kobus/include
-L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
int image_draw_wrapped_text_top_left
(
KJB_image *ip,
const char *text,
int i,
int j,
int width,
const char *font_str
);
DESCRIPTION
This routine draws text at loction (i,j) (top left corner) onto an image.
The size of the text box is specified by the width parameter.
This routine is very simple and uses a very old collection of bitmapped
fonts.
If the "font_str" argument is NULL, it defaults to times14. Other
possibilities in place of "times" are ariel, courier, monaco, and timesb.
Other possibilities in place of "14" are 9,10,12,14,18.
NOTE
The semantics of the wrapping are not currently well specified.
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kobus Barnard
DOCUMENTER
Kobus Barnard
SEE ALSO
image_draw_text_top_left
,
image_draw_text_center